The OpenD Programming Language

NVGPaint

Paint parameters for various fills. Don't change anything here!

struct NVGPaint {
enum isOpaqueStruct;
NVGMatrix xform;
float[2] extent;
float radius;
float feather;
NVGColor middleColor;
NVGColor outerColor;
float midp;
NVGImage image;
}

Members

Variables

innerColor
NVGColor innerColor;

this can be used to modulate images (fill/font)

simpleColor
bool simpleColor;

if true, only innerColor is used, and this is solid-color paint

See Also

Meta