|
libSBML C API
5.18.0
|
Global styles are the style information objects used in GlobalRenderInformation_t. Global styles can be associated with layout objects by role and type, but not by identifier; in other respects, global styles and local styles are equivalent.
Since GlobalStyle_t is derived from Styles, it inherits all of the methods and attributes from Style_t.
Public Member Functions | |
| GlobalStyle_t * | GlobalStyle_clone (const GlobalStyle_t *gs) |
| Creates and returns a deep copy of this GlobalStyle_t object. More... | |
| GlobalStyle_t * | GlobalStyle_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
| Creates a new GlobalStyle_t using the given SBML Level, Version and “render” package version. More... | |
| void | GlobalStyle_free (GlobalStyle_t *gs) |
| Frees this GlobalStyle_t object. More... | |
| int | GlobalStyle_hasRequiredAttributes (const GlobalStyle_t *gs) |
Predicate returning 1 (true) if all the required attributes for this GlobalStyle_t object have been set. More... | |
| GlobalStyle_t * GlobalStyle_clone | ( | const GlobalStyle_t * | gs | ) |
Creates and returns a deep copy of this GlobalStyle_t object.
| gs | the GlobalStyle_t structure. |
| GlobalStyle_t * GlobalStyle_create | ( | unsigned int | level, |
| unsigned int | version, | ||
| unsigned int | pkgVersion | ||
| ) |
Creates a new GlobalStyle_t using the given SBML Level, Version and “render” package version.
| level | an unsigned int, the SBML Level to assign to this GlobalStyle_t. |
| version | an unsigned int, the SBML Version to assign to this GlobalStyle_t. |
| pkgVersion | an unsigned int, the SBML Render Version to assign to this GlobalStyle_t. |
| void GlobalStyle_free | ( | GlobalStyle_t * | gs | ) |
Frees this GlobalStyle_t object.
| gs | the GlobalStyle_t structure. |
| int GlobalStyle_hasRequiredAttributes | ( | const GlobalStyle_t * | gs | ) |
Predicate returning 1 (true) if all the required attributes for this GlobalStyle_t object have been set.
| gs | the GlobalStyle_t structure. |
1 (true) to indicate that all the required attributes of this GlobalStyle_t have been set, otherwise 0 (false) is returned.