SPH
Classes | Public Member Functions | List of all members
TextContext Class Reference
Inheritance diagram for TextContext:
IDrawingContext Polymorphic

Classes

class  TextPath
 

Public Member Functions

 TextContext (const Path &path)
 
virtual void drawPoint (const PlotPoint &point) override
 Adds a single point to the plot. More...
 
virtual void drawErrorPoint (const ErrorPlotPoint &point) override
 Adds a point with error bars to the plot. More...
 
virtual void drawLine (const PlotPoint &UNUSED(from), const PlotPoint &UNUSED(to)) override
 
virtual AutoPtr< IDrawPathdrawPath () override
 Draws a path connecting points. More...
 
virtual void setStyle (const Size UNUSED(index)) override
 
virtual void setTransformMatrix (const AffineMatrix2 &UNUSED(matrix)) override
 
- Public Member Functions inherited from IDrawingContext
virtual void drawLine (const PlotPoint &from, const PlotPoint &to)=0
 Draws a line connecting two points. More...
 
virtual void setStyle (const Size index)=0
 Changes the current drawing style. More...
 
virtual void setTransformMatrix (const AffineMatrix2 &matrix)=0
 Applies the given tranformation matrix on all primitives. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Definition at line 330 of file PlotView.cpp.

Constructor & Destructor Documentation

◆ TextContext()

TextContext::TextContext ( const Path path)
inlineexplicit

Definition at line 335 of file PlotView.cpp.

Member Function Documentation

◆ drawErrorPoint()

virtual void TextContext::drawErrorPoint ( const ErrorPlotPoint point)
inlineoverridevirtual

Adds a point with error bars to the plot.

Implements IDrawingContext.

Definition at line 342 of file PlotView.cpp.

◆ drawLine()

virtual void TextContext::drawLine ( const PlotPoint UNUSEDfrom,
const PlotPoint UNUSEDto 
)
inlineoverridevirtual

Definition at line 346 of file PlotView.cpp.

◆ drawPath()

virtual AutoPtr<IDrawPath> TextContext::drawPath ( )
inlineoverridevirtual

Draws a path connecting points.

The path copies the state from the parent drawing context, so if a drawing style of the context changes, the change does not affect already existing paths.

Implements IDrawingContext.

Definition at line 365 of file PlotView.cpp.

◆ drawPoint()

virtual void TextContext::drawPoint ( const PlotPoint point)
inlineoverridevirtual

Adds a single point to the plot.

The plot is drawn by implementation-defined style.

Implements IDrawingContext.

Definition at line 338 of file PlotView.cpp.

◆ setStyle()

virtual void TextContext::setStyle ( const Size   UNUSEDindex)
inlineoverridevirtual

Definition at line 369 of file PlotView.cpp.

◆ setTransformMatrix()

virtual void TextContext::setTransformMatrix ( const AffineMatrix2 UNUSEDmatrix)
inlineoverridevirtual

Definition at line 374 of file PlotView.cpp.


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