crashrpt2
Public Member Functions | List of all members
WTL::CPrinterDC Class Reference
Inheritance diagram for WTL::CPrinterDC:
WTL::CDCT< t_bManaged >

Public Member Functions

 CPrinterDC (HANDLE hPrinter, const DEVMODE *pdm=NULL)
 
- Public Member Functions inherited from WTL::CDCT< t_bManaged >
 CDCT (HDC hDC=NULL)
 
CDCT< t_bManaged > & operator= (HDC hDC)
 
void Attach (HDC hDC)
 
HDC Detach ()
 
 operator HDC () const
 
bool IsNull () const
 
HWND WindowFromDC () const
 
CPenHandle GetCurrentPen () const
 
CBrushHandle GetCurrentBrush () const
 
CPaletteHandle GetCurrentPalette () const
 
CFontHandle GetCurrentFont () const
 
CBitmapHandle GetCurrentBitmap () const
 
HDC CreateDC (LPCTSTR lpszDriverName, LPCTSTR lpszDeviceName, LPCTSTR lpszOutput, const DEVMODE *lpInitData)
 
HDC CreateCompatibleDC (HDC hDC=NULL)
 
BOOL DeleteDC ()
 
int SaveDC ()
 
BOOL RestoreDC (int nSavedDC)
 
int GetDeviceCaps (int nIndex) const
 
UINT SetBoundsRect (LPCRECT lpRectBounds, UINT flags)
 
UINT GetBoundsRect (LPRECT lpRectBounds, UINT flags) const
 
BOOL ResetDC (const DEVMODE *lpDevMode)
 
BOOL GetBrushOrg (LPPOINT lpPoint) const
 
BOOL SetBrushOrg (int x, int y, LPPOINT lpPoint=NULL)
 
BOOL SetBrushOrg (POINT point, LPPOINT lpPointRet=NULL)
 
int EnumObjects (int nObjectType, int(CALLBACK *lpfn)(LPVOID, LPARAM), LPARAM lpData)
 
HPEN SelectPen (HPEN hPen)
 
HBRUSH SelectBrush (HBRUSH hBrush)
 
HFONT SelectFont (HFONT hFont)
 
HBITMAP SelectBitmap (HBITMAP hBitmap)
 
int SelectRgn (HRGN hRgn)
 
HPEN SelectStockPen (int nPen)
 
HBRUSH SelectStockBrush (int nBrush)
 
HFONT SelectStockFont (int nFont)
 
HPALETTE SelectStockPalette (int nPalette, BOOL bForceBackground)
 
COLORREF GetNearestColor (COLORREF crColor) const
 
HPALETTE SelectPalette (HPALETTE hPalette, BOOL bForceBackground)
 
UINT RealizePalette ()
 
void UpdateColors ()
 
COLORREF GetBkColor () const
 
int GetBkMode () const
 
int GetPolyFillMode () const
 
int GetROP2 () const
 
int GetStretchBltMode () const
 
COLORREF GetTextColor () const
 
COLORREF SetBkColor (COLORREF crColor)
 
int SetBkMode (int nBkMode)
 
int SetPolyFillMode (int nPolyFillMode)
 
int SetROP2 (int nDrawMode)
 
int SetStretchBltMode (int nStretchMode)
 
COLORREF SetTextColor (COLORREF crColor)
 
BOOL GetColorAdjustment (LPCOLORADJUSTMENT lpColorAdjust) const
 
BOOL SetColorAdjustment (const COLORADJUSTMENT *lpColorAdjust)
 
int GetMapMode () const
 
BOOL GetViewportOrg (LPPOINT lpPoint) const
 
int SetMapMode (int nMapMode)
 
BOOL SetViewportOrg (int x, int y, LPPOINT lpPoint=NULL)
 
BOOL SetViewportOrg (POINT point, LPPOINT lpPointRet=NULL)
 
BOOL OffsetViewportOrg (int nWidth, int nHeight, LPPOINT lpPoint=NULL)
 
BOOL GetViewportExt (LPSIZE lpSize) const
 
BOOL SetViewportExt (int x, int y, LPSIZE lpSize=NULL)
 
BOOL SetViewportExt (SIZE size, LPSIZE lpSizeRet=NULL)
 
BOOL ScaleViewportExt (int xNum, int xDenom, int yNum, int yDenom, LPSIZE lpSize=NULL)
 
BOOL GetWindowOrg (LPPOINT lpPoint) const
 
BOOL SetWindowOrg (int x, int y, LPPOINT lpPoint=NULL)
 
BOOL SetWindowOrg (POINT point, LPPOINT lpPointRet=NULL)
 
BOOL OffsetWindowOrg (int nWidth, int nHeight, LPPOINT lpPoint=NULL)
 
BOOL GetWindowExt (LPSIZE lpSize) const
 
BOOL SetWindowExt (int x, int y, LPSIZE lpSize=NULL)
 
BOOL SetWindowExt (SIZE size, LPSIZE lpSizeRet=NULL)
 
BOOL ScaleWindowExt (int xNum, int xDenom, int yNum, int yDenom, LPSIZE lpSize=NULL)
 
BOOL DPtoLP (LPPOINT lpPoints, int nCount=1) const
 
BOOL DPtoLP (LPRECT lpRect) const
 
BOOL DPtoLP (LPSIZE lpSize) const
 
BOOL LPtoDP (LPPOINT lpPoints, int nCount=1) const
 
BOOL LPtoDP (LPRECT lpRect) const
 
BOOL LPtoDP (LPSIZE lpSize) const
 
void DPtoHIMETRIC (LPSIZE lpSize) const
 
void HIMETRICtoDP (LPSIZE lpSize) const
 
void LPtoHIMETRIC (LPSIZE lpSize) const
 
void HIMETRICtoLP (LPSIZE lpSize) const
 
BOOL FillRgn (HRGN hRgn, HBRUSH hBrush)
 
BOOL FrameRgn (HRGN hRgn, HBRUSH hBrush, int nWidth, int nHeight)
 
BOOL InvertRgn (HRGN hRgn)
 
BOOL PaintRgn (HRGN hRgn)
 
int GetClipBox (LPRECT lpRect) const
 
int GetClipRgn (CRgn &region) const
 
BOOL PtVisible (int x, int y) const
 
BOOL PtVisible (POINT point) const
 
BOOL RectVisible (LPCRECT lpRect) const
 
int SelectClipRgn (HRGN hRgn)
 
int ExcludeClipRect (int x1, int y1, int x2, int y2)
 
int ExcludeClipRect (LPCRECT lpRect)
 
int ExcludeUpdateRgn (HWND hWnd)
 
int IntersectClipRect (int x1, int y1, int x2, int y2)
 
int IntersectClipRect (LPCRECT lpRect)
 
int OffsetClipRgn (int x, int y)
 
int OffsetClipRgn (SIZE size)
 
int SelectClipRgn (HRGN hRgn, int nMode)
 
BOOL GetCurrentPosition (LPPOINT lpPoint) const
 
BOOL MoveTo (int x, int y, LPPOINT lpPoint=NULL)
 
BOOL MoveTo (POINT point, LPPOINT lpPointRet=NULL)
 
BOOL LineTo (int x, int y)
 
BOOL LineTo (POINT point)
 
BOOL Arc (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
 
BOOL Arc (LPCRECT lpRect, POINT ptStart, POINT ptEnd)
 
BOOL Polyline (const POINT *lpPoints, int nCount)
 
BOOL AngleArc (int x, int y, int nRadius, float fStartAngle, float fSweepAngle)
 
BOOL ArcTo (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
 
BOOL ArcTo (LPCRECT lpRect, POINT ptStart, POINT ptEnd)
 
int GetArcDirection () const
 
int SetArcDirection (int nArcDirection)
 
BOOL PolyDraw (const POINT *lpPoints, const BYTE *lpTypes, int nCount)
 
BOOL PolylineTo (const POINT *lpPoints, int nCount)
 
BOOL PolyPolyline (const POINT *lpPoints, const DWORD *lpPolyPoints, int nCount)
 
BOOL PolyBezier (const POINT *lpPoints, int nCount)
 
BOOL PolyBezierTo (const POINT *lpPoints, int nCount)
 
BOOL FillRect (LPCRECT lpRect, HBRUSH hBrush)
 
BOOL FillRect (LPCRECT lpRect, int nColorIndex)
 
BOOL FrameRect (LPCRECT lpRect, HBRUSH hBrush)
 
BOOL InvertRect (LPCRECT lpRect)
 
BOOL DrawIcon (int x, int y, HICON hIcon)
 
BOOL DrawIcon (POINT point, HICON hIcon)
 
BOOL DrawIconEx (int x, int y, HICON hIcon, int cxWidth, int cyWidth, UINT uStepIfAniCur=0, HBRUSH hbrFlickerFreeDraw=NULL, UINT uFlags=DI_NORMAL)
 
BOOL DrawIconEx (POINT point, HICON hIcon, SIZE size, UINT uStepIfAniCur=0, HBRUSH hbrFlickerFreeDraw=NULL, UINT uFlags=DI_NORMAL)
 
BOOL DrawState (POINT pt, SIZE size, HBITMAP hBitmap, UINT nFlags, HBRUSH hBrush=NULL)
 
BOOL DrawState (POINT pt, SIZE size, HICON hIcon, UINT nFlags, HBRUSH hBrush=NULL)
 
BOOL DrawState (POINT pt, SIZE size, LPCTSTR lpszText, UINT nFlags, BOOL bPrefixText=TRUE, int nTextLen=0, HBRUSH hBrush=NULL)
 
BOOL DrawState (POINT pt, SIZE size, DRAWSTATEPROC lpDrawProc, LPARAM lData, UINT nFlags, HBRUSH hBrush=NULL)
 
BOOL Chord (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
 
BOOL Chord (LPCRECT lpRect, POINT ptStart, POINT ptEnd)
 
void DrawFocusRect (LPCRECT lpRect)
 
BOOL Ellipse (int x1, int y1, int x2, int y2)
 
BOOL Ellipse (LPCRECT lpRect)
 
BOOL Pie (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
 
BOOL Pie (LPCRECT lpRect, POINT ptStart, POINT ptEnd)
 
BOOL Polygon (const POINT *lpPoints, int nCount)
 
BOOL PolyPolygon (const POINT *lpPoints, const INT *lpPolyCounts, int nCount)
 
BOOL Rectangle (int x1, int y1, int x2, int y2)
 
BOOL Rectangle (LPCRECT lpRect)
 
BOOL RoundRect (int x1, int y1, int x2, int y2, int x3, int y3)
 
BOOL RoundRect (LPCRECT lpRect, POINT point)
 
BOOL PatBlt (int x, int y, int nWidth, int nHeight, DWORD dwRop)
 
BOOL BitBlt (int x, int y, int nWidth, int nHeight, HDC hSrcDC, int xSrc, int ySrc, DWORD dwRop)
 
BOOL StretchBlt (int x, int y, int nWidth, int nHeight, HDC hSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop)
 
COLORREF GetPixel (int x, int y) const
 
COLORREF GetPixel (POINT point) const
 
COLORREF SetPixel (int x, int y, COLORREF crColor)
 
COLORREF SetPixel (POINT point, COLORREF crColor)
 
BOOL FloodFill (int x, int y, COLORREF crColor)
 
BOOL ExtFloodFill (int x, int y, COLORREF crColor, UINT nFillType)
 
BOOL MaskBlt (int x, int y, int nWidth, int nHeight, HDC hSrcDC, int xSrc, int ySrc, HBITMAP hMaskBitmap, int xMask, int yMask, DWORD dwRop)
 
BOOL PlgBlt (LPPOINT lpPoint, HDC hSrcDC, int xSrc, int ySrc, int nWidth, int nHeight, HBITMAP hMaskBitmap, int xMask, int yMask)
 
BOOL SetPixelV (int x, int y, COLORREF crColor)
 
BOOL SetPixelV (POINT point, COLORREF crColor)
 
BOOL TransparentBlt (int x, int y, int nWidth, int nHeight, HDC hSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, UINT crTransparent)
 
BOOL GradientFill (const PTRIVERTEX pVertices, DWORD nVertices, void *pMeshElements, DWORD nMeshElements, DWORD dwMode)
 
BOOL GradientFillRect (RECT &rect, COLORREF clr1, COLORREF clr2, bool bHorizontal)
 
BOOL AlphaBlend (int x, int y, int nWidth, int nHeight, HDC hSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, BLENDFUNCTION bf)
 
BOOL DitherBlt (int x, int y, int nWidth, int nHeight, HDC hSrcDC, HBITMAP hBitmap, int xSrc, int ySrc, HBRUSH hBrushBackground=::GetSysColorBrush(COLOR_3DFACE), HBRUSH hBrush3DEffect=::GetSysColorBrush(COLOR_3DHILIGHT), HBRUSH hBrushDisabledImage=::GetSysColorBrush(COLOR_3DSHADOW))
 
BOOL TextOut (int x, int y, LPCTSTR lpszString, int nCount=-1)
 
BOOL ExtTextOut (int x, int y, UINT nOptions, LPCRECT lpRect, LPCTSTR lpszString, UINT nCount=-1, LPINT lpDxWidths=NULL)
 
SIZE TabbedTextOut (int x, int y, LPCTSTR lpszString, int nCount=-1, int nTabPositions=0, LPINT lpnTabStopPositions=NULL, int nTabOrigin=0)
 
int DrawText (LPCTSTR lpstrText, int cchText, LPRECT lpRect, UINT uFormat)
 
int DrawText (LPTSTR lpstrText, int cchText, LPRECT lpRect, UINT uFormat)
 
int DrawTextEx (LPTSTR lpstrText, int cchText, LPRECT lpRect, UINT uFormat, LPDRAWTEXTPARAMS lpDTParams=NULL)
 
BOOL GetTextExtent (LPCTSTR lpszString, int nCount, LPSIZE lpSize) const
 
BOOL GetTextExtentExPoint (LPCTSTR lpszString, int cchString, LPSIZE lpSize, int nMaxExtent, LPINT lpnFit=NULL, LPINT alpDx=NULL)
 
DWORD GetTabbedTextExtent (LPCTSTR lpszString, int nCount=-1, int nTabPositions=0, LPINT lpnTabStopPositions=NULL) const
 
BOOL GrayString (HBRUSH hBrush, BOOL(CALLBACK *lpfnOutput)(HDC, LPARAM, int), LPARAM lpData, int nCount, int x, int y, int nWidth, int nHeight)
 
UINT GetTextAlign () const
 
UINT SetTextAlign (UINT nFlags)
 
int GetTextFace (LPTSTR lpszFacename, int nCount) const
 
int GetTextFaceLen () const
 
BOOL GetTextMetrics (LPTEXTMETRIC lpMetrics) const
 
int SetTextJustification (int nBreakExtra, int nBreakCount)
 
int GetTextCharacterExtra () const
 
int SetTextCharacterExtra (int nCharExtra)
 
BOOL DrawEdge (LPRECT lpRect, UINT nEdge, UINT nFlags)
 
BOOL DrawFrameControl (LPRECT lpRect, UINT nType, UINT nState)
 
BOOL ScrollDC (int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, HRGN hRgnUpdate, LPRECT lpRectUpdate)
 
BOOL GetCharWidth (UINT nFirstChar, UINT nLastChar, LPINT lpBuffer) const
 
BOOL GetCharWidth32 (UINT nFirstChar, UINT nLastChar, LPINT lpBuffer) const
 
DWORD SetMapperFlags (DWORD dwFlag)
 
BOOL GetAspectRatioFilter (LPSIZE lpSize) const
 
BOOL GetCharABCWidths (UINT nFirstChar, UINT nLastChar, LPABC lpabc) const
 
DWORD GetFontData (DWORD dwTable, DWORD dwOffset, LPVOID lpData, DWORD cbData) const
 
int GetKerningPairs (int nPairs, LPKERNINGPAIR lpkrnpair) const
 
UINT GetOutlineTextMetrics (UINT cbData, LPOUTLINETEXTMETRIC lpotm) const
 
DWORD GetGlyphOutline (UINT nChar, UINT nFormat, LPGLYPHMETRICS lpgm, DWORD cbBuffer, LPVOID lpBuffer, const MAT2 *lpmat2) const
 
BOOL GetCharABCWidths (UINT nFirstChar, UINT nLastChar, LPABCFLOAT lpABCF) const
 
BOOL GetCharWidth (UINT nFirstChar, UINT nLastChar, float *lpFloatBuffer) const
 
int Escape (int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData)
 
int Escape (int nEscape, int nInputSize, LPCSTR lpszInputData, int nOutputSize, LPSTR lpszOutputData)
 
int DrawEscape (int nEscape, int nInputSize, LPCSTR lpszInputData)
 
int StartDoc (LPCTSTR lpszDocName)
 
int StartDoc (LPDOCINFO lpDocInfo)
 
int StartPage ()
 
int EndPage ()
 
int SetAbortProc (BOOL(CALLBACK *lpfn)(HDC, int))
 
int AbortDoc ()
 
int EndDoc ()
 
BOOL PlayMetaFile (HMETAFILE hMF)
 
BOOL PlayMetaFile (HENHMETAFILE hEnhMetaFile, LPCRECT lpBounds)
 
BOOL AddMetaFileComment (UINT nDataSize, const BYTE *pCommentData)
 
BOOL AbortPath ()
 
BOOL BeginPath ()
 
BOOL CloseFigure ()
 
BOOL EndPath ()
 
BOOL FillPath ()
 
BOOL FlattenPath ()
 
BOOL StrokeAndFillPath ()
 
BOOL StrokePath ()
 
BOOL WidenPath ()
 
BOOL GetMiterLimit (PFLOAT pfMiterLimit) const
 
BOOL SetMiterLimit (float fMiterLimit)
 
int GetPath (LPPOINT lpPoints, LPBYTE lpTypes, int nCount) const
 
BOOL SelectClipPath (int nMode)
 
void DrawDragRect (LPCRECT lpRect, SIZE size, LPCRECT lpRectLast, SIZE sizeLast, HBRUSH hBrush=NULL, HBRUSH hBrushLast=NULL)
 
void FillSolidRect (LPCRECT lpRect, COLORREF clr)
 
void FillSolidRect (int x, int y, int cx, int cy, COLORREF clr)
 
void Draw3dRect (LPCRECT lpRect, COLORREF clrTopLeft, COLORREF clrBottomRight)
 
void Draw3dRect (int x, int y, int cx, int cy, COLORREF clrTopLeft, COLORREF clrBottomRight)
 
int SetDIBitsToDevice (int x, int y, DWORD dwWidth, DWORD dwHeight, int xSrc, int ySrc, UINT uStartScan, UINT cScanLines, CONST VOID *lpvBits, CONST BITMAPINFO *lpbmi, UINT uColorUse)
 
int StretchDIBits (int x, int y, int nWidth, int nHeight, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, CONST VOID *lpvBits, CONST BITMAPINFO *lpbmi, UINT uColorUse, DWORD dwRop)
 
UINT GetDIBColorTable (UINT uStartIndex, UINT cEntries, RGBQUAD *pColors) const
 
UINT SetDIBColorTable (UINT uStartIndex, UINT cEntries, CONST RGBQUAD *pColors)
 
int ChoosePixelFormat (CONST PIXELFORMATDESCRIPTOR *ppfd)
 
int DescribePixelFormat (int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd)
 
int GetPixelFormat () const
 
BOOL SetPixelFormat (int iPixelFormat, CONST PIXELFORMATDESCRIPTOR *ppfd)
 
BOOL SwapBuffers ()
 
HGLRC wglCreateContext ()
 
HGLRC wglCreateLayerContext (int iLayerPlane)
 
BOOL wglMakeCurrent (HGLRC hglrc)
 
BOOL wglUseFontBitmaps (DWORD dwFirst, DWORD dwCount, DWORD listBase)
 
BOOL wglUseFontOutlines (DWORD dwFirst, DWORD dwCount, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf)
 
BOOL wglDescribeLayerPlane (int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd)
 
int wglSetLayerPaletteEntries (int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pclr)
 
int wglGetLayerPaletteEntries (int iLayerPlane, int iStart, int cEntries, COLORREF *pclr)
 
BOOL wglRealizeLayerPalette (int iLayerPlane, BOOL bRealize)
 
BOOL wglSwapLayerBuffers (UINT uPlanes)
 

Additional Inherited Members

- Static Public Member Functions inherited from WTL::CDCT< t_bManaged >
static int CALLBACK EnumMetaFileProc (HDC hDC, HANDLETABLE *pHandleTable, METARECORD *pMetaRec, int nHandles, LPARAM lParam)
 
static CBrushHandle PASCAL GetHalftoneBrush ()
 
- Public Attributes inherited from WTL::CDCT< t_bManaged >
HDC m_hDC
 

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