cinder::svg::Paint Class Reference
SVG Paint specification for fill or stroke, including solids and gradients.
More...
#include <Svg.h>
List of all members.
Detailed Description
SVG Paint specification for fill or stroke, including solids and gradients.
Member Enumeration Documentation
- Enumerator:
NONE |
|
COLOR |
|
LINEAR_GRADIENT |
|
RADIAL_GRADIENT |
|
Constructor & Destructor Documentation
cinder::svg::Paint::Paint |
( |
|
) |
|
cinder::svg::Paint::Paint |
( |
uint8_t |
type |
) |
|
cinder::svg::Paint::Paint |
( |
const ColorA8u & |
color |
) |
|
Member Function Documentation
Paint cinder::svg::Paint::parse |
( |
const char * |
value, |
|
|
bool * |
specified, |
|
|
const Node * |
parentNode | |
|
) |
| | [static] |
bool cinder::svg::Paint::isNone |
( |
|
) |
const |
bool cinder::svg::Paint::isLinearGradient |
( |
|
) |
const |
bool cinder::svg::Paint::isRadialGradient |
( |
|
) |
const |
const ColorA8u& cinder::svg::Paint::getColor |
( |
size_t |
idx = 0 |
) |
const |
float cinder::svg::Paint::getOffset |
( |
size_t |
idx |
) |
const |
size_t cinder::svg::Paint::getNumColors |
( |
|
) |
const |
Vec2f cinder::svg::Paint::getCoords0 |
( |
|
) |
const |
Vec2f cinder::svg::Paint::getCoords1 |
( |
|
) |
const |
float cinder::svg::Paint::getRadius |
( |
|
) |
const |
bool cinder::svg::Paint::useObjectBoundingBox |
( |
|
) |
const |
bool cinder::svg::Paint::specifiesTransform |
( |
|
) |
const |
Member Data Documentation
The documentation for this class was generated from the following files: