Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderMultiple ¶
func RenderMultiple(shapes []Shape)
Render the shapes from the list in a way depending on commandline parameters
func RenderOne ¶
func RenderOne(shape Primitive)
Render a single shape in a way depending on commandline parameters
func SetFa ¶
func SetFa(val float64)
Minimum angle for a fragment. Ignored if number of fragments setting is non-zero.
func SetFn ¶
func SetFn(val uint16)
Number of fragments for the full circle. If zero other fragment settings apply.
Types ¶
type Shape ¶
type Shape struct { Name string Primitive Primitive Flags ShapeFlags }
type ShapeFlags ¶
type ShapeFlags uint32
const ( // No special treatment None ShapeFlags = 0 // This is the default shape. The first encountered default shape will be // treated as such Default ShapeFlags = 1 << iota // Skip this shape when processing the shapes in bulk (the -all option) SkipInBulk )
func (ShapeFlags) String ¶
func (i ShapeFlags) String() string
Click to show internal directories.
Click to hide internal directories.