libSBML C API
5.18.0
|
The SBMl Render package originally (pre-SBML Level 3) specified default values and inheritance in a similar fashion to the specification used by SVG. However, in order to comply with the SBML development guidelines for Level 3 packages, the Render package specification introduced a new class of objects, DefaultValues_t, to encode these values within a model. The DefaultValues_t class objets can occur as a child of either the ListOfGlobalRenderInformation_t or a ListOfLocalRenderInformation_t.
The values from DefaultValues_t objects are to be taken as default source for the values of any optional attribute that is not explicitly declared. If an attribute has not been declared, either explicitly on an element or using the DefaultValues_t class then software reading the XML may chose how they handle the attribute. Please see the SBML Level 3 Render package specification for more information.
Note that the DefaultValues_t associated with a ListOfLocalRenderInformation_t will override DefaultValues_t declared on the ListOfGlobalRenderInformation_t.
Public Member Functions | |
DefaultValues_t * | DefaultValues_clone (const DefaultValues_t *dv) |
Creates and returns a deep copy of this DefaultValues_t object. More... | |
DefaultValues_t * | DefaultValues_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new DefaultValues_t using the given SBML Level, Version and “render” package version. More... | |
void | DefaultValues_free (DefaultValues_t *dv) |
Frees this DefaultValues_t object. More... | |
char * | DefaultValues_getBackgroundColor (const DefaultValues_t *dv) |
Returns the value of the "backgroundColor" attribute of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getDefault_z (const DefaultValues_t *dv) |
Returns the value of the "default_z" element of this DefaultValues_t. More... | |
int | DefaultValues_getEnableRotationalMapping (const DefaultValues_t *dv) |
Returns the value of the "enableRotationalMapping" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getEndHead (const DefaultValues_t *dv) |
Returns the value of the "endHead" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getFill (const DefaultValues_t *dv) |
Returns the value of the "fill" attribute of this DefaultValues_t. More... | |
FillRule_t | DefaultValues_getFillRule (const DefaultValues_t *dv) |
Returns the value of the "fill-rule" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getFillRuleAsString (const DefaultValues_t *dv) |
Returns the value of the "fill-rule" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getFontFamily (const DefaultValues_t *dv) |
Returns the value of the "font-family" attribute of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getFontSize (const DefaultValues_t *dv) |
Returns the value of the "font-size" element of this DefaultValues_t. More... | |
FontStyle_t | DefaultValues_getFontStyle (const DefaultValues_t *dv) |
Returns the value of the "font-style" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getFontStyleAsString (const DefaultValues_t *dv) |
Returns the value of the "font-style" attribute of this DefaultValues_t. More... | |
FontWeight_t | DefaultValues_getFontWeight (const DefaultValues_t *dv) |
Returns the value of the "font-weight" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getFontWeightAsString (const DefaultValues_t *dv) |
Returns the value of the "font-weight" attribute of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_x1 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_x1" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_x2 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_x2" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_y1 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_y1" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_y2 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_y2" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_z1 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_z1" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getLinearGradient_z2 (const DefaultValues_t *dv) |
Returns the value of the "linearGradient_z2" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_cx (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_cx" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_cy (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_cy" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_cz (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_cz" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_fx (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_fx" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_fy (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_fy" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_fz (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_fz" element of this DefaultValues_t. More... | |
const RelAbsVector_t * | DefaultValues_getRadialGradient_r (const DefaultValues_t *dv) |
Returns the value of the "radialGradient_r" element of this DefaultValues_t. More... | |
GradientSpreadMethod_t | DefaultValues_getSpreadMethod (const DefaultValues_t *dv) |
Returns the value of the "spreadMethod" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getSpreadMethodAsString (const DefaultValues_t *dv) |
Returns the value of the "spreadMethod" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getStartHead (const DefaultValues_t *dv) |
Returns the value of the "startHead" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getStroke (const DefaultValues_t *dv) |
Returns the value of the "stroke" attribute of this DefaultValues_t. More... | |
double | DefaultValues_getStrokeWidth (const DefaultValues_t *dv) |
Returns the value of the "stroke-width" attribute of this DefaultValues_t. More... | |
HTextAnchor_t | DefaultValues_getTextAnchor (const DefaultValues_t *dv) |
Returns the value of the "text-anchor" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getTextAnchorAsString (const DefaultValues_t *dv) |
Returns the value of the "text-anchor" attribute of this DefaultValues_t. More... | |
VTextAnchor_t | DefaultValues_getVtextAnchor (const DefaultValues_t *dv) |
Returns the value of the "vtext-anchor" attribute of this DefaultValues_t. More... | |
char * | DefaultValues_getVtextAnchorAsString (const DefaultValues_t *dv) |
Returns the value of the "vtext-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_hasRequiredAttributes (const DefaultValues_t *dv) |
Predicate returning 1 (true) if all the required attributes for this DefaultValues_t object have been set. More... | |
int | DefaultValues_isSetBackgroundColor (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "backgroundColor" attribute is set. More... | |
int | DefaultValues_isSetDefault_z (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "default_z" element is set. More... | |
int | DefaultValues_isSetEnableRotationalMapping (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "enableRotationalMapping" attribute is set. More... | |
int | DefaultValues_isSetEndHead (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "endHead" attribute is set. More... | |
int | DefaultValues_isSetFill (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "fill" attribute is set. More... | |
int | DefaultValues_isSetFillRule (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "fill-rule" attribute is set. More... | |
int | DefaultValues_isSetFontFamily (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "font-family" attribute is set. More... | |
int | DefaultValues_isSetFontSize (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "font-size" element is set. More... | |
int | DefaultValues_isSetFontStyle (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "font-style" attribute is set. More... | |
int | DefaultValues_isSetFontWeight (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "font-weight" attribute is set. More... | |
int | DefaultValues_isSetLinearGradient_x1 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_x1" element is set. More... | |
int | DefaultValues_isSetLinearGradient_x2 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_x2" element is set. More... | |
int | DefaultValues_isSetLinearGradient_y1 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_y1" element is set. More... | |
int | DefaultValues_isSetLinearGradient_y2 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_y2" element is set. More... | |
int | DefaultValues_isSetLinearGradient_z1 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_z1" element is set. More... | |
int | DefaultValues_isSetLinearGradient_z2 (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "linearGradient_z2" element is set. More... | |
int | DefaultValues_isSetRadialGradient_cx (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_cx" element is set. More... | |
int | DefaultValues_isSetRadialGradient_cy (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_cy" element is set. More... | |
int | DefaultValues_isSetRadialGradient_cz (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_cz" element is set. More... | |
int | DefaultValues_isSetRadialGradient_fx (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_fx" element is set. More... | |
int | DefaultValues_isSetRadialGradient_fy (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_fy" element is set. More... | |
int | DefaultValues_isSetRadialGradient_fz (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_fz" element is set. More... | |
int | DefaultValues_isSetRadialGradient_r (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "radialGradient_r" element is set. More... | |
int | DefaultValues_isSetSpreadMethod (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "spreadMethod" attribute is set. More... | |
int | DefaultValues_isSetStartHead (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "startHead" attribute is set. More... | |
int | DefaultValues_isSetStroke (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "stroke" attribute is set. More... | |
int | DefaultValues_isSetStrokeWidth (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "stroke-width" attribute is set. More... | |
int | DefaultValues_isSetTextAnchor (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "text-anchor" attribute is set. More... | |
int | DefaultValues_isSetVtextAnchor (const DefaultValues_t *dv) |
Predicate returning 1 (true) if this DefaultValues_t's "vtext-anchor" attribute is set. More... | |
int | DefaultValues_setBackgroundColor (DefaultValues_t *dv, const char *backgroundColor) |
Sets the value of the "backgroundColor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setDefault_z (DefaultValues_t *dv, const RelAbsVector_t *default_z) |
Sets the value of the "default_z" element of this DefaultValues_t. More... | |
int | DefaultValues_setEnableRotationalMapping (DefaultValues_t *dv, int enableRotationalMapping) |
Sets the value of the "enableRotationalMapping" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setEndHead (DefaultValues_t *dv, const char *endHead) |
Sets the value of the "endHead" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFill (DefaultValues_t *dv, const char *fill) |
Sets the value of the "fill" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFillRule (DefaultValues_t *dv, FillRule_t fillRule) |
Sets the value of the "fill-rule" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFillRuleAsString (DefaultValues_t *dv, const char *fillRule) |
Sets the value of the "fill-rule" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFontFamily (DefaultValues_t *dv, const char *fontFamily) |
Sets the value of the "font-family" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFontSize (DefaultValues_t *dv, const RelAbsVector_t *fontSize) |
Sets the value of the "font-size" element of this DefaultValues_t. More... | |
int | DefaultValues_setFontStyle (DefaultValues_t *dv, FontStyle_t fontStyle) |
Sets the value of the "font-style" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFontStyleAsString (DefaultValues_t *dv, const char *fontStyle) |
Sets the value of the "font-style" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFontWeight (DefaultValues_t *dv, FontWeight_t fontWeight) |
Sets the value of the "font-weight" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setFontWeightAsString (DefaultValues_t *dv, const char *fontWeight) |
Sets the value of the "font-weight" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_x1 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_x1) |
Sets the value of the "linearGradient_x1" element of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_x2 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_x2) |
Sets the value of the "linearGradient_x2" element of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_y1 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_y1) |
Sets the value of the "linearGradient_y1" element of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_y2 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_y2) |
Sets the value of the "linearGradient_y2" element of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_z1 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_z1) |
Sets the value of the "linearGradient_z1" element of this DefaultValues_t. More... | |
int | DefaultValues_setLinearGradient_z2 (DefaultValues_t *dv, const RelAbsVector_t *linearGradient_z2) |
Sets the value of the "linearGradient_z2" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_cx (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_cx) |
Sets the value of the "radialGradient_cx" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_cy (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_cy) |
Sets the value of the "radialGradient_cy" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_cz (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_cz) |
Sets the value of the "radialGradient_cz" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_fx (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_fx) |
Sets the value of the "radialGradient_fx" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_fy (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_fy) |
Sets the value of the "radialGradient_fy" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_fz (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_fz) |
Sets the value of the "radialGradient_fz" element of this DefaultValues_t. More... | |
int | DefaultValues_setRadialGradient_r (DefaultValues_t *dv, const RelAbsVector_t *radialGradient_r) |
Sets the value of the "radialGradient_r" element of this DefaultValues_t. More... | |
int | DefaultValues_setSpreadMethod (DefaultValues_t *dv, GradientSpreadMethod_t spreadMethod) |
Sets the value of the "spreadMethod" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setSpreadMethodAsString (DefaultValues_t *dv, const char *spreadMethod) |
Sets the value of the "spreadMethod" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setStartHead (DefaultValues_t *dv, const char *startHead) |
Sets the value of the "startHead" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setStroke (DefaultValues_t *dv, const char *stroke) |
Sets the value of the "stroke" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setStrokeWidth (DefaultValues_t *dv, double strokeWidth) |
Sets the value of the "stroke-width" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setTextAnchor (DefaultValues_t *dv, HTextAnchor_t textAnchor) |
Sets the value of the "text-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setTextAnchorAsString (DefaultValues_t *dv, const char *textAnchor) |
Sets the value of the "text-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setVtextAnchor (DefaultValues_t *dv, VTextAnchor_t vtextAnchor) |
Sets the value of the "vtext-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_setVtextAnchorAsString (DefaultValues_t *dv, const char *vtextAnchor) |
Sets the value of the "vtext-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetBackgroundColor (DefaultValues_t *dv) |
Unsets the value of the "backgroundColor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetDefault_z (DefaultValues_t *dv) |
Unsets the value of the "default_z" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetEnableRotationalMapping (DefaultValues_t *dv) |
Unsets the value of the "enableRotationalMapping" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetEndHead (DefaultValues_t *dv) |
Unsets the value of the "endHead" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetFill (DefaultValues_t *dv) |
Unsets the value of the "fill" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetFillRule (DefaultValues_t *dv) |
Unsets the value of the "fill-rule" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetFontFamily (DefaultValues_t *dv) |
Unsets the value of the "font-family" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetFontSize (DefaultValues_t *dv) |
Unsets the value of the "font-size" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetFontStyle (DefaultValues_t *dv) |
Unsets the value of the "font-style" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetFontWeight (DefaultValues_t *dv) |
Unsets the value of the "font-weight" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_x1 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_x1" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_x2 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_x2" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_y1 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_y1" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_y2 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_y2" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_z1 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_z1" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetLinearGradient_z2 (DefaultValues_t *dv) |
Unsets the value of the "linearGradient_z2" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_cx (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_cx" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_cy (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_cy" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_cz (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_cz" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_fx (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_fx" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_fy (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_fy" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_fz (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_fz" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetRadialGradient_r (DefaultValues_t *dv) |
Unsets the value of the "radialGradient_r" element of this DefaultValues_t. More... | |
int | DefaultValues_unsetSpreadMethod (DefaultValues_t *dv) |
Unsets the value of the "spreadMethod" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetStartHead (DefaultValues_t *dv) |
Unsets the value of the "startHead" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetStroke (DefaultValues_t *dv) |
Unsets the value of the "stroke" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetStrokeWidth (DefaultValues_t *dv) |
Unsets the value of the "stroke-width" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetTextAnchor (DefaultValues_t *dv) |
Unsets the value of the "text-anchor" attribute of this DefaultValues_t. More... | |
int | DefaultValues_unsetVtextAnchor (DefaultValues_t *dv) |
Unsets the value of the "vtext-anchor" attribute of this DefaultValues_t. More... | |
FillRule_t | FillRule_fromString (const char *code) |
Returns the FillRule_t enumeration corresponding to the given string or FILL_RULE_INVALID if there is no such match. More... | |
int | FillRule_isValid (FillRule_t fr) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FillRule_t is valid. More... | |
int | FillRule_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FillRule_t. More... | |
const char * | FillRule_toString (FillRule_t fr) |
Returns the string version of the provided FillRule_t enumeration. More... | |
FontFamily_t | FontFamily_fromString (const char *code) |
Returns the FontFamily_t enumeration corresponding to the given string or FONT_FAMILY_INVALID if there is no such match. More... | |
int | FontFamily_isValid (FontFamily_t ff) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FontFamily_t is valid. More... | |
int | FontFamily_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FontFamily_t. More... | |
const char * | FontFamily_toString (FontFamily_t ff) |
Returns the string version of the provided FontFamily_t enumeration. More... | |
FontStyle_t | FontStyle_fromString (const char *code) |
Returns the FontStyle_t enumeration corresponding to the given string or FONT_STYLE_INVALID if there is no such match. More... | |
int | FontStyle_isValid (FontStyle_t fs) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FontStyle_t is valid. More... | |
int | FontStyle_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FontStyle_t. More... | |
const char * | FontStyle_toString (FontStyle_t fs) |
Returns the string version of the provided FontStyle_t enumeration. More... | |
FontWeight_t | FontWeight_fromString (const char *code) |
Returns the FontWeight_t enumeration corresponding to the given string or FONT_WEIGHT_INVALID if there is no such match. More... | |
int | FontWeight_isValid (FontWeight_t fw) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FontWeight_t is valid. More... | |
int | FontWeight_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FontWeight_t. More... | |
const char * | FontWeight_toString (FontWeight_t fw) |
Returns the string version of the provided FontWeight_t enumeration. More... | |
HTextAnchor_t | HTextAnchor_fromString (const char *code) |
Returns the HTextAnchor_t enumeration corresponding to the given string or H_TEXTANCHOR_INVALID if there is no such match. More... | |
int | HTextAnchor_isValid (HTextAnchor_t hta) |
Predicate returning 1 (true) or 0 (false) depending on whether the given HTextAnchor_t is valid. More... | |
int | HTextAnchor_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid HTextAnchor_t. More... | |
const char * | HTextAnchor_toString (HTextAnchor_t hta) |
Returns the string version of the provided HTextAnchor_t enumeration. More... | |
VTextAnchor_t | VTextAnchor_fromString (const char *code) |
Returns the VTextAnchor_t enumeration corresponding to the given string or V_TEXTANCHOR_INVALID if there is no such match. More... | |
int | VTextAnchor_isValid (VTextAnchor_t vta) |
Predicate returning 1 (true) or 0 (false) depending on whether the given VTextAnchor_t is valid. More... | |
int | VTextAnchor_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid VTextAnchor_t. More... | |
const char * | VTextAnchor_toString (VTextAnchor_t vta) |
Returns the string version of the provided VTextAnchor_t enumeration. More... | |
DefaultValues_t * DefaultValues_clone | ( | const DefaultValues_t * | dv | ) |
Creates and returns a deep copy of this DefaultValues_t object.
dv | the DefaultValues_t structure. |
DefaultValues_t * DefaultValues_create | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new DefaultValues_t using the given SBML Level, Version and “render” package version.
level | an unsigned int, the SBML Level to assign to this DefaultValues_t. |
version | an unsigned int, the SBML Version to assign to this DefaultValues_t. |
pkgVersion | an unsigned int, the SBML Render Version to assign to this DefaultValues_t. |
void DefaultValues_free | ( | DefaultValues_t * | dv | ) |
Frees this DefaultValues_t object.
dv | the DefaultValues_t structure. |
char * DefaultValues_getBackgroundColor | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "backgroundColor" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose backgroundColor is sought. |
const RelAbsVector_t * DefaultValues_getDefault_z | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "default_z" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose default_z is sought. |
int DefaultValues_getEnableRotationalMapping | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "enableRotationalMapping" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose enableRotationalMapping is sought. |
char * DefaultValues_getEndHead | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "endHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose endHead is sought. |
char * DefaultValues_getFill | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "fill" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose fill is sought. |
FillRule_t DefaultValues_getFillRule | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "fill-rule" attribute of this DefaultValues_t.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure whose fill-rule is sought. |
char * DefaultValues_getFillRuleAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "fill-rule" attribute of this DefaultValues_t.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure whose fill-rule is sought. |
const char *
. The possible values returned by this method are: "unset"
"nonzero"
"evenodd"
"inherit"
"invalid DefaultValuesFill-rule"
char * DefaultValues_getFontFamily | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-family" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose font-family is sought. |
const RelAbsVector_t * DefaultValues_getFontSize | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-size" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose font-size is sought. |
FontStyle_t DefaultValues_getFontStyle | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-style" attribute of this DefaultValues_t.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure whose font-style is sought. |
char * DefaultValues_getFontStyleAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-style" attribute of this DefaultValues_t.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure whose font-style is sought. |
const char *
. The possible values returned by this method are: "italic"
"normal"
"invalid DefaultValuesFont-style"
FontWeight_t DefaultValues_getFontWeight | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-weight" attribute of this DefaultValues_t.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure whose font-weight is sought. |
char * DefaultValues_getFontWeightAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "font-weight" attribute of this DefaultValues_t.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure whose font-weight is sought. |
const char *
. The possible values returned by this method are: "bold"
"normal"
"invalid DefaultValuesFont-weight"
const RelAbsVector_t * DefaultValues_getLinearGradient_x1 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_x1" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_x1 is sought. |
const RelAbsVector_t * DefaultValues_getLinearGradient_x2 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_x2" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_x2 is sought. |
const RelAbsVector_t * DefaultValues_getLinearGradient_y1 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_y1" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_y1 is sought. |
const RelAbsVector_t * DefaultValues_getLinearGradient_y2 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_y2" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_y2 is sought. |
const RelAbsVector_t * DefaultValues_getLinearGradient_z1 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_z1" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_z1 is sought. |
const RelAbsVector_t * DefaultValues_getLinearGradient_z2 | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "linearGradient_z2" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose linearGradient_z2 is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_cx | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_cx" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_cx is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_cy | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_cy" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_cy is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_cz | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_cz" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_cz is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_fx | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_fx" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_fx is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_fy | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_fy" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_fy is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_fz | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_fz" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_fz is sought. |
const RelAbsVector_t * DefaultValues_getRadialGradient_r | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "radialGradient_r" element of this DefaultValues_t.
dv | the DefaultValues_t structure whose radialGradient_r is sought. |
GradientSpreadMethod_t DefaultValues_getSpreadMethod | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "spreadMethod" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose spreadMethod is sought. |
char * DefaultValues_getSpreadMethodAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "spreadMethod" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose spreadMethod is sought. |
const char *
*. The possible values returned by this method are: "pad"
"reflect"
"repeat"
"invalid DefaultValuesSpreadMethod"
char * DefaultValues_getStartHead | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "startHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose startHead is sought. |
char * DefaultValues_getStroke | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "stroke" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose stroke is sought. |
double DefaultValues_getStrokeWidth | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "stroke-width" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure whose stroke-width is sought. |
HTextAnchor_t DefaultValues_getTextAnchor | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "text-anchor" attribute of this DefaultValues_t.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure whose text-anchor is sought. |
char * DefaultValues_getTextAnchorAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "text-anchor" attribute of this DefaultValues_t.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure whose text-anchor is sought. |
const char *
. The possible values returned by this method are: "start"
"middle"
"end"
"invalid DefaultValuesText-anchor"
VTextAnchor_t DefaultValues_getVtextAnchor | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "vtext-anchor" attribute of this DefaultValues_t.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure whose vtext-anchor is sought. |
char * DefaultValues_getVtextAnchorAsString | ( | const DefaultValues_t * | dv | ) |
Returns the value of the "vtext-anchor" attribute of this DefaultValues_t.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure whose vtext-anchor is sought. |
const char *
. The possible values returned by this method are: "top"
"middle"
"bottom"
"baseline"
"invalid DefaultValuesVtext-anchor"
int DefaultValues_hasRequiredAttributes | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if all the required attributes for this DefaultValues_t object have been set.
dv | the DefaultValues_t structure. |
1
(true) to indicate that all the required attributes of this DefaultValues_t have been set, otherwise 0
(false) is returned. int DefaultValues_isSetBackgroundColor | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "backgroundColor" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "backgroundColor" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetDefault_z | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "default_z" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "default_z" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetEnableRotationalMapping | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "enableRotationalMapping" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "enableRotationalMapping" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetEndHead | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "endHead" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "endHead" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFill | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "fill" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "fill" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFillRule | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "fill-rule" attribute is set.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "fill-rule" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFontFamily | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "font-family" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "font-family" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFontSize | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "font-size" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "font-size" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFontStyle | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "font-style" attribute is set.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "font-style" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetFontWeight | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "font-weight" attribute is set.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "font-weight" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_x1 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_x1" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_x1" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_x2 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_x2" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_x2" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_y1 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_y1" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_y1" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_y2 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_y2" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_y2" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_z1 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_z1" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_z1" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetLinearGradient_z2 | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "linearGradient_z2" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "linearGradient_z2" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_cx | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_cx" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_cx" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_cy | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_cy" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_cy" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_cz | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_cz" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_cz" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_fx | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_fx" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_fx" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_fy | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_fy" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_fy" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_fz | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_fz" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_fz" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetRadialGradient_r | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "radialGradient_r" element is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "radialGradient_r" element has been set, otherwise 0
(false) is returned. int DefaultValues_isSetSpreadMethod | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "spreadMethod" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "spreadMethod" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetStartHead | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "startHead" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "startHead" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetStroke | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "stroke" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "stroke" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetStrokeWidth | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "stroke-width" attribute is set.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "stroke-width" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetTextAnchor | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "text-anchor" attribute is set.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "text-anchor" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_isSetVtextAnchor | ( | const DefaultValues_t * | dv | ) |
Predicate returning 1
(true) if this DefaultValues_t's "vtext-anchor" attribute is set.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure. |
1
(true) if this DefaultValues_t's "vtext-anchor" attribute has been set, otherwise 0
(false) is returned. int DefaultValues_setBackgroundColor | ( | DefaultValues_t * | dv, |
const char * | backgroundColor | ||
) |
Sets the value of the "backgroundColor" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
backgroundColor | const char * * value of the "backgroundColor" attribute to be set. Calling this function with backgroundColor = NULL or an empty string is equivalent to calling DefaultValues_unsetBackgroundColor(). |
int DefaultValues_setDefault_z | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | default_z | ||
) |
Sets the value of the "default_z" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
default_z | RelAbsVector_t value of the "default_z" element to be set. |
int DefaultValues_setEnableRotationalMapping | ( | DefaultValues_t * | dv, |
int | enableRotationalMapping | ||
) |
Sets the value of the "enableRotationalMapping" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
enableRotationalMapping | int value of the "enableRotationalMapping" attribute to be set. |
int DefaultValues_setEndHead | ( | DefaultValues_t * | dv, |
const char * | endHead | ||
) |
Sets the value of the "endHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
endHead | const char * * value of the "endHead" attribute to be set. |
int DefaultValues_setFill | ( | DefaultValues_t * | dv, |
const char * | fill | ||
) |
Sets the value of the "fill" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
fill | const char * * value of the "fill" attribute to be set. Calling this function with fill = NULL or an empty string is equivalent to calling DefaultValues_unsetFill(). |
int DefaultValues_setFillRule | ( | DefaultValues_t * | dv, |
FillRule_t | fillRule | ||
) |
Sets the value of the "fill-rule" attribute of this DefaultValues_t.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure. |
fillRule | FillRule_t value of the "fill-rule" attribute to be set. |
int DefaultValues_setFillRuleAsString | ( | DefaultValues_t * | dv, |
const char * | fillRule | ||
) |
Sets the value of the "fill-rule" attribute of this DefaultValues_t.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure. |
fillRule | const char * * of the "fill-rule" attribute to be set. |
int DefaultValues_setFontFamily | ( | DefaultValues_t * | dv, |
const char * | fontFamily | ||
) |
Sets the value of the "font-family" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
fontFamily | const char * * value of the "font-family" attribute to be set. Calling this function with fontFamily = NULL or an empty string is equivalent to calling DefaultValues_unsetFontFamily(). |
int DefaultValues_setFontSize | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | fontSize | ||
) |
Sets the value of the "font-size" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
fontSize | RelAbsVector_t value of the "font-size" element to be set. |
int DefaultValues_setFontStyle | ( | DefaultValues_t * | dv, |
FontStyle_t | fontStyle | ||
) |
Sets the value of the "font-style" attribute of this DefaultValues_t.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure. |
fontStyle | FontStyle_t value of the "font-style" attribute to be set. |
int DefaultValues_setFontStyleAsString | ( | DefaultValues_t * | dv, |
const char * | fontStyle | ||
) |
Sets the value of the "font-style" attribute of this DefaultValues_t.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure. |
fontStyle | const char * * of the "font-style" attribute to be set. |
int DefaultValues_setFontWeight | ( | DefaultValues_t * | dv, |
FontWeight_t | fontWeight | ||
) |
Sets the value of the "font-weight" attribute of this DefaultValues_t.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure. |
fontWeight | FontWeight_t value of the "font-weight" attribute to be set. |
int DefaultValues_setFontWeightAsString | ( | DefaultValues_t * | dv, |
const char * | fontWeight | ||
) |
Sets the value of the "font-weight" attribute of this DefaultValues_t.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure. |
fontWeight | const char * * of the "font-weight" attribute to be set. |
int DefaultValues_setLinearGradient_x1 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_x1 | ||
) |
Sets the value of the "linearGradient_x1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_x1 | RelAbsVector_t value of the "linearGradient_x1" element to be set. |
int DefaultValues_setLinearGradient_x2 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_x2 | ||
) |
Sets the value of the "linearGradient_x2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_x2 | RelAbsVector_t value of the "linearGradient_x2" element to be set. |
int DefaultValues_setLinearGradient_y1 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_y1 | ||
) |
Sets the value of the "linearGradient_y1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_y1 | RelAbsVector_t value of the "linearGradient_y1" element to be set. |
int DefaultValues_setLinearGradient_y2 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_y2 | ||
) |
Sets the value of the "linearGradient_y2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_y2 | RelAbsVector_t value of the "linearGradient_y2" element to be set. |
int DefaultValues_setLinearGradient_z1 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_z1 | ||
) |
Sets the value of the "linearGradient_z1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_z1 | RelAbsVector_t value of the "linearGradient_z1" element to be set. |
int DefaultValues_setLinearGradient_z2 | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | linearGradient_z2 | ||
) |
Sets the value of the "linearGradient_z2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
linearGradient_z2 | RelAbsVector_t value of the "linearGradient_z2" element to be set. |
int DefaultValues_setRadialGradient_cx | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_cx | ||
) |
Sets the value of the "radialGradient_cx" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_cx | RelAbsVector_t value of the "radialGradient_cx" element to be set. |
int DefaultValues_setRadialGradient_cy | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_cy | ||
) |
Sets the value of the "radialGradient_cy" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_cy | RelAbsVector_t value of the "radialGradient_cy" element to be set. |
int DefaultValues_setRadialGradient_cz | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_cz | ||
) |
Sets the value of the "radialGradient_cz" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_cz | RelAbsVector_t value of the "radialGradient_cz" element to be set. |
int DefaultValues_setRadialGradient_fx | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_fx | ||
) |
Sets the value of the "radialGradient_fx" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_fx | RelAbsVector_t value of the "radialGradient_fx" element to be set. |
int DefaultValues_setRadialGradient_fy | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_fy | ||
) |
Sets the value of the "radialGradient_fy" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_fy | RelAbsVector_t value of the "radialGradient_fy" element to be set. |
int DefaultValues_setRadialGradient_fz | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_fz | ||
) |
Sets the value of the "radialGradient_fz" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_fz | RelAbsVector_t value of the "radialGradient_fz" element to be set. |
int DefaultValues_setRadialGradient_r | ( | DefaultValues_t * | dv, |
const RelAbsVector_t * | radialGradient_r | ||
) |
Sets the value of the "radialGradient_r" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
radialGradient_r | RelAbsVector_t value of the "radialGradient_r" element to be set. |
int DefaultValues_setSpreadMethod | ( | DefaultValues_t * | dv, |
GradientSpreadMethod_t | spreadMethod | ||
) |
Sets the value of the "spreadMethod" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
spreadMethod | GradientSpreadMethod_t value of the "spreadMethod" attribute to be set. |
int DefaultValues_setSpreadMethodAsString | ( | DefaultValues_t * | dv, |
const char * | spreadMethod | ||
) |
Sets the value of the "spreadMethod" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
spreadMethod | const char * * of the "spreadMethod" attribute to be set. |
int DefaultValues_setStartHead | ( | DefaultValues_t * | dv, |
const char * | startHead | ||
) |
Sets the value of the "startHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
startHead | const char * * value of the "startHead" attribute to be set. |
int DefaultValues_setStroke | ( | DefaultValues_t * | dv, |
const char * | stroke | ||
) |
Sets the value of the "stroke" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
stroke | const char * * value of the "stroke" attribute to be set. Calling this function with stroke = NULL or an empty string is equivalent to calling DefaultValues_unsetStroke(). |
int DefaultValues_setStrokeWidth | ( | DefaultValues_t * | dv, |
double | strokeWidth | ||
) |
Sets the value of the "stroke-width" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
strokeWidth | double value of the "stroke-width" attribute to be set. |
int DefaultValues_setTextAnchor | ( | DefaultValues_t * | dv, |
HTextAnchor_t | textAnchor | ||
) |
Sets the value of the "text-anchor" attribute of this DefaultValues_t.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure. |
textAnchor | HTextAnchor_t value of the "text-anchor" attribute to be set. |
int DefaultValues_setTextAnchorAsString | ( | DefaultValues_t * | dv, |
const char * | textAnchor | ||
) |
Sets the value of the "text-anchor" attribute of this DefaultValues_t.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure. |
textAnchor | const char * * of the "text-anchor" attribute to be set. |
int DefaultValues_setVtextAnchor | ( | DefaultValues_t * | dv, |
VTextAnchor_t | vtextAnchor | ||
) |
Sets the value of the "vtext-anchor" attribute of this DefaultValues_t.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure. |
vtextAnchor | VTextAnchor_t value of the "vtext-anchor" attribute to be set. |
int DefaultValues_setVtextAnchorAsString | ( | DefaultValues_t * | dv, |
const char * | vtextAnchor | ||
) |
Sets the value of the "vtext-anchor" attribute of this DefaultValues_t.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure. |
vtextAnchor | const char * * of the "vtext-anchor" attribute to be set. |
int DefaultValues_unsetBackgroundColor | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "backgroundColor" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetDefault_z | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "default_z" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetEnableRotationalMapping | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "enableRotationalMapping" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetEndHead | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "endHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFill | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "fill" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFillRule | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "fill-rule" attribute of this DefaultValues_t.
"nonzero"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
"evenodd"
: This value determines the "insideness" of a point in the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
"inherit"
: This value declares the "insideness" of a point in the shape by declaring that the property takes the same computed value as the property for the element's parent. The inherited value, which is normally only used as a fallback value, can be clarified by setting 'inherit' explicitly. NOTE: This value is NOT in the Level 3 Version 1 Render specification, but was left out due to an oversight: the value has long been part of the codebase. It is provided here as a convenience. Elements with a fill-rule set to "inherit" actually behave identicaly to elements without a fill-rule attribute at all, since this attribute always takes the value of a parent element if not defined explicitly.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFontFamily | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "font-family" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFontSize | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "font-size" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFontStyle | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "font-style" attribute of this DefaultValues_t.
"italic"
, slanted print
"normal"
, upright print
dv | the DefaultValues_t structure. |
int DefaultValues_unsetFontWeight | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "font-weight" attribute of this DefaultValues_t.
"bold"
, darker and/or thicker than normal print.
"normal"
, the typical print weight; lighter and/or thinner than "bold".
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_x1 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_x1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_x2 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_x2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_y1 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_y1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_y2 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_y2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_z1 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_z1" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetLinearGradient_z2 | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "linearGradient_z2" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_cx | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_cx" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_cy | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_cy" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_cz | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_cz" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_fx | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_fx" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_fy | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_fy" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_fz | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_fz" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetRadialGradient_r | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "radialGradient_r" element of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetSpreadMethod | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "spreadMethod" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetStartHead | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "startHead" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetStroke | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "stroke" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetStrokeWidth | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "stroke-width" attribute of this DefaultValues_t.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetTextAnchor | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "text-anchor" attribute of this DefaultValues_t.
"start"
, the start of the text is aligned to the horizontal center of the box.
"middle"
, the horizontal center of the text is aligned to the horizontal center of the box.
"end"
, the end of the text is aligned to the horizontal center of the box.
dv | the DefaultValues_t structure. |
int DefaultValues_unsetVtextAnchor | ( | DefaultValues_t * | dv | ) |
Unsets the value of the "vtext-anchor" attribute of this DefaultValues_t.
"top"
, the top of the text is aligned to the vertical center of the box.
"middle"
, the vertical center of the text is aligned with the vertical center of the box.
"bottom"
, the bottom of the text (i.e. the very bottom of any descending letter like 'y' or 'p') is aligned with the vertical center of the box.
"baseline"
, the baseline of the text (i.e. the bottom of any non-descending letter like 'a' or e') is aligned with the vertical center of the box.
dv | the DefaultValues_t structure. |
FillRule_t FillRule_fromString | ( | const char * | code | ) |
Returns the FillRule_t enumeration corresponding to the given string or FILL_RULE_INVALID if there is no such match.
code | the string to convert to a FillRule_t. |
int FillRule_isValid | ( | FillRule_t | fr | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FillRule_t is valid.
fr | the FillRule_t enumeration to query. |
1
(true) if the FillRule_t is FILL_RULE_NONZERO, FILL_RULE_EVENODD, or FILL_RULE_INHERIT; 0
(false) otherwise (including FILL_RULE_INVALID or FILL_RULE_UNSET). int FillRule_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FillRule_t.
code | the string to query. |
1
(true) if the string is "nonzero", "evenodd", or "inherit"; 0
(false) otherwise.1
(true), but "NonZero" will return 0
(false). const char * FillRule_toString | ( | FillRule_t | fr | ) |
Returns the string version of the provided FillRule_t enumeration.
fr | the FillRule_t enumeration value to convert. |
FontFamily_t FontFamily_fromString | ( | const char * | code | ) |
Returns the FontFamily_t enumeration corresponding to the given string or FONT_FAMILY_INVALID if there is no such match.
code | the string to convert to a FontFamily_t. |
int FontFamily_isValid | ( | FontFamily_t | ff | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FontFamily_t is valid.
ff | the FontFamily_t enumeration to query. |
1
(true) if the FontFamily_t is FONT_FAMILY_SERIF, FONT_FAMILY_SANS_SERIF, or FONT_FAMILY_MONOSPACE; 0
(false) otherwise (including FONT_FAMILY_INVALID). int FontFamily_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FontFamily_t.
code | the string to query. |
1
(true) if the string is "serif", "sans-serif", or "monospace"; 0
(false) otherwise.1
(true), but "Serif" will return 0
(false). const char * FontFamily_toString | ( | FontFamily_t | ff | ) |
Returns the string version of the provided FontFamily_t enumeration.
ff | the FontFamily_t enumeration value to convert. |
FontStyle_t FontStyle_fromString | ( | const char * | code | ) |
Returns the FontStyle_t enumeration corresponding to the given string or FONT_STYLE_INVALID if there is no such match.
code | the string to convert to a FontStyle_t. |
int FontStyle_isValid | ( | FontStyle_t | fs | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FontStyle_t is valid.
fs | the FontStyle_t enumeration to query. |
1
(true) if the FontStyle_t is FONT_STYLE_ITALIC, or FONT_STYLE_NORMAL; 0
(false) otherwise (including FONT_STYLE_INVALID). int FontStyle_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FontStyle_t.
code | the string to query. |
1
(true) if the string is "italic", or "normal"; 0
(false) otherwise.1
(true), but "Italic" will return 0
(false). const char * FontStyle_toString | ( | FontStyle_t | fs | ) |
Returns the string version of the provided FontStyle_t enumeration.
fs | the FontStyle_t enumeration value to convert. |
FontWeight_t FontWeight_fromString | ( | const char * | code | ) |
Returns the FontWeight_t enumeration corresponding to the given string or FONT_WEIGHT_INVALID if there is no such match.
code | the string to convert to a FontWeight_t. |
int FontWeight_isValid | ( | FontWeight_t | fw | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FontWeight_t is valid.
fw | the FontWeight_t enumeration to query. |
1
(true) if the FontWeight_t is FONT_WEIGHT_BOLD, or FONT_WEIGHT_NORMAL; 0
(false) otherwise (including FONT_WEIGHT_INVALID). int FontWeight_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FontWeight_t.
code | the string to query. |
1
(true) if the string is "bold", or "normal"; 0
(false) otherwise.1
(true), but "Bold" will return 0
(false). const char * FontWeight_toString | ( | FontWeight_t | fw | ) |
Returns the string version of the provided FontWeight_t enumeration.
fw | the FontWeight_t enumeration value to convert. |
HTextAnchor_t HTextAnchor_fromString | ( | const char * | code | ) |
Returns the HTextAnchor_t enumeration corresponding to the given string or H_TEXTANCHOR_INVALID if there is no such match.
code | the string to convert to a HTextAnchor_t. |
int HTextAnchor_isValid | ( | HTextAnchor_t | hta | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given HTextAnchor_t is valid.
hta | the HTextAnchor_t enumeration to query. |
1
(true) if the HTextAnchor_t is H_TEXTANCHOR_START, H_TEXTANCHOR_MIDDLE, or H_TEXTANCHOR_END; 0
(false) otherwise (including H_TEXTANCHOR_INVALID). int HTextAnchor_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid HTextAnchor_t.
code | the string to query. |
1
(true) if the string is "start", "middle", or "end"; 0
(false) otherwise.1
(true), but "Start" will return 0
(false). const char * HTextAnchor_toString | ( | HTextAnchor_t | hta | ) |
Returns the string version of the provided HTextAnchor_t enumeration.
hta | the HTextAnchor_t enumeration value to convert. |
VTextAnchor_t VTextAnchor_fromString | ( | const char * | code | ) |
Returns the VTextAnchor_t enumeration corresponding to the given string or V_TEXTANCHOR_INVALID if there is no such match.
code | the string to convert to a VTextAnchor_t. |
int VTextAnchor_isValid | ( | VTextAnchor_t | vta | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given VTextAnchor_t is valid.
vta | the VTextAnchor_t enumeration to query. |
1
(true) if the VTextAnchor_t is V_TEXTANCHOR_TOP, V_TEXTANCHOR_MIDDLE, V_TEXTANCHOR_BOTTOM, or V_TEXTANCHOR_BASELINE; 0
(false) otherwise (including V_TEXTANCHOR_INVALID). int VTextAnchor_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid VTextAnchor_t.
code | the string to query. |
1
(true) if the string is "top", "middle", "bottom", or "baseline"; 0
(false) otherwise.1
(true), but "Top" will return 0
(false). const char * VTextAnchor_toString | ( | VTextAnchor_t | vta | ) |
Returns the string version of the provided VTextAnchor_t enumeration.
vta | the VTextAnchor_t enumeration value to convert. |