libSBML C++ API  5.20.4
GradientBase.cpp File Reference

abstract base class for gradient objects More...

Include dependency graph for GradientBase.cpp:

Functions

int GradientBase_addGradientStop (GradientBase_t *gb, const GradientStop_t *gs)
 
GradientBase_tGradientBase_clone (const GradientBase_t *gb)
 
GradientStop_tGradientBase_createGradientStop (GradientBase_t *gb)
 
GradientBase_tGradientBase_createLinearGradient (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
GradientBase_tGradientBase_createRadialGradient (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
void GradientBase_free (GradientBase_t *gb)
 
GradientStop_tGradientBase_getGradientStop (GradientBase_t *gb, unsigned int n)
 
char * GradientBase_getId (const GradientBase_t *gb)
 
ListOf_tGradientBase_getListOfGradientStops (GradientBase_t *gb)
 
char * GradientBase_getName (const GradientBase_t *gb)
 
unsigned int GradientBase_getNumGradientStops (GradientBase_t *gb)
 
GradientSpreadMethod_t GradientBase_getSpreadMethod (const GradientBase_t *gb)
 
char * GradientBase_getSpreadMethodAsString (const GradientBase_t *gb)
 
int GradientBase_hasRequiredAttributes (const GradientBase_t *gb)
 
int GradientBase_isLinearGradient (const GradientBase_t *gb)
 
int GradientBase_isRadialGradient (const GradientBase_t *gb)
 
int GradientBase_isSetId (const GradientBase_t *gb)
 
int GradientBase_isSetName (const GradientBase_t *gb)
 
int GradientBase_isSetSpreadMethod (const GradientBase_t *gb)
 
GradientStop_tGradientBase_removeGradientStop (GradientBase_t *gb, unsigned int n)
 
int GradientBase_setId (GradientBase_t *gb, const char *id)
 
int GradientBase_setName (GradientBase_t *gb, const char *name)
 
int GradientBase_setSpreadMethod (GradientBase_t *gb, GradientSpreadMethod_t spreadMethod)
 
int GradientBase_setSpreadMethodAsString (GradientBase_t *gb, const char *spreadMethod)
 
int GradientBase_unsetId (GradientBase_t *gb)
 
int GradientBase_unsetName (GradientBase_t *gb)
 
int GradientBase_unsetSpreadMethod (GradientBase_t *gb)
 
GradientBase::SPREADMETHOD SpreadMethod_fromString (const char *name)
 
const char * SpreadMethod_toString (GradientBase::SPREADMETHOD method)
 

Variables

const char * SPREADMETHOD_STRINGS []
 

Detailed Description

abstract base class for gradient objects

Author
Ralph Gauges
Frank T. Bergmann

Function Documentation

◆ GradientBase_addGradientStop()

int GradientBase_addGradientStop ( GradientBase_t gb,
const GradientStop_t gs 
)

◆ GradientBase_clone()

GradientBase_t* GradientBase_clone ( const GradientBase_t gb)

◆ GradientBase_createGradientStop()

GradientStop_t* GradientBase_createGradientStop ( GradientBase_t gb)

◆ GradientBase_createLinearGradient()

GradientBase_t* GradientBase_createLinearGradient ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)

◆ GradientBase_createRadialGradient()

GradientBase_t* GradientBase_createRadialGradient ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)

◆ GradientBase_free()

void GradientBase_free ( GradientBase_t gb)

◆ GradientBase_getGradientStop()

GradientStop_t* GradientBase_getGradientStop ( GradientBase_t gb,
unsigned int  n 
)

◆ GradientBase_getId()

char* GradientBase_getId ( const GradientBase_t gb)

◆ GradientBase_getListOfGradientStops()

ListOf_t* GradientBase_getListOfGradientStops ( GradientBase_t gb)

◆ GradientBase_getName()

char* GradientBase_getName ( const GradientBase_t gb)

◆ GradientBase_getNumGradientStops()

unsigned int GradientBase_getNumGradientStops ( GradientBase_t gb)

◆ GradientBase_getSpreadMethod()

GradientSpreadMethod_t GradientBase_getSpreadMethod ( const GradientBase_t gb)

◆ GradientBase_getSpreadMethodAsString()

char* GradientBase_getSpreadMethodAsString ( const GradientBase_t gb)

◆ GradientBase_hasRequiredAttributes()

int GradientBase_hasRequiredAttributes ( const GradientBase_t gb)

◆ GradientBase_isLinearGradient()

int GradientBase_isLinearGradient ( const GradientBase_t gb)

◆ GradientBase_isRadialGradient()

int GradientBase_isRadialGradient ( const GradientBase_t gb)

◆ GradientBase_isSetId()

int GradientBase_isSetId ( const GradientBase_t gb)

◆ GradientBase_isSetName()

int GradientBase_isSetName ( const GradientBase_t gb)

◆ GradientBase_isSetSpreadMethod()

int GradientBase_isSetSpreadMethod ( const GradientBase_t gb)

◆ GradientBase_removeGradientStop()

GradientStop_t* GradientBase_removeGradientStop ( GradientBase_t gb,
unsigned int  n 
)

◆ GradientBase_setId()

int GradientBase_setId ( GradientBase_t gb,
const char *  id 
)

◆ GradientBase_setName()

int GradientBase_setName ( GradientBase_t gb,
const char *  name 
)

◆ GradientBase_setSpreadMethod()

int GradientBase_setSpreadMethod ( GradientBase_t gb,
GradientSpreadMethod_t  spreadMethod 
)

◆ GradientBase_setSpreadMethodAsString()

int GradientBase_setSpreadMethodAsString ( GradientBase_t gb,
const char *  spreadMethod 
)

◆ GradientBase_unsetId()

int GradientBase_unsetId ( GradientBase_t gb)

◆ GradientBase_unsetName()

int GradientBase_unsetName ( GradientBase_t gb)

◆ GradientBase_unsetSpreadMethod()

int GradientBase_unsetSpreadMethod ( GradientBase_t gb)

◆ SpreadMethod_fromString()

GradientBase::SPREADMETHOD SpreadMethod_fromString ( const char *  name)

◆ SpreadMethod_toString()

const char* SpreadMethod_toString ( GradientBase::SPREADMETHOD  method)

Variable Documentation

◆ SPREADMETHOD_STRINGS

const char* SPREADMETHOD_STRINGS[]
Initial value:
=
{
"pad",
"reflect",
"repeat",
"invalid"
}