wxPdfDocument  0.9.4
Public Member Functions | Protected Member Functions
wxPdfDC Class Reference

Class representing a PDF drawing context. More...

#include <pdfdc29.h>

List of all members.

Public Member Functions

 wxPdfDC ()
 wxPdfDC (const wxPrintData &printData)
 wxPdfDC (wxPdfDocument *pdfDocument, double templateWidth, double templateHeight)
virtual ~wxPdfDC ()
wxPdfDocumentGetPdfDocument ()
void SetPrintData (const wxPrintData &data)
wxPrintData & GetPrintData ()
void SetResolution (int ppi)
int GetResolution () const
void SetImageType (wxBitmapType bitmapType, int quality=75)
virtual void Clear ()
virtual bool StartDoc (const wxString &message)
virtual void EndDoc ()
virtual void StartPage ()
virtual void EndPage ()
virtual void SetFont (const wxFont &font)
virtual void SetPen (const wxPen &pen)
virtual void SetBrush (const wxBrush &brush)
virtual void SetBackground (const wxBrush &brush)
virtual void SetBackgroundMode (int mode)
virtual void SetPalette (const wxPalette &palette)
virtual void DestroyClippingRegion ()
virtual wxCoord GetCharHeight () const
virtual wxCoord GetCharWidth () const
virtual bool CanDrawBitmap () const
virtual bool CanGetTextExtent () const
virtual int GetDepth () const
virtual wxSize GetPPI () const
virtual void SetMapMode (int mode)
virtual void SetUserScale (double x, double y)
virtual void SetLogicalScale (double x, double y)
virtual void SetLogicalOrigin (wxCoord x, wxCoord y)
virtual void SetDeviceOrigin (wxCoord x, wxCoord y)
virtual void SetAxisOrientation (bool xLeftRight, bool yBottomUp)
virtual void SetLogicalFunction (int function)
virtual void SetTextForeground (const wxColour &colour)
virtual void ComputeScaleAndOrigin ()
int GetDrawingStyle ()
bool StretchBlt (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxBitmap *bitmap)
int IncreaseImageCounter ()
void SetMapModeStyle (wxPdfMapModeStyle style)
wxPdfMapModeStyle GetMapModeStyle () const
 wxPdfDC ()
 wxPdfDC (const wxPrintData &printData)
 wxPdfDC (wxPdfDocument *pdfDocument, double templateWidth, double templateHeight)
wxPdfDocumentGetPdfDocument ()
void SetResolution (int ppi)
int GetResolution () const
void SetImageType (wxBitmapType bitmapType, int quality=75)
void SetMapModeStyle (wxPdfMapModeStyle style)
wxPdfMapModeStyle GetMapModeStyle () const

Protected Member Functions

virtual bool DoFloodFill (wxCoord x, wxCoord y, const wxColour &col, int style=wxFLOOD_SURFACE)
virtual void DoGradientFillLinear (const wxRect &rect, const wxColour &initialColour, const wxColour &destColour, wxDirection nDirection=wxEAST)
virtual void DoGradientFillConcentric (const wxRect &rect, const wxColour &initialColour, const wxColour &destColour, const wxPoint &circleCenter)
virtual bool DoGetPixel (wxCoord x, wxCoord y, wxColour *col) const
virtual void DoDrawPoint (wxCoord x, wxCoord y)
virtual void DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
virtual void DoDrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
virtual void DoDrawCheckMark (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawEllipticArc (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double sa, double ea)
virtual void DoDrawRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius)
virtual void DoDrawEllipse (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoCrossHair (wxCoord x, wxCoord y)
virtual void DoDrawIcon (const wxIcon &icon, wxCoord x, wxCoord y)
virtual void DoDrawBitmap (const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask=false)
virtual void DoDrawText (const wxString &text, wxCoord x, wxCoord y)
virtual void DoDrawRotatedText (const wxString &text, wxCoord x, wxCoord y, double angle)
virtual bool DoBlit (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop=wxCOPY, bool useMask=false, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
virtual void DoGetSize (int *width, int *height) const
virtual void DoGetSizeMM (int *width, int *height) const
virtual void DoDrawLines (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset)
virtual void DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset, int fillStyle=wxODDEVEN_RULE)
virtual void DoDrawPolyPolygon (int n, int count[], wxPoint points[], wxCoord xoffset, wxCoord yoffset, int fillStyle)
virtual void DoSetClippingRegionAsRegion (const wxRegion &region)
virtual void DoSetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoGetTextExtent (const wxString &string, wxCoord *x, wxCoord *y, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, wxFont *theFont=NULL) const
virtual bool DoGetPartialTextExtents (const wxString &text, wxArrayInt &widths) const

Detailed Description

Class representing a PDF drawing context.


Constructor & Destructor Documentation

wxPdfDC::wxPdfDC ( )
wxPdfDC::wxPdfDC ( const wxPrintData &  printData)
wxPdfDC::wxPdfDC ( wxPdfDocument pdfDocument,
double  templateWidth,
double  templateHeight 
)
virtual wxPdfDC::~wxPdfDC ( )
virtual
wxPdfDC::wxPdfDC ( )
wxPdfDC::wxPdfDC ( const wxPrintData &  printData)
wxPdfDC::wxPdfDC ( wxPdfDocument pdfDocument,
double  templateWidth,
double  templateHeight 
)

Member Function Documentation

virtual bool wxPdfDC::CanDrawBitmap ( ) const
virtual
virtual bool wxPdfDC::CanGetTextExtent ( ) const
virtual
virtual void wxPdfDC::Clear ( )
virtual
virtual void wxPdfDC::ComputeScaleAndOrigin ( )
virtual
virtual void wxPdfDC::DestroyClippingRegion ( )
virtual
virtual bool wxPdfDC::DoBlit ( wxCoord  xdest,
wxCoord  ydest,
wxCoord  width,
wxCoord  height,
wxDC *  source,
wxCoord  xsrc,
wxCoord  ysrc,
int  rop = wxCOPY,
bool  useMask = false,
wxCoord  xsrcMask = -1,
wxCoord  ysrcMask = -1 
)
protectedvirtual
virtual void wxPdfDC::DoCrossHair ( wxCoord  x,
wxCoord  y 
)
protectedvirtual
virtual void wxPdfDC::DoDrawArc ( wxCoord  x1,
wxCoord  y1,
wxCoord  x2,
wxCoord  y2,
wxCoord  xc,
wxCoord  yc 
)
protectedvirtual
virtual void wxPdfDC::DoDrawBitmap ( const wxBitmap &  bmp,
wxCoord  x,
wxCoord  y,
bool  useMask = false 
)
protectedvirtual
virtual void wxPdfDC::DoDrawCheckMark ( wxCoord  x,
wxCoord  y,
wxCoord  width,
wxCoord  height 
)
protectedvirtual
virtual void wxPdfDC::DoDrawEllipse ( wxCoord  x,
wxCoord  y,
wxCoord  width,
wxCoord  height 
)
protectedvirtual
virtual void wxPdfDC::DoDrawEllipticArc ( wxCoord  x,
wxCoord  y,
wxCoord  w,
wxCoord  h,
double  sa,
double  ea 
)
protectedvirtual
virtual void wxPdfDC::DoDrawIcon ( const wxIcon &  icon,
wxCoord  x,
wxCoord  y 
)
protectedvirtual
virtual void wxPdfDC::DoDrawLine ( wxCoord  x1,
wxCoord  y1,
wxCoord  x2,
wxCoord  y2 
)
protectedvirtual
virtual void wxPdfDC::DoDrawLines ( int  n,
wxPoint  points[],
wxCoord  xoffset,
wxCoord  yoffset 
)
protectedvirtual
virtual void wxPdfDC::DoDrawPoint ( wxCoord  x,
wxCoord  y 
)
protectedvirtual
virtual void wxPdfDC::DoDrawPolygon ( int  n,
wxPoint  points[],
wxCoord  xoffset,
wxCoord  yoffset,
int  fillStyle = wxODDEVEN_RULE 
)
protectedvirtual
virtual void wxPdfDC::DoDrawPolyPolygon ( int  n,
int  count[],
wxPoint  points[],
wxCoord  xoffset,
wxCoord  yoffset,
int  fillStyle 
)
protectedvirtual
virtual void wxPdfDC::DoDrawRectangle ( wxCoord  x,
wxCoord  y,
wxCoord  width,
wxCoord  height 
)
protectedvirtual
virtual void wxPdfDC::DoDrawRotatedText ( const wxString &  text,
wxCoord  x,
wxCoord  y,
double  angle 
)
protectedvirtual
virtual void wxPdfDC::DoDrawRoundedRectangle ( wxCoord  x,
wxCoord  y,
wxCoord  width,
wxCoord  height,
double  radius 
)
protectedvirtual
virtual void wxPdfDC::DoDrawText ( const wxString &  text,
wxCoord  x,
wxCoord  y 
)
protectedvirtual
virtual bool wxPdfDC::DoFloodFill ( wxCoord  x,
wxCoord  y,
const wxColour &  col,
int  style = wxFLOOD_SURFACE 
)
protectedvirtual
virtual bool wxPdfDC::DoGetPartialTextExtents ( const wxString &  text,
wxArrayInt &  widths 
) const
protectedvirtual
virtual bool wxPdfDC::DoGetPixel ( wxCoord  x,
wxCoord  y,
wxColour *  col 
) const
protectedvirtual
virtual void wxPdfDC::DoGetSize ( int *  width,
int *  height 
) const
protectedvirtual
virtual void wxPdfDC::DoGetSizeMM ( int *  width,
int *  height 
) const
protectedvirtual
virtual void wxPdfDC::DoGetTextExtent ( const wxString &  string,
wxCoord *  x,
wxCoord *  y,
wxCoord *  descent = NULL,
wxCoord *  externalLeading = NULL,
wxFont *  theFont = NULL 
) const
protectedvirtual
virtual void wxPdfDC::DoGradientFillConcentric ( const wxRect &  rect,
const wxColour &  initialColour,
const wxColour &  destColour,
const wxPoint &  circleCenter 
)
protectedvirtual
virtual void wxPdfDC::DoGradientFillLinear ( const wxRect &  rect,
const wxColour &  initialColour,
const wxColour &  destColour,
wxDirection  nDirection = wxEAST 
)
protectedvirtual
virtual void wxPdfDC::DoSetClippingRegion ( wxCoord  x,
wxCoord  y,
wxCoord  width,
wxCoord  height 
)
protectedvirtual
virtual void wxPdfDC::DoSetClippingRegionAsRegion ( const wxRegion &  region)
protectedvirtual
virtual void wxPdfDC::EndDoc ( )
virtual
virtual void wxPdfDC::EndPage ( )
virtual
virtual wxCoord wxPdfDC::GetCharHeight ( ) const
virtual
virtual wxCoord wxPdfDC::GetCharWidth ( ) const
virtual
virtual int wxPdfDC::GetDepth ( ) const
virtual
int wxPdfDC::GetDrawingStyle ( )
wxPdfMapModeStyle wxPdfDC::GetMapModeStyle ( ) const
wxPdfMapModeStyle wxPdfDC::GetMapModeStyle ( ) const
inline
wxPdfDocument* wxPdfDC::GetPdfDocument ( )
wxPdfDocument* wxPdfDC::GetPdfDocument ( )
virtual wxSize wxPdfDC::GetPPI ( ) const
virtual
wxPrintData& wxPdfDC::GetPrintData ( )
inline
int wxPdfDC::GetResolution ( ) const
int wxPdfDC::GetResolution ( ) const
int wxPdfDC::IncreaseImageCounter ( )
inline
virtual void wxPdfDC::SetAxisOrientation ( bool  xLeftRight,
bool  yBottomUp 
)
virtual
virtual void wxPdfDC::SetBackground ( const wxBrush &  brush)
virtual
virtual void wxPdfDC::SetBackgroundMode ( int  mode)
virtual
virtual void wxPdfDC::SetBrush ( const wxBrush &  brush)
virtual
virtual void wxPdfDC::SetDeviceOrigin ( wxCoord  x,
wxCoord  y 
)
virtual
virtual void wxPdfDC::SetFont ( const wxFont &  font)
virtual
void wxPdfDC::SetImageType ( wxBitmapType  bitmapType,
int  quality = 75 
)
void wxPdfDC::SetImageType ( wxBitmapType  bitmapType,
int  quality = 75 
)
virtual void wxPdfDC::SetLogicalFunction ( int  function)
virtual
virtual void wxPdfDC::SetLogicalOrigin ( wxCoord  x,
wxCoord  y 
)
virtual
virtual void wxPdfDC::SetLogicalScale ( double  x,
double  y 
)
virtual
virtual void wxPdfDC::SetMapMode ( int  mode)
virtual
void wxPdfDC::SetMapModeStyle ( wxPdfMapModeStyle  style)
void wxPdfDC::SetMapModeStyle ( wxPdfMapModeStyle  style)
inline
virtual void wxPdfDC::SetPalette ( const wxPalette &  palette)
virtual
virtual void wxPdfDC::SetPen ( const wxPen &  pen)
virtual
void wxPdfDC::SetPrintData ( const wxPrintData &  data)
void wxPdfDC::SetResolution ( int  ppi)
void wxPdfDC::SetResolution ( int  ppi)
virtual void wxPdfDC::SetTextForeground ( const wxColour &  colour)
virtual
virtual void wxPdfDC::SetUserScale ( double  x,
double  y 
)
virtual
virtual bool wxPdfDC::StartDoc ( const wxString &  message)
virtual
virtual void wxPdfDC::StartPage ( )
virtual
bool wxPdfDC::StretchBlt ( wxCoord  xdest,
wxCoord  ydest,
wxCoord  width,
wxCoord  height,
wxBitmap *  bitmap 
)

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