PLplot  5.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
PlDevice Class Reference

#include "wxwidgets.h"

Inheritance diagram for PlDevice:
wxPLDevice

Public Member Functions

 PlDevice ()
 
virtual ~PlDevice ()
 
virtual void DrawLine (short x1a, short y1a, short x2a, short y2a)
 
virtual void DrawPolyline (short *xa, short *ya, PLINT npts)
 
virtual void ClearBackground (PLStream *pls, PLINT x1=-1, PLINT y1=-1, PLINT x2=-1, PLINT y2=-1)
 
virtual void FillPolygon (PLStream *pls)
 
virtual void SetWidth (PLStream *pls)
 
virtual void SetColor (PLStream *pls)
 
virtual void SetDC (PLStream *pls, wxDC *dc)
 
virtual void EndPage (PLStream *pls)
 
virtual void BeginPage (PLStream *pls)
 
virtual void SetSize (PLStream *pls, int width, int height)
 
virtual void FixAspectRatio (bool fix)
 
virtual void Locate (PLStream *pls, PLGraphicsIn *graphicsIn)
 
virtual void Flush (PLStream *pls)
 
virtual void PreDestructorTidy (PLStream *pls)
 
void drawText (PLStream *pls, EscText *args)
 

Private Member Functions

void DrawTextLine (PLUNICODE *ucs4, int ucs4Len, wxCoord xOrigin, wxCoord yOrigin, wxCoord x, wxCoord y, PLFLT *transform, PLFLT baseFontSize, bool drawText, bool &underlined, PLUNICODE &fci, unsigned char red, unsigned char green, unsigned char blue, PLFLT alpha, wxCoord &textWidth, wxCoord &textHeight, wxCoord &textDepth)
 
virtual void DrawTextSection (wxString section, wxCoord xOrigin, wxCoord yOrigin, wxCoord x, wxCoord y, PLFLT *transform, PLFLT scaledFontSize, bool drawText, bool underlined, PLUNICODE fci, unsigned char red, unsigned char green, unsigned char blue, PLFLT alpha, PLFLT &yScale, wxCoord &sectionWidth, wxCoord &sectionHeight, wxCoord &sectionDepth)
 

Private Attributes

PLUNICODE m_prevSymbol
 
PLFLT m_prevBaseFontSize
 
PLINT m_prevLevel
 
PLUNICODE m_prevFci
 
wxCoord m_prevSymbolWidth
 
wxCoord m_prevSymbolHeight
 
wxCoord m_prevSymbolDepth
 

Detailed Description

Definition at line 76 of file wxwidgets.h.

Constructor & Destructor Documentation

PlDevice::PlDevice ( )

Definition at line 64 of file wxwidgets_dev.cpp.

virtual PlDevice::~PlDevice ( )
inlinevirtual

Definition at line 80 of file wxwidgets.h.

Member Function Documentation

virtual void PlDevice::BeginPage ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 89 of file wxwidgets.h.

virtual void PlDevice::ClearBackground ( PLStream *  pls,
PLINT  x1 = -1,
PLINT  y1 = -1,
PLINT  x2 = -1,
PLINT  y2 = -1 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 83 of file wxwidgets.h.

virtual void PlDevice::DrawLine ( short  x1a,
short  y1a,
short  x2a,
short  y2a 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 81 of file wxwidgets.h.

virtual void PlDevice::DrawPolyline ( short *  xa,
short *  ya,
PLINT  npts 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 82 of file wxwidgets.h.

void PlDevice::drawText ( PLStream *  pls,
EscText *  args 
)

Definition at line 81 of file wxwidgets_dev.cpp.

void PlDevice::DrawTextLine ( PLUNICODE *  ucs4,
int  ucs4Len,
wxCoord  xOrigin,
wxCoord  yOrigin,
wxCoord  x,
wxCoord  y,
PLFLT *  transform,
PLFLT  baseFontSize,
bool  drawText,
bool &  underlined,
PLUNICODE &  fci,
unsigned char  red,
unsigned char  green,
unsigned char  blue,
PLFLT  alpha,
wxCoord &  textWidth,
wxCoord &  textHeight,
wxCoord &  textDepth 
)
private

Definition at line 242 of file wxwidgets_dev.cpp.

virtual void PlDevice::DrawTextSection ( wxString  section,
wxCoord  xOrigin,
wxCoord  yOrigin,
wxCoord  x,
wxCoord  y,
PLFLT *  transform,
PLFLT  scaledFontSize,
bool  drawText,
bool  underlined,
PLUNICODE  fci,
unsigned char  red,
unsigned char  green,
unsigned char  blue,
PLFLT  alpha,
PLFLT &  yScale,
wxCoord &  sectionWidth,
wxCoord &  sectionHeight,
wxCoord &  sectionDepth 
)
inlineprivatevirtual

Reimplemented in wxPLDevice.

Definition at line 99 of file wxwidgets.h.

virtual void PlDevice::EndPage ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 88 of file wxwidgets.h.

virtual void PlDevice::FillPolygon ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 84 of file wxwidgets.h.

virtual void PlDevice::FixAspectRatio ( bool  fix)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 91 of file wxwidgets.h.

virtual void PlDevice::Flush ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 93 of file wxwidgets.h.

virtual void PlDevice::Locate ( PLStream *  pls,
PLGraphicsIn *  graphicsIn 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 92 of file wxwidgets.h.

virtual void PlDevice::PreDestructorTidy ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 94 of file wxwidgets.h.

virtual void PlDevice::SetColor ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 86 of file wxwidgets.h.

virtual void PlDevice::SetDC ( PLStream *  pls,
wxDC *  dc 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 87 of file wxwidgets.h.

virtual void PlDevice::SetSize ( PLStream *  pls,
int  width,
int  height 
)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 90 of file wxwidgets.h.

virtual void PlDevice::SetWidth ( PLStream *  pls)
inlinevirtual

Reimplemented in wxPLDevice.

Definition at line 85 of file wxwidgets.h.

Member Data Documentation

PLFLT PlDevice::m_prevBaseFontSize
private

Definition at line 102 of file wxwidgets.h.

PLUNICODE PlDevice::m_prevFci
private

Definition at line 104 of file wxwidgets.h.

PLINT PlDevice::m_prevLevel
private

Definition at line 103 of file wxwidgets.h.

PLUNICODE PlDevice::m_prevSymbol
private

Definition at line 101 of file wxwidgets.h.

wxCoord PlDevice::m_prevSymbolDepth
private

Definition at line 107 of file wxwidgets.h.

wxCoord PlDevice::m_prevSymbolHeight
private

Definition at line 106 of file wxwidgets.h.

wxCoord PlDevice::m_prevSymbolWidth
private

Definition at line 105 of file wxwidgets.h.


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