wxPdfDocument 1.2.0
Public Member Functions | List of all members
wxPdfPreviewDCImpl Class Reference

#include <pdfprint.h>

Inheritance diagram for wxPdfPreviewDCImpl:

Public Member Functions

 wxPdfPreviewDCImpl (wxDC *owner, wxDCImpl &dc, wxPdfDC *pdfdc)
 
wxPdfDocumentGetPdfDocument () const
 
virtual wxRect GetPaperRect () const
 
virtual int GetResolution () const
 
virtual bool CanGetTextExtent () const
 
virtual wxCoord GetCharHeight () const
 
virtual wxCoord GetCharWidth () const
 
virtual void DoGetFontMetrics (int *height, int *ascent, int *descent, int *internalLeading, int *externalLeading, int *averageWidth) const
 
virtual void DoGetTextExtent (const wxString &string, wxCoord *x, wxCoord *y, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, const wxFont *theFont=NULL) const
 
virtual bool DoGetPartialTextExtents (const wxString &text, wxArrayInt &widths) const
 
virtual void GetMultiLineTextExtent (const wxString &string, wxCoord *width, wxCoord *height, wxCoord *heightLine=NULL, const wxFont *font=NULL) const
 
virtual wxSize GetPPI () const
 
virtual void DoGetSize (int *w, int *h) const
 
virtual void DoGetSizeMM (int *w, int *h) const
 
virtual bool IsOk () const
 
virtual bool CanDrawBitmap () const
 
virtual void Clear ()
 
virtual int GetDepth () const
 
virtual void CalcBoundingBox (wxCoord x, wxCoord y)
 
virtual void SetFont (const wxFont &font)
 
virtual const wxFont & GetFont () const
 
virtual void SetPen (const wxPen &pen)
 
virtual const wxPen & GetPen () const
 
virtual void SetBrush (const wxBrush &brush)
 
virtual const wxBrush & GetBrush () const
 
virtual void SetBackground (const wxBrush &brush)
 
virtual const wxBrush & GetBackground () const
 
virtual void SetBackgroundMode (int mode)
 
virtual int GetBackgroundMode () const
 
virtual void SetTextForeground (const wxColour &colour)
 
virtual const wxColour & GetTextForeground () const
 
virtual void SetTextBackground (const wxColour &colour)
 
virtual const wxColour & GetTextBackground () const
 
virtual void InheritAttributes (wxWindow *win)
 
virtual void SetLogicalFunction (wxRasterOperationMode function)
 
virtual wxRasterOperationMode GetLogicalFunction () const
 
virtual void DoSetClippingRegion (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
virtual void DoSetDeviceClippingRegion (const wxRegion &region)
 
virtual void DoGetClippingBox (wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) const
 
virtual void DestroyClippingRegion ()
 
virtual wxCoord DeviceToLogicalX (wxCoord x) const
 
virtual wxCoord DeviceToLogicalY (wxCoord y) const
 
virtual wxCoord DeviceToLogicalXRel (wxCoord x) const
 
virtual wxCoord DeviceToLogicalYRel (wxCoord y) const
 
virtual wxCoord LogicalToDeviceX (wxCoord x) const
 
virtual wxCoord LogicalToDeviceY (wxCoord y) const
 
virtual wxCoord LogicalToDeviceXRel (wxCoord x) const
 
virtual wxCoord LogicalToDeviceYRel (wxCoord y) const
 
virtual void SetMapMode (wxMappingMode mode)
 
virtual wxMappingMode GetMapMode () const
 
virtual void SetUserScale (double x, double y)
 
virtual void GetUserScale (double *x, double *y) const
 
virtual void SetLogicalScale (double x, double y)
 
virtual void GetLogicalScale (double *x, double *y) const
 
virtual void SetLogicalOrigin (wxCoord x, wxCoord y)
 
virtual void DoGetLogicalOrigin (wxCoord *x, wxCoord *y) const
 
virtual void SetDeviceOrigin (wxCoord x, wxCoord y)
 
virtual void DoGetDeviceOrigin (wxCoord *x, wxCoord *y) const
 
virtual void SetDeviceLocalOrigin (wxCoord x, wxCoord y)
 
virtual void ComputeScaleAndOrigin ()
 
virtual void SetAxisOrientation (bool x, bool y)
 
virtual bool DoFloodFill (wxCoord x, wxCoord y, const wxColour &col, wxFloodFillStyle 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 w, wxCoord h)
 
virtual void DoDrawEllipticArc (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double sa, double ea)
 
virtual void DoDrawRectangle (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
virtual void DoDrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double radius)
 
virtual void DoDrawEllipse (wxCoord x, wxCoord y, wxCoord w, wxCoord h)
 
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 w, wxCoord h, wxDC *source, wxCoord xsrc, wxCoord ysrc, wxRasterOperationMode rop=wxCOPY, bool useMask=false, wxCoord xsrcMask=wxDefaultCoord, wxCoord ysrcMask=wxDefaultCoord)
 
virtual bool DoStretchBlit (wxCoord xdest, wxCoord ydest, wxCoord dstWidth, wxCoord dstHeight, wxDC *source, wxCoord xsrc, wxCoord ysrc, wxCoord srcWidth, wxCoord srcHeight, wxRasterOperationMode rop=wxCOPY, bool useMask=false, wxCoord xsrcMask=wxDefaultCoord, wxCoord ysrcMask=wxDefaultCoord)
 
virtual void DoDrawLines (int n, const wxPoint points[], wxCoord xoffset, wxCoord yoffset)
 
virtual void DoDrawPolygon (int n, const wxPoint points[], wxCoord xoffset, wxCoord yoffset, wxPolygonFillMode fillStyle=wxODDEVEN_RULE)
 
virtual void DoSetClippingRegionAsRegion (const wxRegion &region)
 

Constructor & Destructor Documentation

◆ wxPdfPreviewDCImpl()

wxPdfPreviewDCImpl::wxPdfPreviewDCImpl ( wxDC * owner,
wxDCImpl & dc,
wxPdfDC * pdfdc )
inline

Member Function Documentation

◆ CalcBoundingBox()

virtual void wxPdfPreviewDCImpl::CalcBoundingBox ( wxCoord x,
wxCoord y )
inlinevirtual

◆ CanDrawBitmap()

virtual bool wxPdfPreviewDCImpl::CanDrawBitmap ( ) const
inlinevirtual

◆ CanGetTextExtent()

virtual bool wxPdfPreviewDCImpl::CanGetTextExtent ( ) const
inlinevirtual

◆ Clear()

virtual void wxPdfPreviewDCImpl::Clear ( )
inlinevirtual

◆ ComputeScaleAndOrigin()

virtual void wxPdfPreviewDCImpl::ComputeScaleAndOrigin ( )
inlinevirtual

◆ DestroyClippingRegion()

virtual void wxPdfPreviewDCImpl::DestroyClippingRegion ( )
inlinevirtual

◆ DeviceToLogicalX()

virtual wxCoord wxPdfPreviewDCImpl::DeviceToLogicalX ( wxCoord x) const
inlinevirtual

◆ DeviceToLogicalXRel()

virtual wxCoord wxPdfPreviewDCImpl::DeviceToLogicalXRel ( wxCoord x) const
inlinevirtual

◆ DeviceToLogicalY()

virtual wxCoord wxPdfPreviewDCImpl::DeviceToLogicalY ( wxCoord y) const
inlinevirtual

◆ DeviceToLogicalYRel()

virtual wxCoord wxPdfPreviewDCImpl::DeviceToLogicalYRel ( wxCoord y) const
inlinevirtual

◆ DoBlit()

virtual bool wxPdfPreviewDCImpl::DoBlit ( wxCoord xdest,
wxCoord ydest,
wxCoord w,
wxCoord h,
wxDC * source,
wxCoord xsrc,
wxCoord ysrc,
wxRasterOperationMode rop = wxCOPY,
bool useMask = false,
wxCoord xsrcMask = wxDefaultCoord,
wxCoord ysrcMask = wxDefaultCoord )
inlinevirtual

◆ DoCrossHair()

virtual void wxPdfPreviewDCImpl::DoCrossHair ( wxCoord x,
wxCoord y )
inlinevirtual

◆ DoDrawArc()

virtual void wxPdfPreviewDCImpl::DoDrawArc ( wxCoord x1,
wxCoord y1,
wxCoord x2,
wxCoord y2,
wxCoord xc,
wxCoord yc )
inlinevirtual

◆ DoDrawBitmap()

virtual void wxPdfPreviewDCImpl::DoDrawBitmap ( const wxBitmap & bmp,
wxCoord x,
wxCoord y,
bool useMask = false )
inlinevirtual

◆ DoDrawCheckMark()

virtual void wxPdfPreviewDCImpl::DoDrawCheckMark ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h )
inlinevirtual

◆ DoDrawEllipse()

virtual void wxPdfPreviewDCImpl::DoDrawEllipse ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h )
inlinevirtual

◆ DoDrawEllipticArc()

virtual void wxPdfPreviewDCImpl::DoDrawEllipticArc ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h,
double sa,
double ea )
inlinevirtual

◆ DoDrawIcon()

virtual void wxPdfPreviewDCImpl::DoDrawIcon ( const wxIcon & icon,
wxCoord x,
wxCoord y )
inlinevirtual

◆ DoDrawLine()

virtual void wxPdfPreviewDCImpl::DoDrawLine ( wxCoord x1,
wxCoord y1,
wxCoord x2,
wxCoord y2 )
inlinevirtual

◆ DoDrawLines()

virtual void wxPdfPreviewDCImpl::DoDrawLines ( int n,
const wxPoint points[],
wxCoord xoffset,
wxCoord yoffset )
inlinevirtual

◆ DoDrawPoint()

virtual void wxPdfPreviewDCImpl::DoDrawPoint ( wxCoord x,
wxCoord y )
inlinevirtual

◆ DoDrawPolygon()

virtual void wxPdfPreviewDCImpl::DoDrawPolygon ( int n,
const wxPoint points[],
wxCoord xoffset,
wxCoord yoffset,
wxPolygonFillMode fillStyle = wxODDEVEN_RULE )
inlinevirtual

◆ DoDrawRectangle()

virtual void wxPdfPreviewDCImpl::DoDrawRectangle ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h )
inlinevirtual

◆ DoDrawRotatedText()

virtual void wxPdfPreviewDCImpl::DoDrawRotatedText ( const wxString & text,
wxCoord x,
wxCoord y,
double angle )
inlinevirtual

◆ DoDrawRoundedRectangle()

virtual void wxPdfPreviewDCImpl::DoDrawRoundedRectangle ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h,
double radius )
inlinevirtual

◆ DoDrawText()

virtual void wxPdfPreviewDCImpl::DoDrawText ( const wxString & text,
wxCoord x,
wxCoord y )
inlinevirtual

◆ DoFloodFill()

virtual bool wxPdfPreviewDCImpl::DoFloodFill ( wxCoord x,
wxCoord y,
const wxColour & col,
wxFloodFillStyle style = wxFLOOD_SURFACE )
inlinevirtual

◆ DoGetClippingBox()

virtual void wxPdfPreviewDCImpl::DoGetClippingBox ( wxCoord * x,
wxCoord * y,
wxCoord * w,
wxCoord * h ) const
inlinevirtual

◆ DoGetDeviceOrigin()

virtual void wxPdfPreviewDCImpl::DoGetDeviceOrigin ( wxCoord * x,
wxCoord * y ) const
inlinevirtual

◆ DoGetFontMetrics()

virtual void wxPdfPreviewDCImpl::DoGetFontMetrics ( int * height,
int * ascent,
int * descent,
int * internalLeading,
int * externalLeading,
int * averageWidth ) const
inlinevirtual

◆ DoGetLogicalOrigin()

virtual void wxPdfPreviewDCImpl::DoGetLogicalOrigin ( wxCoord * x,
wxCoord * y ) const
inlinevirtual

◆ DoGetPartialTextExtents()

virtual bool wxPdfPreviewDCImpl::DoGetPartialTextExtents ( const wxString & text,
wxArrayInt & widths ) const
inlinevirtual

◆ DoGetPixel()

virtual bool wxPdfPreviewDCImpl::DoGetPixel ( wxCoord x,
wxCoord y,
wxColour * col ) const
inlinevirtual

◆ DoGetSize()

virtual void wxPdfPreviewDCImpl::DoGetSize ( int * w,
int * h ) const
inlinevirtual

◆ DoGetSizeMM()

virtual void wxPdfPreviewDCImpl::DoGetSizeMM ( int * w,
int * h ) const
inlinevirtual

◆ DoGetTextExtent()

virtual void wxPdfPreviewDCImpl::DoGetTextExtent ( const wxString & string,
wxCoord * x,
wxCoord * y,
wxCoord * descent = NULL,
wxCoord * externalLeading = NULL,
const wxFont * theFont = NULL ) const
inlinevirtual

◆ DoGradientFillConcentric()

virtual void wxPdfPreviewDCImpl::DoGradientFillConcentric ( const wxRect & rect,
const wxColour & initialColour,
const wxColour & destColour,
const wxPoint & circleCenter )
inlinevirtual

◆ DoGradientFillLinear()

virtual void wxPdfPreviewDCImpl::DoGradientFillLinear ( const wxRect & rect,
const wxColour & initialColour,
const wxColour & destColour,
wxDirection nDirection = wxEAST )
inlinevirtual

◆ DoSetClippingRegion()

virtual void wxPdfPreviewDCImpl::DoSetClippingRegion ( wxCoord x,
wxCoord y,
wxCoord w,
wxCoord h )
inlinevirtual

◆ DoSetClippingRegionAsRegion()

virtual void wxPdfPreviewDCImpl::DoSetClippingRegionAsRegion ( const wxRegion & region)
inlinevirtual

◆ DoSetDeviceClippingRegion()

virtual void wxPdfPreviewDCImpl::DoSetDeviceClippingRegion ( const wxRegion & region)
inlinevirtual

◆ DoStretchBlit()

virtual bool wxPdfPreviewDCImpl::DoStretchBlit ( wxCoord xdest,
wxCoord ydest,
wxCoord dstWidth,
wxCoord dstHeight,
wxDC * source,
wxCoord xsrc,
wxCoord ysrc,
wxCoord srcWidth,
wxCoord srcHeight,
wxRasterOperationMode rop = wxCOPY,
bool useMask = false,
wxCoord xsrcMask = wxDefaultCoord,
wxCoord ysrcMask = wxDefaultCoord )
inlinevirtual

◆ GetBackground()

virtual const wxBrush & wxPdfPreviewDCImpl::GetBackground ( ) const
inlinevirtual

◆ GetBackgroundMode()

virtual int wxPdfPreviewDCImpl::GetBackgroundMode ( ) const
inlinevirtual

◆ GetBrush()

virtual const wxBrush & wxPdfPreviewDCImpl::GetBrush ( ) const
inlinevirtual

◆ GetCharHeight()

virtual wxCoord wxPdfPreviewDCImpl::GetCharHeight ( ) const
inlinevirtual

◆ GetCharWidth()

virtual wxCoord wxPdfPreviewDCImpl::GetCharWidth ( ) const
inlinevirtual

◆ GetDepth()

virtual int wxPdfPreviewDCImpl::GetDepth ( ) const
inlinevirtual

◆ GetFont()

virtual const wxFont & wxPdfPreviewDCImpl::GetFont ( ) const
inlinevirtual

◆ GetLogicalFunction()

virtual wxRasterOperationMode wxPdfPreviewDCImpl::GetLogicalFunction ( ) const
inlinevirtual

◆ GetLogicalScale()

virtual void wxPdfPreviewDCImpl::GetLogicalScale ( double * x,
double * y ) const
inlinevirtual

◆ GetMapMode()

virtual wxMappingMode wxPdfPreviewDCImpl::GetMapMode ( ) const
inlinevirtual

◆ GetMultiLineTextExtent()

virtual void wxPdfPreviewDCImpl::GetMultiLineTextExtent ( const wxString & string,
wxCoord * width,
wxCoord * height,
wxCoord * heightLine = NULL,
const wxFont * font = NULL ) const
inlinevirtual

◆ GetPaperRect()

virtual wxRect wxPdfPreviewDCImpl::GetPaperRect ( ) const
inlinevirtual

◆ GetPdfDocument()

wxPdfDocument * wxPdfPreviewDCImpl::GetPdfDocument ( ) const
inline

◆ GetPen()

virtual const wxPen & wxPdfPreviewDCImpl::GetPen ( ) const
inlinevirtual

◆ GetPPI()

virtual wxSize wxPdfPreviewDCImpl::GetPPI ( ) const
inlinevirtual

◆ GetResolution()

virtual int wxPdfPreviewDCImpl::GetResolution ( ) const
inlinevirtual

◆ GetTextBackground()

virtual const wxColour & wxPdfPreviewDCImpl::GetTextBackground ( ) const
inlinevirtual

◆ GetTextForeground()

virtual const wxColour & wxPdfPreviewDCImpl::GetTextForeground ( ) const
inlinevirtual

◆ GetUserScale()

virtual void wxPdfPreviewDCImpl::GetUserScale ( double * x,
double * y ) const
inlinevirtual

◆ InheritAttributes()

virtual void wxPdfPreviewDCImpl::InheritAttributes ( wxWindow * win)
inlinevirtual

◆ IsOk()

virtual bool wxPdfPreviewDCImpl::IsOk ( ) const
inlinevirtual

◆ LogicalToDeviceX()

virtual wxCoord wxPdfPreviewDCImpl::LogicalToDeviceX ( wxCoord x) const
inlinevirtual

◆ LogicalToDeviceXRel()

virtual wxCoord wxPdfPreviewDCImpl::LogicalToDeviceXRel ( wxCoord x) const
inlinevirtual

◆ LogicalToDeviceY()

virtual wxCoord wxPdfPreviewDCImpl::LogicalToDeviceY ( wxCoord y) const
inlinevirtual

◆ LogicalToDeviceYRel()

virtual wxCoord wxPdfPreviewDCImpl::LogicalToDeviceYRel ( wxCoord y) const
inlinevirtual

◆ SetAxisOrientation()

virtual void wxPdfPreviewDCImpl::SetAxisOrientation ( bool x,
bool y )
inlinevirtual

◆ SetBackground()

virtual void wxPdfPreviewDCImpl::SetBackground ( const wxBrush & brush)
inlinevirtual

◆ SetBackgroundMode()

virtual void wxPdfPreviewDCImpl::SetBackgroundMode ( int mode)
inlinevirtual

◆ SetBrush()

virtual void wxPdfPreviewDCImpl::SetBrush ( const wxBrush & brush)
inlinevirtual

◆ SetDeviceLocalOrigin()

virtual void wxPdfPreviewDCImpl::SetDeviceLocalOrigin ( wxCoord x,
wxCoord y )
inlinevirtual

◆ SetDeviceOrigin()

virtual void wxPdfPreviewDCImpl::SetDeviceOrigin ( wxCoord x,
wxCoord y )
inlinevirtual

◆ SetFont()

virtual void wxPdfPreviewDCImpl::SetFont ( const wxFont & font)
inlinevirtual

◆ SetLogicalFunction()

virtual void wxPdfPreviewDCImpl::SetLogicalFunction ( wxRasterOperationMode function)
inlinevirtual

◆ SetLogicalOrigin()

virtual void wxPdfPreviewDCImpl::SetLogicalOrigin ( wxCoord x,
wxCoord y )
inlinevirtual

◆ SetLogicalScale()

virtual void wxPdfPreviewDCImpl::SetLogicalScale ( double x,
double y )
inlinevirtual

◆ SetMapMode()

virtual void wxPdfPreviewDCImpl::SetMapMode ( wxMappingMode mode)
inlinevirtual

◆ SetPen()

virtual void wxPdfPreviewDCImpl::SetPen ( const wxPen & pen)
inlinevirtual

◆ SetTextBackground()

virtual void wxPdfPreviewDCImpl::SetTextBackground ( const wxColour & colour)
inlinevirtual

◆ SetTextForeground()

virtual void wxPdfPreviewDCImpl::SetTextForeground ( const wxColour & colour)
inlinevirtual

◆ SetUserScale()

virtual void wxPdfPreviewDCImpl::SetUserScale ( double x,
double y )
inlinevirtual

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