libSBML C++ API  5.18.0
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 (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 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

Definition 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 = 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.

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)