
Here's the xml, extracted from content.xml, for a regular hexagon that I created manually:ģ.971cm x 3.435cm is within about 0.1% of the expected 2:1.732 ratio for a perfect hexagon. The document content is always in the archive component named "content.xml". Class that draws a polygon, using Windows API GDI calls in VB6. You can open them with any unzip utility or file archive tool, and edit the xml components of the document stored as "files" in the archive. Create a VB form with one command button in Word and add the following code: Private Sub. The description there includes one workaround that I had not thought of: you can edit the exact position of a snap point, then drag the object point to the snap point, giving the point an exact position-well, as exact as allowed by the clumsy OOo coordinate handling, anyway.Īs for editing the xml, all ODF files are actually standard zip archives. parallel and equal in length) and a regular polygon (all Build Your Dream Home. now i want to draw a six vertice POLYGON any help please glTranslatef(3.0f,0.0f,0. Map sales ratios with quartiles, create a histogram, and create summary. You can register there and add your vote (up to two) or comment to that issue. i used the code below to draw a rectangle. Draw gives you four options for Polygon tool options: regular, 45-degree, filled. There's at least one request for it: Issue 19867: allow exact positioning of Béziercurves, rotation point, mirror line, snap point and when editing points, although it doesn't seem to have a lot of support so far: no votes, no comments, no response to the feedback request. Draw also offers a circle pie, ellipse pie, circle segment. I would hardly call it a "basic feature", but it definitely would be handy in some cases.
