libSBML C++ API  5.18.0
RenderUtilities.cpp File Reference

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

Include dependency graph for RenderUtilities.cpp:

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 (RenderGroup *pGroup, RelAbsVector fontSize)
 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 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 (GlobalRenderInformation *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

implementation of RenderUtilities, a class of utility functions for the render package

Author
Frank T. Bergmann

Function Documentation

XMLNode* deleteGlobalRenderAnnotation ( XMLNode pAnnotation)

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

XMLNode* deleteLocalRenderAnnotation ( XMLNode pAnnotation)
void fixTextElements ( RenderGroup pGroup,
RelAbsVector  fontSize 
)

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

void fixTextElements ( RenderInformationBase pRenderInfo)

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

void fixTextElements ( LocalRenderInformation pRenderInfo)

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

void fixTextElements ( GlobalRenderInformation pRenderInfo)

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

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

XMLNode* parseGlobalRenderInformation ( const ListOfLayouts pList)

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

void parseLocalRenderAnnotation ( XMLNode annotation,
Layout pLayout 
)
XMLNode* parseLocalRenderInformation ( const Layout pLayout)