#include <Svg.h>
SVG Style for a node. Corresponds to SVG Styling: http://www.w3.org/TR/SVG/styling.html.
cinder::svg::Style::Style |
( |
| ) |
|
cinder::svg::Style::Style |
( |
const XmlTree & |
xml, |
|
|
const Node * |
parent |
|
) |
| |
Style cinder::svg::Style::makeGlobalDefaults |
( |
| ) |
|
|
static |
Returns a Style set appropriately for global defaults.
void cinder::svg::Style::clear |
( |
| ) |
|
Marks all styles as unspecified.
bool cinder::svg::Style::specifiesFill |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFill |
( |
| ) |
|
const Paint& cinder::svg::Style::getFill |
( |
| ) |
const |
void cinder::svg::Style::setFill |
( |
const Paint & |
fill | ) |
|
static const Paint& cinder::svg::Style::getFillDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesStroke |
( |
| ) |
const |
void cinder::svg::Style::unspecifyStroke |
( |
| ) |
|
const Paint& cinder::svg::Style::getStroke |
( |
| ) |
const |
void cinder::svg::Style::setStroke |
( |
const Paint & |
stroke | ) |
|
static const Paint& cinder::svg::Style::getStrokeDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesOpacity |
( |
| ) |
const |
void cinder::svg::Style::unspecifyOpacity |
( |
| ) |
|
float cinder::svg::Style::getOpacity |
( |
| ) |
const |
void cinder::svg::Style::setOpacity |
( |
float |
opacity | ) |
|
static float cinder::svg::Style::getOpacityDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesStrokeOpacity |
( |
| ) |
const |
void cinder::svg::Style::unspecifyStrokeOpacity |
( |
| ) |
|
float cinder::svg::Style::getStrokeOpacity |
( |
| ) |
const |
void cinder::svg::Style::setStrokeOpacity |
( |
float |
strokeOpacity | ) |
|
static float cinder::svg::Style::getStrokeOpacityDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesFillOpacity |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFillOpacity |
( |
| ) |
|
float cinder::svg::Style::getFillOpacity |
( |
| ) |
const |
void cinder::svg::Style::setFillOpacity |
( |
float |
fillOpacity | ) |
|
static float cinder::svg::Style::getFillOpacityDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesStrokeWidth |
( |
| ) |
const |
void cinder::svg::Style::unspecifyStrokeWidth |
( |
| ) |
|
float cinder::svg::Style::getStrokeWidth |
( |
| ) |
const |
void cinder::svg::Style::setStrokeWidth |
( |
float |
strokeWidth | ) |
|
static float cinder::svg::Style::getStrokeWidthDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesFillRule |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFillRule |
( |
| ) |
|
FillRule cinder::svg::Style::getFillRule |
( |
| ) |
const |
void cinder::svg::Style::setFillRule |
( |
FillRule |
fillRule | ) |
|
static FillRule cinder::svg::Style::getFillRuleDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesLineCap |
( |
| ) |
const |
void cinder::svg::Style::unspecifyLineCap |
( |
| ) |
|
LineCap cinder::svg::Style::getLineCap |
( |
| ) |
const |
void cinder::svg::Style::setLineCap |
( |
LineCap |
lineCap | ) |
|
static LineCap cinder::svg::Style::getLineCapDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesLineJoin |
( |
| ) |
const |
void cinder::svg::Style::unspecifyLineJoin |
( |
| ) |
|
LineJoin cinder::svg::Style::getLineJoin |
( |
| ) |
const |
void cinder::svg::Style::setLineJoin |
( |
LineJoin |
lineJoin | ) |
|
static LineJoin cinder::svg::Style::getLineJoinDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesFontFamilies |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFontFamilies |
( |
| ) |
|
const std::vector<std::string>& cinder::svg::Style::getFontFamilies |
( |
| ) |
const |
std::vector<std::string>& cinder::svg::Style::getFontFamilies |
( |
| ) |
|
void cinder::svg::Style::setFontFamily |
( |
const std::string & |
family | ) |
|
void cinder::svg::Style::setFontFamilies |
( |
const std::vector< std::string > & |
families | ) |
|
const std::vector< std::string > & cinder::svg::Style::getFontFamiliesDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesFontSize |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFontSize |
( |
| ) |
|
Value cinder::svg::Style::getFontSize |
( |
| ) |
const |
void cinder::svg::Style::setFontSize |
( |
const Value & |
fontSize | ) |
|
static Value cinder::svg::Style::getFontSizeDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesFontWeight |
( |
| ) |
const |
void cinder::svg::Style::unspecifyFontWeight |
( |
| ) |
|
FontWeight cinder::svg::Style::getFontWeight |
( |
| ) |
const |
void cinder::svg::Style::setFontWeight |
( |
FontWeight |
weight | ) |
|
static FontWeight cinder::svg::Style::getFontWeightDefault |
( |
| ) |
|
|
static |
bool cinder::svg::Style::specifiesVisible |
( |
| ) |
const |
bool cinder::svg::Style::isVisible |
( |
| ) |
const |
void cinder::svg::Style::setVisible |
( |
bool |
visible | ) |
|
void cinder::svg::Style::unspecifyVisible |
( |
| ) |
|
bool cinder::svg::Style::isDisplayNone |
( |
| ) |
const |
void cinder::svg::Style::setDisplayNone |
( |
bool |
displayNone | ) |
|
void cinder::svg::Style::startRender |
( |
Renderer & |
renderer, |
|
|
bool |
isNodeDrawable |
|
) |
| const |
void cinder::svg::Style::finishRender |
( |
Renderer & |
renderer, |
|
|
bool |
isNodeDrawable |
|
) |
| const |
void cinder::svg::Style::parseStyleAttribute |
( |
const std::string & |
stylePropertyString, |
|
|
const Node * |
parent |
|
) |
| |
bool cinder::svg::Style::parseProperty |
( |
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
const Node * |
parent |
|
) |
| |
bool cinder::svg::Style::mSpecifiesOpacity |
|
protected |
float cinder::svg::Style::mOpacity |
|
protected |
bool cinder::svg::Style::mSpecifiesFillOpacity |
|
protected |
bool cinder::svg::Style::mSpecifiesStrokeOpacity |
|
protected |
float cinder::svg::Style::mFillOpacity |
|
protected |
float cinder::svg::Style::mStrokeOpacity |
|
protected |
bool cinder::svg::Style::mSpecifiesFill |
|
protected |
bool cinder::svg::Style::mSpecifiesStroke |
|
protected |
Paint cinder::svg::Style::mFill |
|
protected |
Paint cinder::svg::Style::mStroke |
|
protected |
bool cinder::svg::Style::mSpecifiesStrokeWidth |
|
protected |
float cinder::svg::Style::mStrokeWidth |
|
protected |
bool cinder::svg::Style::mSpecifiesFillRule |
|
protected |
bool cinder::svg::Style::mSpecifiesLineCap |
|
protected |
LineCap cinder::svg::Style::mLineCap |
|
protected |
bool cinder::svg::Style::mSpecifiesLineJoin |
|
protected |
bool cinder::svg::Style::mSpecifiesFontFamilies |
|
protected |
bool cinder::svg::Style::mSpecifiesFontSize |
|
protected |
bool cinder::svg::Style::mSpecifiesFontWeight |
|
protected |
std::vector<std::string> cinder::svg::Style::mFontFamilies |
|
protected |
Value cinder::svg::Style::mFontSize |
|
protected |
bool cinder::svg::Style::mSpecifiesVisible |
|
protected |
bool cinder::svg::Style::mVisible |
|
protected |
bool cinder::svg::Style::mDisplayNone |
|
protected |
The documentation for this class was generated from the following files: