Jump to content

File:Regular polygon 7 annotated.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 503 × 509 pixels, file size: 15 KB)

Summary

Description
English:Regular heptagon with annotation.
Date
Source Own work
Author László Németh
Other versions
SVG development
InfoField
TheSVGcode isvalid.
Thisvector imagewas created withOpenOffice.org.
Source code
InfoField

LibreOffice code

;CreatedinLibreOffice4withthisLibreLogoprogram.
;Usage:CopyitinanEnglishlanguagedocumentinLibOWriter,
;andclickontheStarticonoftheView»Toolbar»Logotoolbar.

TOsuperiornumprevnum
s=“”
FORiINSTRnum[
s=s+“⁰¹²³⁴⁵⁶⁷⁸⁹”[INTi]
]
IFNOTprevnum%10=1[s=+s];narrowspace
OUTPUTs
END

TOinferiornum
s=“”
FORiINSTRnum[
s=s+“₀₁₂₃₄₅₆₇₈₉”[INTi]
]
OUTPUTs
END

CLEARSCREENHIDETURTLEFONTSIZE18FONTFAMILYDejaVuSans
FORverticesIN[7,11,13,14,16,17,19][
;PICTUREpoly/regular_polygon_%d_annotated.svg%vertices[;fromLibO4.1.1
PICTURE[
HOMEFILLCOLORWHITEPENCOLORSILVER
PENDOWNPENSIZE2CIRCLE400
β=360/vertices
q=vertices//4
CIRCLE[80+vertices*14,80+vertices*14,β*q,β*(q+1)]
FONTCOLORSILVER
IFvertices>18[f=0.004][f=0.005]
HEADINGβ*q+β*0.5PENUP
FORWARD(80+vertices*14)*(0.3+(f*vertices))
HEADING0
s1=superior(360%vertices,360//vertices)
s2=inferiorvertices
LABEL%d%s%s°”%(β,s1,s2)
HOMEHEADING0PENDOWN
dots=[]
REPEATvertices[
FORWARD200
where=POSITION
dots=dots+[where]
BACK200RIGHTβ
]
HOMEPENSIZE2CIRCLE10
PENCOLORBLACKFONTCOLORBLACK
α=((vertices-2)/vertices)*180
PENUPFORWARD200PENDOWN
CIRCLE[100+105/vertices,100+105/vertices,180α/2,180+α/2]
s1=superior((vertices-2)*180%vertices,INTα)
PENUPBACK20+70/verticesLABEL%d%s%s°”%(α,s1,s2)
HOMEPENUPPENSIZE4PENUP
FORiINdots+dots[0:1][POSITIONiPENDOWN]PENSIZE2
FORiINdots[PENUPPOSITIONiPENDOWNCIRCLE10]
]
]

Licensing

László Németh,the copyright holder of this work, hereby publishes it under the following license:
Creative CommonsCC-Zero This file is made available under theCreative CommonsCC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to thepublic domainby waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 July 2013

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:37, 19 July 2013Thumbnail for version as of 10:37, 19 July 2013503 × 509(15 KB)Nl74User created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Viewmore global usageof this file.

Metadata