gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
drawContextGlobal Class Reference

#include <drawContext.h>

Public Member Functions

 drawContextGlobal ()
 
virtual ~drawContextGlobal ()
 
virtual void draw (bool rateLimited=true)
 
virtual void drawCurrentOpenglWindow (bool make_current)
 
virtual int getFontIndex (const char *fontname)
 
virtual int getFontEnum (int index)
 
virtual const char * getFontName (int index)
 
virtual int getFontAlign (const char *alignstr)
 
virtual int getFontSize ()
 
virtual void setFont (int fontid, int fontsize)
 
virtual double getStringWidth (const char *str)
 
virtual int getStringHeight ()
 
virtual int getStringDescent ()
 
virtual void drawString (const char *str)
 
virtual void resetFontTextures ()
 
virtual void flushString ()
 
virtual std::string getName ()
 

Detailed Description

Definition at line 93 of file drawContext.h.

Constructor & Destructor Documentation

◆ drawContextGlobal()

drawContextGlobal::drawContextGlobal ( )
inline

Definition at line 95 of file drawContext.h.

◆ ~drawContextGlobal()

virtual drawContextGlobal::~drawContextGlobal ( )
inlinevirtual

Definition at line 96 of file drawContext.h.

Member Function Documentation

◆ draw()

virtual void drawContextGlobal::draw ( bool  rateLimited = true)
inlinevirtual

Definition at line 97 of file drawContext.h.

Referenced by CreateOutputFile(), GMSH_ShowNeighborElementsPlugin::execute(), OpenProjectMacFinder(), and GMSH_Plugin::setDrawFunction().

Here is the caller graph for this function:

◆ drawCurrentOpenglWindow()

virtual void drawContextGlobal::drawCurrentOpenglWindow ( bool  make_current)
inlinevirtual

Definition at line 98 of file drawContext.h.

Referenced by CreateOutputFile(), and PixelBuffer::fill().

Here is the caller graph for this function:

◆ drawString()

virtual void drawContextGlobal::drawString ( const char *  str)
inlinevirtual

Definition at line 108 of file drawContext.h.

Referenced by drawContext::drawString().

Here is the caller graph for this function:

◆ flushString()

virtual void drawContextGlobal::flushString ( )
inlinevirtual

Definition at line 110 of file drawContext.h.

◆ getFontAlign()

virtual int drawContextGlobal::getFontAlign ( const char *  alignstr)
inlinevirtual

Definition at line 102 of file drawContext.h.

Referenced by getStyle().

Here is the caller graph for this function:

◆ getFontEnum()

virtual int drawContextGlobal::getFontEnum ( int  index)
inlinevirtual

Definition at line 100 of file drawContext.h.

Referenced by drawContext::drawString().

Here is the caller graph for this function:

◆ getFontIndex()

virtual int drawContextGlobal::getFontIndex ( const char *  fontname)
inlinevirtual

Definition at line 99 of file drawContext.h.

Referenced by getStyle().

Here is the caller graph for this function:

◆ getFontName()

virtual const char* drawContextGlobal::getFontName ( int  index)
inlinevirtual

Definition at line 101 of file drawContext.h.

Referenced by drawContext::drawString().

Here is the caller graph for this function:

◆ getFontSize()

virtual int drawContextGlobal::getFontSize ( )
inlinevirtual

Definition at line 103 of file drawContext.h.

◆ getName()

virtual std::string drawContextGlobal::getName ( )
inlinevirtual

Definition at line 111 of file drawContext.h.

Referenced by opt_general_graphics_font_engine().

Here is the caller graph for this function:

◆ getStringDescent()

virtual int drawContextGlobal::getStringDescent ( )
inlinevirtual

Definition at line 107 of file drawContext.h.

Referenced by drawGraphAxes(), and drawScaleValues().

Here is the caller graph for this function:

◆ getStringHeight()

virtual int drawContextGlobal::getStringHeight ( )
inlinevirtual

Definition at line 106 of file drawContext.h.

Referenced by drawContext::drawGraph2d(), drawGraphAxes(), drawScaleLabel(), drawContext::drawScales(), drawScaleValues(), drawContext::drawString(), and drawTics().

Here is the caller graph for this function:

◆ getStringWidth()

virtual double drawContextGlobal::getStringWidth ( const char *  str)
inlinevirtual

Definition at line 105 of file drawContext.h.

Referenced by drawGraphAxes(), drawContext::drawScales(), drawScaleValues(), drawContext::drawString(), and drawTics().

Here is the caller graph for this function:

◆ resetFontTextures()

virtual void drawContextGlobal::resetFontTextures ( )
inlinevirtual

◆ setFont()

virtual void drawContextGlobal::setFont ( int  fontid,
int  fontsize 
)
inlinevirtual

Definition at line 104 of file drawContext.h.

Referenced by drawContext::drawGraph2d(), drawScaleLabel(), drawContext::drawScales(), drawScaleValues(), drawContext::drawString(), and drawTics().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: