libSBML C++ API  5.18.0
Text.cpp File Reference

Implementation of the Text class. More...

Include dependency graph for Text.cpp:

Functions

Text_tText_clone (const Text_t *t)
 
Text_tText_create (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
void Text_free (Text_t *t)
 
char * Text_getFontFamily (const Text_t *t)
 
RelAbsVector_tText_getFontSize (const Text_t *t)
 
FontStyle_t Text_getFontStyle (const Text_t *t)
 
char * Text_getFontStyleAsString (const Text_t *t)
 
FontWeight_t Text_getFontWeight (const Text_t *t)
 
char * Text_getFontWeightAsString (const Text_t *t)
 
HTextAnchor_t Text_getTextAnchor (const Text_t *t)
 
char * Text_getTextAnchorAsString (const Text_t *t)
 
VTextAnchor_t Text_getVTextAnchor (const Text_t *t)
 
char * Text_getVTextAnchorAsString (const Text_t *t)
 
RelAbsVector_tText_getX (const Text_t *t)
 
RelAbsVector_tText_getY (const Text_t *t)
 
RelAbsVector_tText_getZ (const Text_t *t)
 
int Text_hasRequiredAttributes (const Text_t *t)
 
int Text_isSetFontFamily (const Text_t *t)
 
int Text_isSetFontSize (const Text_t *t)
 
int Text_isSetFontStyle (const Text_t *t)
 
int Text_isSetFontWeight (const Text_t *t)
 
int Text_isSetTextAnchor (const Text_t *t)
 
int Text_isSetVTextAnchor (const Text_t *t)
 
int Text_isSetX (const Text_t *t)
 
int Text_isSetY (const Text_t *t)
 
int Text_isSetZ (const Text_t *t)
 
int Text_setFontFamily (Text_t *t, const char *fontFamily)
 
int Text_setFontSize (Text_t *t, const RelAbsVector_t *fontSize)
 
int Text_setFontStyle (Text_t *t, FontStyle_t fontStyle)
 
int Text_setFontStyleAsString (Text_t *t, const char *fontStyle)
 
int Text_setFontWeight (Text_t *t, FontWeight_t fontWeight)
 
int Text_setFontWeightAsString (Text_t *t, const char *fontWeight)
 
int Text_setTextAnchor (Text_t *t, HTextAnchor_t textAnchor)
 
int Text_setTextAnchorAsString (Text_t *t, const char *textAnchor)
 
int Text_setVTextAnchor (Text_t *t, VTextAnchor_t vtextAnchor)
 
int Text_setVTextAnchorAsString (Text_t *t, const char *vtextAnchor)
 
int Text_setX (Text_t *t, const RelAbsVector_t *x)
 
int Text_setY (Text_t *t, const RelAbsVector_t *y)
 
int Text_setZ (Text_t *t, const RelAbsVector_t *z)
 
int Text_unsetFontFamily (Text_t *t)
 
int Text_unsetFontSize (Text_t *t)
 
int Text_unsetFontStyle (Text_t *t)
 
int Text_unsetFontWeight (Text_t *t)
 
int Text_unsetTextAnchor (Text_t *t)
 
int Text_unsetVTextAnchor (Text_t *t)
 
int Text_unsetX (Text_t *t)
 
int Text_unsetY (Text_t *t)
 
int Text_unsetZ (Text_t *t)
 
Text::TEXT_ANCHOR TextAnchor_fromString (const char *name)
 
const char * TextAnchor_toString (Text::TEXT_ANCHOR anchor)
 

Variables

const char * TEXT_ANCHOR_STRINGS []
 

Detailed Description

Implementation of the Text class.

Author
Ralph Gauges
Frank T. Bergmann

Function Documentation

Text_t* Text_clone ( const Text_t t)
Text_t* Text_create ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)
void Text_free ( Text_t t)
char* Text_getFontFamily ( const Text_t t)
RelAbsVector_t* Text_getFontSize ( const Text_t t)
FontStyle_t Text_getFontStyle ( const Text_t t)
char* Text_getFontStyleAsString ( const Text_t t)
FontWeight_t Text_getFontWeight ( const Text_t t)
char* Text_getFontWeightAsString ( const Text_t t)
HTextAnchor_t Text_getTextAnchor ( const Text_t t)
char* Text_getTextAnchorAsString ( const Text_t t)
VTextAnchor_t Text_getVTextAnchor ( const Text_t t)
char* Text_getVTextAnchorAsString ( const Text_t t)
RelAbsVector_t* Text_getX ( const Text_t t)
RelAbsVector_t* Text_getY ( const Text_t t)
RelAbsVector_t* Text_getZ ( const Text_t t)
int Text_hasRequiredAttributes ( const Text_t t)
int Text_isSetFontFamily ( const Text_t t)
int Text_isSetFontSize ( const Text_t t)
int Text_isSetFontStyle ( const Text_t t)
int Text_isSetFontWeight ( const Text_t t)
int Text_isSetTextAnchor ( const Text_t t)
int Text_isSetVTextAnchor ( const Text_t t)
int Text_isSetX ( const Text_t t)
int Text_isSetY ( const Text_t t)
int Text_isSetZ ( const Text_t t)
int Text_setFontFamily ( Text_t t,
const char *  fontFamily 
)
int Text_setFontSize ( Text_t t,
const RelAbsVector_t fontSize 
)
int Text_setFontStyle ( Text_t t,
FontStyle_t  fontStyle 
)
int Text_setFontStyleAsString ( Text_t t,
const char *  fontStyle 
)
int Text_setFontWeight ( Text_t t,
FontWeight_t  fontWeight 
)
int Text_setFontWeightAsString ( Text_t t,
const char *  fontWeight 
)
int Text_setTextAnchor ( Text_t t,
HTextAnchor_t  textAnchor 
)
int Text_setTextAnchorAsString ( Text_t t,
const char *  textAnchor 
)
int Text_setVTextAnchor ( Text_t t,
VTextAnchor_t  vtextAnchor 
)
int Text_setVTextAnchorAsString ( Text_t t,
const char *  vtextAnchor 
)
int Text_setX ( Text_t t,
const RelAbsVector_t x 
)
int Text_setY ( Text_t t,
const RelAbsVector_t y 
)
int Text_setZ ( Text_t t,
const RelAbsVector_t z 
)
int Text_unsetFontFamily ( Text_t t)
int Text_unsetFontSize ( Text_t t)
int Text_unsetFontStyle ( Text_t t)
int Text_unsetFontWeight ( Text_t t)
int Text_unsetTextAnchor ( Text_t t)
int Text_unsetVTextAnchor ( Text_t t)
int Text_unsetX ( Text_t t)
int Text_unsetY ( Text_t t)
int Text_unsetZ ( Text_t t)
Text::TEXT_ANCHOR TextAnchor_fromString ( const char *  name)
const char* TextAnchor_toString ( Text::TEXT_ANCHOR  anchor)

Variable Documentation

const char* TEXT_ANCHOR_STRINGS[]
Initial value:
=
{
"unset",
"start",
"middle",
"end",
"top",
"bottom",
"baseline",
"invalid"
}