KiCad PCB EDA Suite
NSVGshape Struct Reference

#include <nanosvg.h>

Public Attributes

char id [64]
 
NSVGpaint fill
 
NSVGpaint stroke
 
float opacity
 
float strokeWidth
 
float strokeDashOffset
 
float strokeDashArray [8]
 
char strokeDashCount
 
char strokeLineJoin
 
char strokeLineCap
 
float miterLimit
 
char fillRule
 
unsigned char flags
 
float bounds [4]
 
NSVGpathpaths
 
struct NSVGshapenext
 

Detailed Description

Definition at line 135 of file nanosvg.h.

Member Data Documentation

◆ bounds

float NSVGshape::bounds[4]

Definition at line 150 of file nanosvg.h.

Referenced by nsvg__addShape(), nsvg__imageBounds(), and nsvg__scaleToViewbox().

◆ fill

NSVGpaint NSVGshape::fill

Definition at line 138 of file nanosvg.h.

Referenced by nsvg__addShape(), nsvg__scaleToViewbox(), and nsvgDelete().

◆ fillRule

char NSVGshape::fillRule

Definition at line 148 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ flags

unsigned char NSVGshape::flags

Definition at line 149 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ id

char NSVGshape::id[64]

Definition at line 137 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ miterLimit

float NSVGshape::miterLimit

Definition at line 147 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ next

struct NSVGshape* NSVGshape::next

◆ opacity

float NSVGshape::opacity

Definition at line 140 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ paths

NSVGpath* NSVGshape::paths

Definition at line 151 of file nanosvg.h.

Referenced by nsvg__addShape(), nsvg__getLocalBounds(), nsvg__scaleToViewbox(), and nsvgDelete().

◆ stroke

NSVGpaint NSVGshape::stroke

Definition at line 139 of file nanosvg.h.

Referenced by nsvg__addShape(), nsvg__scaleToViewbox(), and nsvgDelete().

◆ strokeDashArray

float NSVGshape::strokeDashArray[8]

Definition at line 143 of file nanosvg.h.

Referenced by nsvg__addShape(), and nsvg__scaleToViewbox().

◆ strokeDashCount

char NSVGshape::strokeDashCount

Definition at line 144 of file nanosvg.h.

Referenced by nsvg__addShape(), and nsvg__scaleToViewbox().

◆ strokeDashOffset

float NSVGshape::strokeDashOffset

Definition at line 142 of file nanosvg.h.

Referenced by nsvg__addShape(), and nsvg__scaleToViewbox().

◆ strokeLineCap

char NSVGshape::strokeLineCap

Definition at line 146 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ strokeLineJoin

char NSVGshape::strokeLineJoin

Definition at line 145 of file nanosvg.h.

Referenced by nsvg__addShape().

◆ strokeWidth

float NSVGshape::strokeWidth

Definition at line 141 of file nanosvg.h.

Referenced by nsvg__addShape(), and nsvg__scaleToViewbox().


The documentation for this struct was generated from the following file: