libSBML C++ API  5.20.4
RenderUtilities.h File Reference

Definition of RenderUtilities, a class of utility functions for the render package. More...

Include dependency graph for RenderUtilities.h:
This graph shows which files directly or indirectly include this file:

Functions

XMLNodedeleteGlobalRenderAnnotation (XMLNode *pAnnotation)
 Takes an XMLNode and tries to find the render information annotation node and deletes it if it was found. More...
 
XMLNodedeleteLocalRenderAnnotation (XMLNode *pAnnotation)
 
void fixTextElements (GlobalRenderInformation *pRenderInfo)
 This method adds a correction term to text elements from the old spec so that the text placement is improved. More...
 
void fixTextElements (LocalRenderInformation *pRenderInfo)
 This method adds a correction term to text elements from the old spec so that the text placement is improved. More...
 
void fixTextElements (RenderGroup *pGroup, RelAbsVector fontSize=RelAbsVector(0.0, 0.0))
 This method adds a correction term to text elements from the old spec so that the text placement is improved. More...
 
void fixTextElements (RenderInformationBase *pRenderInfo)
 This method adds a correction term to text elements from the old spec so that the text placement is improved. More...
 
void parseGlobalRenderAnnotation (XMLNode *annotation, ListOfLayouts *pLOL)
 takes an annotation that has been read into the model identifies the listOfLayouts element and creates a List of Layouts from the annotation More...
 
XMLNodeparseGlobalRenderInformation (const ListOfLayouts *pList)
 Creates an XMLNode that represents the layouts of the model from the given Model object. More...
 
void parseLocalRenderAnnotation (XMLNode *annotation, Layout *pLayout)
 
XMLNodeparseLocalRenderInformation (const Layout *pLayout)
 

Detailed Description

Definition of RenderUtilities, a class of utility functions for the render package.

Author
Frank T. Bergmann

Function Documentation

◆ deleteGlobalRenderAnnotation()

XMLNode* deleteGlobalRenderAnnotation ( XMLNode pAnnotation)

Takes an XMLNode and tries to find the render information annotation node and deletes it if it was found.

◆ deleteLocalRenderAnnotation()

XMLNode* deleteLocalRenderAnnotation ( XMLNode pAnnotation)

◆ fixTextElements() [1/4]

void fixTextElements ( GlobalRenderInformation pRenderInfo)

This method adds a correction term to text elements from the old spec so that the text placement is improved.

◆ fixTextElements() [2/4]

void fixTextElements ( LocalRenderInformation pRenderInfo)

This method adds a correction term to text elements from the old spec so that the text placement is improved.

◆ fixTextElements() [3/4]

void fixTextElements ( RenderGroup pGroup,
RelAbsVector  fontSize = RelAbsVector(0.0, 0.0) 
)

This method adds a correction term to text elements from the old spec so that the text placement is improved.

◆ fixTextElements() [4/4]

void fixTextElements ( RenderInformationBase pRenderInfo)

This method adds a correction term to text elements from the old spec so that the text placement is improved.

◆ parseGlobalRenderAnnotation()

void parseGlobalRenderAnnotation ( XMLNode annotation,
ListOfLayouts pLOL 
)

takes an annotation that has been read into the model identifies the listOfLayouts element and creates a List of Layouts from the annotation

◆ parseGlobalRenderInformation()

XMLNode* parseGlobalRenderInformation ( const ListOfLayouts pList)

Creates an XMLNode that represents the layouts of the model from the given Model object.

◆ parseLocalRenderAnnotation()

void parseLocalRenderAnnotation ( XMLNode annotation,
Layout pLayout 
)

◆ parseLocalRenderInformation()

XMLNode* parseLocalRenderInformation ( const Layout pLayout)