|
libSBML C API
5.18.0
|
The Ellipse_t class is derived from GraphicalPrimitive2D_t, so it inherits all the attributes and methods of the latter. This means ellipses can have a transformation, a stroke and a stroke with to draw the edge as well as a fill style and fill style related settings. Besides those inherited attributes, an ellipse if defined by its center point which can be specified as a combination of absolute and relative values and its radii for the two axes. The radii can also be specified in terms absolute and/or relative values.
Public Member Functions | |
| Ellipse_t * | Ellipse_clone (const Ellipse_t *e) |
| Creates and returns a deep copy of this Ellipse_t object. More... | |
| Ellipse_t * | Ellipse_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
| Creates a new Ellipse_t using the given SBML Level, Version and “render” package version. More... | |
| void | Ellipse_free (Ellipse_t *e) |
| Frees this Ellipse_t object. More... | |
| RelAbsVector_t * | Ellipse_getCX (const Ellipse_t *e) |
| Returns the value of the "cx" element of this Ellipse_t. More... | |
| RelAbsVector_t * | Ellipse_getCY (const Ellipse_t *e) |
| Returns the value of the "cy" element of this Ellipse_t. More... | |
| RelAbsVector_t * | Ellipse_getCZ (const Ellipse_t *e) |
| Returns the value of the "cz" element of this Ellipse_t. More... | |
| double | Ellipse_getRatio (const Ellipse_t *e) |
| Returns the value of the "ratio" attribute of this Ellipse_t. More... | |
| RelAbsVector_t * | Ellipse_getRX (const Ellipse_t *e) |
| Returns the value of the "rx" element of this Ellipse_t. More... | |
| RelAbsVector_t * | Ellipse_getRY (const Ellipse_t *e) |
| Returns the value of the "ry" element of this Ellipse_t. More... | |
| int | Ellipse_hasRequiredAttributes (const Ellipse_t *e) |
Predicate returning 1 (true) if all the required attributes for this Ellipse_t object have been set. More... | |
| int | Ellipse_isSetCX (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "cx" element is set. More... | |
| int | Ellipse_isSetCY (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "cy" element is set. More... | |
| int | Ellipse_isSetCZ (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "cz" element is set. More... | |
| int | Ellipse_isSetRatio (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "ratio" attribute is set. More... | |
| int | Ellipse_isSetRX (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "rx" element is set. More... | |
| int | Ellipse_isSetRY (const Ellipse_t *e) |
Predicate returning 1 (true) if this Ellipse_t's "ry" element is set. More... | |
| int | Ellipse_setCX (Ellipse_t *e, const RelAbsVector_t *cx) |
| Sets the value of the "cx" element of this Ellipse_t. More... | |
| int | Ellipse_setCY (Ellipse_t *e, const RelAbsVector_t &cy) |
| Sets the value of the "cy" element of this Ellipse_t. More... | |
| int | Ellipse_setCZ (Ellipse_t *e, const RelAbsVector_t &cz) |
| Sets the value of the "cz" element of this Ellipse_t. More... | |
| int | Ellipse_setRatio (Ellipse_t *e, double ratio) |
| Sets the value of the "ratio" attribute of this Ellipse_t. More... | |
| int | Ellipse_setRX (Ellipse_t *e, const RelAbsVector_t &rx) |
| Sets the value of the "rx" element of this Ellipse_t. More... | |
| int | Ellipse_setRY (Ellipse_t *e, const RelAbsVector_t &ry) |
| Sets the value of the "ry" element of this Ellipse_t. More... | |
| int | Ellipse_unsetCX (Ellipse_t *e) |
| Unsets the value of the "cx" element of this Ellipse_t. More... | |
| int | Ellipse_unsetCY (Ellipse_t *e) |
| Unsets the value of the "cy" element of this Ellipse_t. More... | |
| int | Ellipse_unsetCZ (Ellipse_t *e) |
| Unsets the value of the "cz" element of this Ellipse_t. More... | |
| int | Ellipse_unsetRatio (Ellipse_t *e) |
| Unsets the value of the "ratio" attribute of this Ellipse_t. More... | |
| int | Ellipse_unsetRX (Ellipse_t *e) |
| Unsets the value of the "rx" element of this Ellipse_t. More... | |
| int | Ellipse_unsetRY (Ellipse_t *e) |
| Unsets the value of the "ry" element of this Ellipse_t. More... | |
Creates and returns a deep copy of this Ellipse_t object.
| e | the Ellipse_t structure. |
| Ellipse_t * Ellipse_create | ( | unsigned int | level, |
| unsigned int | version, | ||
| unsigned int | pkgVersion | ||
| ) |
Creates a new Ellipse_t using the given SBML Level, Version and “render” package version.
| level | an unsigned int, the SBML Level to assign to this Ellipse_t. |
| version | an unsigned int, the SBML Version to assign to this Ellipse_t. |
| pkgVersion | an unsigned int, the SBML Render Version to assign to this Ellipse_t. |
| void Ellipse_free | ( | Ellipse_t * | e | ) |
| RelAbsVector_t * Ellipse_getCX | ( | const Ellipse_t * | e | ) |
Returns the value of the "cx" element of this Ellipse_t.
| e | the Ellipse_t structure whose cx is sought. |
| RelAbsVector_t * Ellipse_getCY | ( | const Ellipse_t * | e | ) |
Returns the value of the "cy" element of this Ellipse_t.
| e | the Ellipse_t structure whose cy is sought. |
| RelAbsVector_t * Ellipse_getCZ | ( | const Ellipse_t * | e | ) |
Returns the value of the "cz" element of this Ellipse_t.
| e | the Ellipse_t structure whose cz is sought. |
| double Ellipse_getRatio | ( | const Ellipse_t * | e | ) |
| RelAbsVector_t * Ellipse_getRX | ( | const Ellipse_t * | e | ) |
Returns the value of the "rx" element of this Ellipse_t.
| e | the Ellipse_t structure whose rx is sought. |
| RelAbsVector_t * Ellipse_getRY | ( | const Ellipse_t * | e | ) |
Returns the value of the "ry" element of this Ellipse_t.
| e | the Ellipse_t structure whose ry is sought. |
| int Ellipse_hasRequiredAttributes | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetCX | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetCY | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetCZ | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetRatio | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetRX | ( | const Ellipse_t * | e | ) |
| int Ellipse_isSetRY | ( | const Ellipse_t * | e | ) |
| int Ellipse_setCX | ( | Ellipse_t * | e, |
| const RelAbsVector_t * | cx | ||
| ) |
Sets the value of the "cx" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| cx | RelAbsVector_t&_t value of the "cx" element to be set. |
| int Ellipse_setCY | ( | Ellipse_t * | e, |
| const RelAbsVector_t & | cy | ||
| ) |
Sets the value of the "cy" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| cy | RelAbsVector_t& value of the "cy" element to be set. |
| int Ellipse_setCZ | ( | Ellipse_t * | e, |
| const RelAbsVector_t & | cz | ||
| ) |
Sets the value of the "cz" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| cz | RelAbsVector_t& value of the "cz" element to be set. |
| int Ellipse_setRatio | ( | Ellipse_t * | e, |
| double | ratio | ||
| ) |
Sets the value of the "ratio" attribute of this Ellipse_t.
| e | the Ellipse_t structure. |
| ratio | double value of the "ratio" attribute to be set. |
| int Ellipse_setRX | ( | Ellipse_t * | e, |
| const RelAbsVector_t & | rx | ||
| ) |
Sets the value of the "rx" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| rx | RelAbsVector_t& value of the "rx" element to be set. |
| int Ellipse_setRY | ( | Ellipse_t * | e, |
| const RelAbsVector_t & | ry | ||
| ) |
Sets the value of the "ry" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| ry | RelAbsVector_t& value of the "ry" element to be set. |
| int Ellipse_unsetCX | ( | Ellipse_t * | e | ) |
Unsets the value of the "cx" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| int Ellipse_unsetCY | ( | Ellipse_t * | e | ) |
Unsets the value of the "cy" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| int Ellipse_unsetCZ | ( | Ellipse_t * | e | ) |
Unsets the value of the "cz" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| int Ellipse_unsetRatio | ( | Ellipse_t * | e | ) |
Unsets the value of the "ratio" attribute of this Ellipse_t.
| e | the Ellipse_t structure. |
| int Ellipse_unsetRX | ( | Ellipse_t * | e | ) |
Unsets the value of the "rx" element of this Ellipse_t.
| e | the Ellipse_t structure. |
| int Ellipse_unsetRY | ( | Ellipse_t * | e | ) |
Unsets the value of the "ry" element of this Ellipse_t.
| e | the Ellipse_t structure. |