MFC
Class CDC
CObject
|
+--CDC
in AFXWIN.H
- Direct Known Subclasses:
- CClientDC, CMetaFileDC, CPaintDC, CPreviewDC, CWindowDC
- class CDC
- extends CObject
The device context
|
Constructor Summary |
CDC()
|
virtual ~CDC()
|
|
Method Summary |
int |
AbortDoc()
|
BOOL |
AbortPath()
|
BOOL |
AddMetaFileComment( UINT nDataSize, const BYTE* pCommentData )
|
BOOL |
AngleArc( int x, int y, int nRadius, float fStartAngle, float fSweepAngle )
|
BOOL |
Arc( LPCRECT lpRect, POINT ptStart, POINT ptEnd )
|
BOOL |
Arc( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 )
|
BOOL |
ArcTo( LPCRECT lpRect, POINT ptStart, POINT ptEnd )
|
BOOL |
ArcTo( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 )
|
BOOL |
Attach( HDC hDC )
|
BOOL |
BeginPath()
|
BOOL |
BitBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, DWORD dwRop )
|
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 )
|
BOOL |
CloseFigure()
|
BOOL |
CreateCompatibleDC( CDC* pDC )
|
BOOL |
CreateDC( LPCTSTR lpszDriverName, LPCTSTR lpszDeviceName, LPCTSTR lpszOutput, const void* lpInitData )
|
BOOL |
CreateIC( LPCTSTR lpszDriverName, LPCTSTR lpszDeviceName, LPCTSTR lpszOutput, const void* lpInitData )
|
BOOL |
DeleteDC()
|
static void PASCAL |
DeleteTempMap()
|
HDC |
Detach()
|
void |
DPtoHIMETRIC( LPSIZE lpSize ) const
|
void |
DPtoLP( LPSIZE lpSize ) const
|
void |
DPtoLP( LPRECT lpRect ) const
|
void |
DPtoLP( LPPOINT lpPoints, int nCount = 1 ) const
|
void |
Draw3dRect( int x, int y, int cx, int cy, COLORREF clrTopLeft, COLORREF clrBottomRight )
|
void |
Draw3dRect( LPCRECT lpRect, COLORREF clrTopLeft, COLORREF clrBottomRight )
|
void |
DrawDragRect( LPCRECT lpRect, SIZE size, LPCRECT lpRectLast, SIZE sizeLast, CBrush* pBrush = NULL, CBrush* pBrushLast = NULL )
|
BOOL |
DrawEdge( LPRECT lpRect, UINT nEdge, UINT nFlags )
|
int |
DrawEscape( int nEscape, int nInputSize, LPCSTR lpszInputData )
|
void |
DrawFocusRect( LPCRECT lpRect )
|
BOOL |
DrawFrameControl( LPRECT lpRect, UINT nType, UINT nState )
|
BOOL |
DrawIcon( POINT point, HICON hIcon )
|
BOOL |
DrawIcon( int x, int y, HICON hIcon )
|
BOOL |
DrawState( CPoint pt, CSize size, HICON hIcon, UINT nFlags, CBrush* pBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, CBitmap* pBitmap, UINT nFlags, CBrush* pBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, DRAWSTATEPROC lpDrawProc, LPARAM lData, UINT nFlags, HBRUSH hBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, HICON hIcon, UINT nFlags, HBRUSH hBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, HBITMAP hBitmap, UINT nFlags, HBRUSH hBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, LPCTSTR lpszText, UINT nFlags, BOOL bPrefixText = TRUE, int nTextLen = 0, HBRUSH hBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, LPCTSTR lpszText, UINT nFlags, BOOL bPrefixText = TRUE, int nTextLen = 0, CBrush* pBrush = NULL )
|
BOOL |
DrawState( CPoint pt, CSize size, DRAWSTATEPROC lpDrawProc, LPARAM lData, UINT nFlags, CBrush* pBrush = NULL )
|
int |
DrawText( const CString& str, LPRECT lpRect, UINT nFormat )
|
virtual int |
DrawText( LPCTSTR lpszString, int nCount, LPRECT lpRect, UINT nFormat )
|
BOOL |
Ellipse( int x1, int y1, int x2, int y2 )
|
BOOL |
Ellipse( LPCRECT lpRect )
|
int |
EndDoc()
|
int |
EndPage()
|
BOOL |
EndPath()
|
int |
EnumObjects( int nObjectType, int( CALLBACK* lpfn )( LPVOID, LPARAM ), LPARAM lpData )
|
int |
Escape( int nEscape, int nInputSize, LPCSTR lpszInputData, int nOutputSize, LPSTR lpszOutputData )
|
virtual int |
Escape( int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData )
|
int |
ExcludeClipRect( int x1, int y1, int x2, int y2 )
|
int |
ExcludeClipRect( LPCRECT lpRect )
|
int |
ExcludeUpdateRgn( CWnd* pWnd )
|
BOOL |
ExtFloodFill( int x, int y, COLORREF crColor, UINT nFillType )
|
virtual BOOL |
ExtTextOut( int x, int y, UINT nOptions, LPCRECT lpRect, LPCTSTR lpszString, UINT nCount, LPINT lpDxWidths )
|
BOOL |
ExtTextOut( int x, int y, UINT nOptions, LPCRECT lpRect, const CString& str, LPINT lpDxWidths )
|
BOOL |
FillPath()
|
void |
FillRect( LPCRECT lpRect, CBrush* pBrush )
|
BOOL |
FillRgn( CRgn* pRgn, CBrush* pBrush )
|
void |
FillSolidRect( LPCRECT lpRect, COLORREF clr )
|
void |
FillSolidRect( int x, int y, int cx, int cy, COLORREF clr )
|
BOOL |
FlattenPath()
|
BOOL |
FloodFill( int x, int y, COLORREF crColor )
|
void |
FrameRect( LPCRECT lpRect, CBrush* pBrush )
|
BOOL |
FrameRgn( CRgn* pRgn, CBrush* pBrush, int nWidth, int nHeight )
|
static CDC* PASCAL |
FromHandle( HDC hDC )
|
int |
GetArcDirection() const
|
CSize |
GetAspectRatioFilter() const
|
COLORREF |
GetBkColor() const
|
int |
GetBkMode() const
|
UINT |
GetBoundsRect( LPRECT lpRectBounds, UINT flags )
|
CPoint |
GetBrushOrg() const
|
BOOL |
GetCharABCWidths( UINT nFirstChar, UINT nLastChar, LPABCFLOAT lpABCF ) const
|
BOOL |
GetCharABCWidths( UINT nFirstChar, UINT nLastChar, LPABC lpabc ) const
|
BOOL |
GetCharWidth( UINT nFirstChar, UINT nLastChar, float* lpFloatBuffer ) const
|
BOOL |
GetCharWidth( UINT nFirstChar, UINT nLastChar, LPINT lpBuffer ) const
|
virtual int |
GetClipBox( LPRECT lpRect ) const
|
BOOL |
GetColorAdjustment( LPCOLORADJUSTMENT lpColorAdjust ) const
|
CBitmap* |
GetCurrentBitmap() const
|
CBrush* |
GetCurrentBrush() const
|
CFont* |
GetCurrentFont() const
|
CPalette* |
GetCurrentPalette() const
|
CPen* |
GetCurrentPen() const
|
CPoint |
GetCurrentPosition() const
|
int |
GetDeviceCaps( int nIndex ) const
|
DWORD |
GetFontData( DWORD dwTable, DWORD dwOffset, LPVOID lpData, DWORD cbData ) const
|
DWORD |
GetGlyphOutline( UINT nChar, UINT nFormat, LPGLYPHMETRICS lpgm, DWORD cbBuffer, LPVOID lpBuffer, const MAT2* lpmat2 ) const
|
static CBrush* PASCAL |
GetHalftoneBrush()
|
int |
GetKerningPairs( int nPairs, LPKERNINGPAIR lpkrnpair ) const
|
DWORD |
GetLayout() const
|
int |
GetMapMode() const
|
float |
GetMiterLimit() const
|
COLORREF |
GetNearestColor( COLORREF crColor ) const
|
UINT |
GetOutlineTextMetrics( UINT cbData, LPOUTLINETEXTMETRIC lpotm ) const
|
BOOL |
GetOutputCharWidth( UINT nFirstChar, UINT nLastChar, LPINT lpBuffer ) const
|
CSize |
GetOutputTabbedTextExtent( const CString& str, int nTabPositions, LPINT lpnTabStopPositions ) const
|
CSize |
GetOutputTabbedTextExtent( LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions ) const
|
CSize |
GetOutputTextExtent( LPCTSTR lpszString, int nCount ) const
|
CSize |
GetOutputTextExtent( const CString& str ) const
|
BOOL |
GetOutputTextMetrics( LPTEXTMETRIC lpMetrics ) const
|
int |
GetPath( LPPOINT lpPoints, LPBYTE lpTypes, int nCount ) const
|
COLORREF |
GetPixel( POINT point ) const
|
COLORREF |
GetPixel( int x, int y ) const
|
int |
GetPolyFillMode() const
|
int |
GetROP2() const
|
HDC |
GetSafeHdc() const
|
int |
GetStretchBltMode() const
|
CSize |
GetTabbedTextExtent( const CString& str, int nTabPositions, LPINT lpnTabStopPositions ) const
|
CSize |
GetTabbedTextExtent( LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions ) const
|
UINT |
GetTextAlign() const
|
int |
GetTextCharacterExtra() const
|
COLORREF |
GetTextColor() const
|
CSize |
GetTextExtent( LPCTSTR lpszString, int nCount ) const
|
CSize |
GetTextExtent( const CString& str ) const
|
int |
GetTextFace( CString& rString ) const
|
int |
GetTextFace( int nCount, LPTSTR lpszFacename ) const
|
BOOL |
GetTextMetrics( LPTEXTMETRIC lpMetrics ) const
|
CSize |
GetViewportExt() const
|
CPoint |
GetViewportOrg() const
|
CWnd* |
GetWindow() const
|
CSize |
GetWindowExt() const
|
CPoint |
GetWindowOrg() const
|
virtual BOOL |
GrayString( CBrush* pBrush, BOOL( CALLBACK* lpfnOutput )( HDC, LPARAM, int ), LPARAM lpData, int nCount, int x, int y, int nWidth, int nHeight )
|
operator |
HDC() const
|
void |
HIMETRICtoDP( LPSIZE lpSize ) const
|
void |
HIMETRICtoLP( LPSIZE lpSize ) const
|
int |
IntersectClipRect( LPCRECT lpRect )
|
int |
IntersectClipRect( int x1, int y1, int x2, int y2 )
|
void |
InvertRect( LPCRECT lpRect )
|
BOOL |
InvertRgn( CRgn* pRgn )
|
BOOL |
IsPrinting() const
|
BOOL |
LineTo( int x, int y )
|
BOOL |
LineTo( POINT point )
|
void |
LPtoDP( LPRECT lpRect ) const
|
void |
LPtoDP( LPSIZE lpSize ) const
|
void |
LPtoDP( LPPOINT lpPoints, int nCount = 1 ) const
|
void |
LPtoHIMETRIC( LPSIZE lpSize ) const
|
BOOL |
MaskBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, CBitmap& maskBitmap, int xMask, int yMask, DWORD dwRop )
|
CPoint |
MoveTo( int x, int y )
|
CPoint |
MoveTo( POINT point )
|
int |
OffsetClipRgn( int x, int y )
|
int |
OffsetClipRgn( SIZE size )
|
virtual CPoint |
OffsetViewportOrg( int nWidth, int nHeight )
|
CPoint |
OffsetWindowOrg( int nWidth, int nHeight )
|
BOOL |
PaintRgn( CRgn* pRgn )
|
BOOL |
PatBlt( int x, int y, int nWidth, int nHeight, DWORD dwRop )
|
BOOL |
Pie( LPCRECT lpRect, POINT ptStart, POINT ptEnd )
|
BOOL |
Pie( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 )
|
BOOL |
PlayMetaFile( HENHMETAFILE hEnhMetaFile, LPCRECT lpBounds )
|
BOOL |
PlayMetaFile( HMETAFILE hMF )
|
BOOL |
PlgBlt( LPPOINT lpPoint, CDC* pSrcDC, int xSrc, int ySrc, int nWidth, int nHeight, CBitmap& maskBitmap, int xMask, int yMask )
|
BOOL |
PolyBezier( const POINT* lpPoints, int nCount )
|
BOOL |
PolyBezierTo( const POINT* lpPoints, int nCount )
|
BOOL |
PolyDraw( const POINT* lpPoints, const BYTE* lpTypes, int nCount )
|
BOOL |
Polygon( LPPOINT lpPoints, int nCount )
|
BOOL |
Polyline( LPPOINT lpPoints, int nCount )
|
BOOL |
PolylineTo( const POINT* lpPoints, int nCount )
|
BOOL |
PolyPolygon( LPPOINT lpPoints, LPINT lpPolyCounts, int nCount )
|
BOOL |
PolyPolyline( const POINT* lpPoints, const DWORD* lpPolyPoints, int nCount )
|
BOOL |
PtVisible( POINT point ) const
|
virtual BOOL |
PtVisible( int x, int y ) const
|
UINT |
RealizePalette()
|
BOOL |
Rectangle( int x1, int y1, int x2, int y2 )
|
BOOL |
Rectangle( LPCRECT lpRect )
|
virtual BOOL |
RectVisible( LPCRECT lpRect ) const
|
virtual void |
ReleaseAttribDC()
|
virtual void |
ReleaseOutputDC()
|
BOOL |
ResetDC( const DEVMODE* lpDevMode )
|
virtual BOOL |
RestoreDC( int nSavedDC )
|
BOOL |
RoundRect( int x1, int y1, int x2, int y2, int x3, int y3 )
|
BOOL |
RoundRect( LPCRECT lpRect, POINT point )
|
virtual int |
SaveDC()
|
virtual CSize |
ScaleViewportExt( int xNum, int xDenom, int yNum, int yDenom )
|
virtual CSize |
ScaleWindowExt( int xNum, int xDenom, int yNum, int yDenom )
|
BOOL |
ScrollDC( int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, CRgn* pRgnUpdate, LPRECT lpRectUpdate )
|
BOOL |
SelectClipPath( int nMode )
|
int |
SelectClipRgn( CRgn* pRgn )
|
int |
SelectClipRgn( CRgn* pRgn, int nMode )
|
protected static CGdiObject* PASCAL |
SelectGdiObject( HDC hDC, HGDIOBJ h )
|
CGdiObject* |
SelectObject( CGdiObject* pObject )
|
int |
SelectObject( CRgn* pRgn )
|
HGDIOBJ |
SelectObject( HGDIOBJ )
|
CPen* |
SelectObject( CPen* pPen )
|
CBitmap* |
SelectObject( CBitmap* pBitmap )
|
virtual CFont* |
SelectObject( CFont* pFont )
|
CBrush* |
SelectObject( CBrush* pBrush )
|
CPalette* |
SelectPalette( CPalette* pPalette, BOOL bForceBackground )
|
virtual CGdiObject* |
SelectStockObject( int nIndex )
|
int |
SetAbortProc( BOOL( CALLBACK* lpfn )( HDC, int ) )
|
int |
SetArcDirection( int nArcDirection )
|
virtual void |
SetAttribDC( HDC hDC )
|
virtual COLORREF |
SetBkColor( COLORREF crColor )
|
int |
SetBkMode( int nBkMode )
|
UINT |
SetBoundsRect( LPCRECT lpRectBounds, UINT flags )
|
CPoint |
SetBrushOrg( int x, int y )
|
CPoint |
SetBrushOrg( POINT point )
|
BOOL |
SetColorAdjustment( const COLORADJUSTMENT* lpColorAdjust )
|
DWORD |
SetLayout( DWORD dwLayout )
|
virtual int |
SetMapMode( int nMapMode )
|
DWORD |
SetMapperFlags( DWORD dwFlag )
|
BOOL |
SetMiterLimit( float fMiterLimit )
|
virtual void |
SetOutputDC( HDC hDC )
|
COLORREF |
SetPixel( int x, int y, COLORREF crColor )
|
COLORREF |
SetPixel( POINT point, COLORREF crColor )
|
BOOL |
SetPixelV( int x, int y, COLORREF crColor )
|
BOOL |
SetPixelV( POINT point, COLORREF crColor )
|
int |
SetPolyFillMode( int nPolyFillMode )
|
int |
SetROP2( int nDrawMode )
|
int |
SetStretchBltMode( int nStretchMode )
|
UINT |
SetTextAlign( UINT nFlags )
|
int |
SetTextCharacterExtra( int nCharExtra )
|
virtual COLORREF |
SetTextColor( COLORREF crColor )
|
int |
SetTextJustification( int nBreakExtra, int nBreakCount )
|
CSize |
SetViewportExt( SIZE size )
|
virtual CSize |
SetViewportExt( int cx, int cy )
|
virtual CPoint |
SetViewportOrg( int x, int y )
|
CPoint |
SetViewportOrg( POINT point )
|
virtual CSize |
SetWindowExt( int cx, int cy )
|
CSize |
SetWindowExt( SIZE size )
|
CPoint |
SetWindowOrg( int x, int y )
|
CPoint |
SetWindowOrg( POINT point )
|
int |
StartDoc( LPCTSTR lpszDocName )
|
int |
StartDoc( LPDOCINFO lpDocInfo )
|
int |
StartPage()
|
BOOL |
StretchBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop )
|
BOOL |
StrokeAndFillPath()
|
BOOL |
StrokePath()
|
CSize |
TabbedTextOut( int x, int y, const CString& str, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin )
|
virtual CSize |
TabbedTextOut( int x, int y, LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin )
|
BOOL |
TextOut( int x, int y, const CString& str )
|
virtual BOOL |
TextOut( int x, int y, LPCTSTR lpszString, int nCount )
|
void |
UpdateColors()
|
BOOL |
WidenPath()
|
m_bPrinting
public BOOL m_bPrinting;
m_hAttribDC
public HDC m_hAttribDC;
m_hDC
public HDC m_hDC;
CDC
public CDC();
~CDC
public virtual ~CDC();
AbortDoc
public int AbortDoc();
AbortPath
public BOOL AbortPath();
AddMetaFileComment
public BOOL AddMetaFileComment( UINT nDataSize, const BYTE* pCommentData );
AngleArc
public BOOL AngleArc( int x, int y, int nRadius, float fStartAngle, float fSweepAngle );
Arc
public BOOL Arc( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
Arc
public BOOL Arc( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
ArcTo
public BOOL ArcTo( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
ArcTo
public BOOL ArcTo( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
Attach
public BOOL Attach( HDC hDC );
BeginPath
public BOOL BeginPath();
BitBlt
public BOOL BitBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, DWORD dwRop );
Chord
public BOOL Chord( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
Chord
public BOOL Chord( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
CloseFigure
public BOOL CloseFigure();
CreateCompatibleDC
public BOOL CreateCompatibleDC( CDC* pDC );
CreateDC
public BOOL CreateDC( LPCTSTR lpszDriverName, LPCTSTR lpszDeviceName, LPCTSTR lpszOutput, const void* lpInitData );
CreateIC
public BOOL CreateIC( LPCTSTR lpszDriverName, LPCTSTR lpszDeviceName, LPCTSTR lpszOutput, const void* lpInitData );
DeleteDC
public BOOL DeleteDC();
DeleteTempMap
public static void PASCAL DeleteTempMap();
Detach
public HDC Detach();
DPtoHIMETRIC
public void DPtoHIMETRIC( LPSIZE lpSize ) const;
DPtoLP
public void DPtoLP( LPSIZE lpSize ) const;
DPtoLP
public void DPtoLP( LPRECT lpRect ) const;
DPtoLP
public void DPtoLP( LPPOINT lpPoints, int nCount = 1 ) const;
Draw3dRect
public void Draw3dRect( int x, int y, int cx, int cy, COLORREF clrTopLeft, COLORREF clrBottomRight );
Draw3dRect
public void Draw3dRect( LPCRECT lpRect, COLORREF clrTopLeft, COLORREF clrBottomRight );
DrawDragRect
public void DrawDragRect( LPCRECT lpRect, SIZE size, LPCRECT lpRectLast, SIZE sizeLast, CBrush* pBrush = NULL, CBrush* pBrushLast = NULL );
DrawEdge
public BOOL DrawEdge( LPRECT lpRect, UINT nEdge, UINT nFlags );
DrawEscape
public int DrawEscape( int nEscape, int nInputSize, LPCSTR lpszInputData );
DrawFocusRect
public void DrawFocusRect( LPCRECT lpRect );
DrawFrameControl
public BOOL DrawFrameControl( LPRECT lpRect, UINT nType, UINT nState );
DrawIcon
public BOOL DrawIcon( POINT point, HICON hIcon );
DrawIcon
public BOOL DrawIcon( int x, int y, HICON hIcon );
DrawState
public BOOL DrawState( CPoint pt, CSize size, HICON hIcon, UINT nFlags, CBrush* pBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, CBitmap* pBitmap, UINT nFlags, CBrush* pBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, DRAWSTATEPROC lpDrawProc, LPARAM lData, UINT nFlags, HBRUSH hBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, HICON hIcon, UINT nFlags, HBRUSH hBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, HBITMAP hBitmap, UINT nFlags, HBRUSH hBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, LPCTSTR lpszText, UINT nFlags, BOOL bPrefixText = TRUE, int nTextLen = 0, HBRUSH hBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, LPCTSTR lpszText, UINT nFlags, BOOL bPrefixText = TRUE, int nTextLen = 0, CBrush* pBrush = NULL );
DrawState
public BOOL DrawState( CPoint pt, CSize size, DRAWSTATEPROC lpDrawProc, LPARAM lData, UINT nFlags, CBrush* pBrush = NULL );
DrawText
public int DrawText( const CString& str, LPRECT lpRect, UINT nFormat );
DrawText
public virtual int DrawText( LPCTSTR lpszString, int nCount, LPRECT lpRect, UINT nFormat );
Ellipse
public BOOL Ellipse( int x1, int y1, int x2, int y2 );
Ellipse
public BOOL Ellipse( LPCRECT lpRect );
EndDoc
public int EndDoc();
EndPage
public int EndPage();
EndPath
public BOOL EndPath();
EnumObjects
public int EnumObjects( int nObjectType, int( CALLBACK* lpfn )( LPVOID, LPARAM ), LPARAM lpData );
Escape
public int Escape( int nEscape, int nInputSize, LPCSTR lpszInputData, int nOutputSize, LPSTR lpszOutputData );
Escape
public virtual int Escape( int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData );
ExcludeClipRect
public int ExcludeClipRect( int x1, int y1, int x2, int y2 );
ExcludeClipRect
public int ExcludeClipRect( LPCRECT lpRect );
ExcludeUpdateRgn
public int ExcludeUpdateRgn( CWnd* pWnd );
ExtFloodFill
public BOOL ExtFloodFill( int x, int y, COLORREF crColor, UINT nFillType );
ExtTextOut
public virtual BOOL ExtTextOut( int x, int y, UINT nOptions, LPCRECT lpRect, LPCTSTR lpszString, UINT nCount, LPINT lpDxWidths );
ExtTextOut
public BOOL ExtTextOut( int x, int y, UINT nOptions, LPCRECT lpRect, const CString& str, LPINT lpDxWidths );
FillPath
public BOOL FillPath();
FillRect
public void FillRect( LPCRECT lpRect, CBrush* pBrush );
FillRgn
public BOOL FillRgn( CRgn* pRgn, CBrush* pBrush );
FillSolidRect
public void FillSolidRect( LPCRECT lpRect, COLORREF clr );
FillSolidRect
public void FillSolidRect( int x, int y, int cx, int cy, COLORREF clr );
FlattenPath
public BOOL FlattenPath();
FloodFill
public BOOL FloodFill( int x, int y, COLORREF crColor );
FrameRect
public void FrameRect( LPCRECT lpRect, CBrush* pBrush );
FrameRgn
public BOOL FrameRgn( CRgn* pRgn, CBrush* pBrush, int nWidth, int nHeight );
FromHandle
public static CDC* PASCAL FromHandle( HDC hDC );
GetArcDirection
public int GetArcDirection() const;
GetAspectRatioFilter
public CSize GetAspectRatioFilter() const;
GetBkColor
public COLORREF GetBkColor() const;
GetBkMode
public int GetBkMode() const;
GetBoundsRect
public UINT GetBoundsRect( LPRECT lpRectBounds, UINT flags );
GetBrushOrg
public CPoint GetBrushOrg() const;
GetCharABCWidths
public BOOL GetCharABCWidths( UINT nFirstChar, UINT nLastChar, LPABCFLOAT lpABCF ) const;
GetCharABCWidths
public BOOL GetCharABCWidths( UINT nFirstChar, UINT nLastChar, LPABC lpabc ) const;
GetCharWidth
public BOOL GetCharWidth( UINT nFirstChar, UINT nLastChar, float* lpFloatBuffer ) const;
GetCharWidth
public BOOL GetCharWidth( UINT nFirstChar, UINT nLastChar, LPINT lpBuffer ) const;
GetClipBox
public virtual int GetClipBox( LPRECT lpRect ) const;
GetColorAdjustment
public BOOL GetColorAdjustment( LPCOLORADJUSTMENT lpColorAdjust ) const;
GetCurrentBitmap
public CBitmap* GetCurrentBitmap() const;
GetCurrentBrush
public CBrush* GetCurrentBrush() const;
GetCurrentFont
public CFont* GetCurrentFont() const;
GetCurrentPalette
public CPalette* GetCurrentPalette() const;
GetCurrentPen
public CPen* GetCurrentPen() const;
GetCurrentPosition
public CPoint GetCurrentPosition() const;
GetDeviceCaps
public int GetDeviceCaps( int nIndex ) const;
GetFontData
public DWORD GetFontData( DWORD dwTable, DWORD dwOffset, LPVOID lpData, DWORD cbData ) const;
GetGlyphOutline
public DWORD GetGlyphOutline( UINT nChar, UINT nFormat, LPGLYPHMETRICS lpgm, DWORD cbBuffer, LPVOID lpBuffer, const MAT2* lpmat2 ) const;
GetHalftoneBrush
public static CBrush* PASCAL GetHalftoneBrush();
GetKerningPairs
public int GetKerningPairs( int nPairs, LPKERNINGPAIR lpkrnpair ) const;
GetLayout
public DWORD GetLayout() const;
GetMapMode
public int GetMapMode() const;
GetMiterLimit
public float GetMiterLimit() const;
GetNearestColor
public COLORREF GetNearestColor( COLORREF crColor ) const;
GetOutlineTextMetrics
public UINT GetOutlineTextMetrics( UINT cbData, LPOUTLINETEXTMETRIC lpotm ) const;
GetOutputCharWidth
public BOOL GetOutputCharWidth( UINT nFirstChar, UINT nLastChar, LPINT lpBuffer ) const;
GetOutputTabbedTextExtent
public CSize GetOutputTabbedTextExtent( const CString& str, int nTabPositions, LPINT lpnTabStopPositions ) const;
GetOutputTabbedTextExtent
public CSize GetOutputTabbedTextExtent( LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions ) const;
GetOutputTextExtent
public CSize GetOutputTextExtent( LPCTSTR lpszString, int nCount ) const;
GetOutputTextExtent
public CSize GetOutputTextExtent( const CString& str ) const;
GetOutputTextMetrics
public BOOL GetOutputTextMetrics( LPTEXTMETRIC lpMetrics ) const;
GetPath
public int GetPath( LPPOINT lpPoints, LPBYTE lpTypes, int nCount ) const;
GetPixel
public COLORREF GetPixel( POINT point ) const;
GetPixel
public COLORREF GetPixel( int x, int y ) const;
GetPolyFillMode
public int GetPolyFillMode() const;
GetROP2
public int GetROP2() const;
GetSafeHdc
public HDC GetSafeHdc() const;
GetStretchBltMode
public int GetStretchBltMode() const;
GetTabbedTextExtent
public CSize GetTabbedTextExtent( const CString& str, int nTabPositions, LPINT lpnTabStopPositions ) const;
GetTabbedTextExtent
public CSize GetTabbedTextExtent( LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions ) const;
GetTextAlign
public UINT GetTextAlign() const;
GetTextCharacterExtra
public int GetTextCharacterExtra() const;
GetTextColor
public COLORREF GetTextColor() const;
GetTextExtent
public CSize GetTextExtent( LPCTSTR lpszString, int nCount ) const;
GetTextExtent
public CSize GetTextExtent( const CString& str ) const;
GetTextFace
public int GetTextFace( CString& rString ) const;
GetTextFace
public int GetTextFace( int nCount, LPTSTR lpszFacename ) const;
GetTextMetrics
public BOOL GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;
GetViewportExt
public CSize GetViewportExt() const;
GetViewportOrg
public CPoint GetViewportOrg() const;
GetWindow
public CWnd* GetWindow() const;
GetWindowExt
public CSize GetWindowExt() const;
GetWindowOrg
public CPoint GetWindowOrg() const;
GrayString
public virtual BOOL GrayString( CBrush* pBrush, BOOL( CALLBACK* lpfnOutput )( HDC, LPARAM, int ), LPARAM lpData, int nCount, int x, int y, int nWidth, int nHeight );
HDC
public operator HDC() const;
HIMETRICtoDP
public void HIMETRICtoDP( LPSIZE lpSize ) const;
HIMETRICtoLP
public void HIMETRICtoLP( LPSIZE lpSize ) const;
IntersectClipRect
public int IntersectClipRect( LPCRECT lpRect );
IntersectClipRect
public int IntersectClipRect( int x1, int y1, int x2, int y2 );
InvertRect
public void InvertRect( LPCRECT lpRect );
InvertRgn
public BOOL InvertRgn( CRgn* pRgn );
IsPrinting
public BOOL IsPrinting() const;
LineTo
public BOOL LineTo( int x, int y );
LineTo
public BOOL LineTo( POINT point );
LPtoDP
public void LPtoDP( LPRECT lpRect ) const;
LPtoDP
public void LPtoDP( LPSIZE lpSize ) const;
LPtoDP
public void LPtoDP( LPPOINT lpPoints, int nCount = 1 ) const;
LPtoHIMETRIC
public void LPtoHIMETRIC( LPSIZE lpSize ) const;
MaskBlt
public BOOL MaskBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, CBitmap& maskBitmap, int xMask, int yMask, DWORD dwRop );
MoveTo
public CPoint MoveTo( int x, int y );
MoveTo
public CPoint MoveTo( POINT point );
OffsetClipRgn
public int OffsetClipRgn( int x, int y );
OffsetClipRgn
public int OffsetClipRgn( SIZE size );
OffsetViewportOrg
public virtual CPoint OffsetViewportOrg( int nWidth, int nHeight );
OffsetWindowOrg
public CPoint OffsetWindowOrg( int nWidth, int nHeight );
PaintRgn
public BOOL PaintRgn( CRgn* pRgn );
PatBlt
public BOOL PatBlt( int x, int y, int nWidth, int nHeight, DWORD dwRop );
Pie
public BOOL Pie( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
Pie
public BOOL Pie( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
PlayMetaFile
public BOOL PlayMetaFile( HENHMETAFILE hEnhMetaFile, LPCRECT lpBounds );
PlayMetaFile
public BOOL PlayMetaFile( HMETAFILE hMF );
PlgBlt
public BOOL PlgBlt( LPPOINT lpPoint, CDC* pSrcDC, int xSrc, int ySrc, int nWidth, int nHeight, CBitmap& maskBitmap, int xMask, int yMask );
PolyBezier
public BOOL PolyBezier( const POINT* lpPoints, int nCount );
PolyBezierTo
public BOOL PolyBezierTo( const POINT* lpPoints, int nCount );
PolyDraw
public BOOL PolyDraw( const POINT* lpPoints, const BYTE* lpTypes, int nCount );
Polygon
public BOOL Polygon( LPPOINT lpPoints, int nCount );
Polyline
public BOOL Polyline( LPPOINT lpPoints, int nCount );
PolylineTo
public BOOL PolylineTo( const POINT* lpPoints, int nCount );
PolyPolygon
public BOOL PolyPolygon( LPPOINT lpPoints, LPINT lpPolyCounts, int nCount );
PolyPolyline
public BOOL PolyPolyline( const POINT* lpPoints, const DWORD* lpPolyPoints, int nCount );
PtVisible
public BOOL PtVisible( POINT point ) const;
PtVisible
public virtual BOOL PtVisible( int x, int y ) const;
RealizePalette
public UINT RealizePalette();
Rectangle
public BOOL Rectangle( int x1, int y1, int x2, int y2 );
Rectangle
public BOOL Rectangle( LPCRECT lpRect );
RectVisible
public virtual BOOL RectVisible( LPCRECT lpRect ) const;
ReleaseAttribDC
public virtual void ReleaseAttribDC();
ReleaseOutputDC
public virtual void ReleaseOutputDC();
ResetDC
public BOOL ResetDC( const DEVMODE* lpDevMode );
RestoreDC
public virtual BOOL RestoreDC( int nSavedDC );
RoundRect
public BOOL RoundRect( int x1, int y1, int x2, int y2, int x3, int y3 );
RoundRect
public BOOL RoundRect( LPCRECT lpRect, POINT point );
SaveDC
public virtual int SaveDC();
ScaleViewportExt
public virtual CSize ScaleViewportExt( int xNum, int xDenom, int yNum, int yDenom );
ScaleWindowExt
public virtual CSize ScaleWindowExt( int xNum, int xDenom, int yNum, int yDenom );
ScrollDC
public BOOL ScrollDC( int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, CRgn* pRgnUpdate, LPRECT lpRectUpdate );
SelectClipPath
public BOOL SelectClipPath( int nMode );
SelectClipRgn
public int SelectClipRgn( CRgn* pRgn );
SelectClipRgn
public int SelectClipRgn( CRgn* pRgn, int nMode );
SelectGdiObject
protected static CGdiObject* PASCAL SelectGdiObject( HDC hDC, HGDIOBJ h );
SelectObject
public CGdiObject* SelectObject( CGdiObject* pObject );
SelectObject
public int SelectObject( CRgn* pRgn );
SelectObject
public HGDIOBJ SelectObject( HGDIOBJ );
SelectObject
public CPen* SelectObject( CPen* pPen );
SelectObject
public CBitmap* SelectObject( CBitmap* pBitmap );
SelectObject
public virtual CFont* SelectObject( CFont* pFont );
SelectObject
public CBrush* SelectObject( CBrush* pBrush );
SelectPalette
public CPalette* SelectPalette( CPalette* pPalette, BOOL bForceBackground );
SelectStockObject
public virtual CGdiObject* SelectStockObject( int nIndex );
SetAbortProc
public int SetAbortProc( BOOL( CALLBACK* lpfn )( HDC, int ) );
SetArcDirection
public int SetArcDirection( int nArcDirection );
SetAttribDC
public virtual void SetAttribDC( HDC hDC );
SetBkColor
public virtual COLORREF SetBkColor( COLORREF crColor );
SetBkMode
public int SetBkMode( int nBkMode );
SetBoundsRect
public UINT SetBoundsRect( LPCRECT lpRectBounds, UINT flags );
SetBrushOrg
public CPoint SetBrushOrg( int x, int y );
SetBrushOrg
public CPoint SetBrushOrg( POINT point );
SetColorAdjustment
public BOOL SetColorAdjustment( const COLORADJUSTMENT* lpColorAdjust );
SetLayout
public DWORD SetLayout( DWORD dwLayout );
SetMapMode
public virtual int SetMapMode( int nMapMode );
SetMapperFlags
public DWORD SetMapperFlags( DWORD dwFlag );
SetMiterLimit
public BOOL SetMiterLimit( float fMiterLimit );
SetOutputDC
public virtual void SetOutputDC( HDC hDC );
SetPixel
public COLORREF SetPixel( int x, int y, COLORREF crColor );
SetPixel
public COLORREF SetPixel( POINT point, COLORREF crColor );
SetPixelV
public BOOL SetPixelV( int x, int y, COLORREF crColor );
SetPixelV
public BOOL SetPixelV( POINT point, COLORREF crColor );
SetPolyFillMode
public int SetPolyFillMode( int nPolyFillMode );
SetROP2
public int SetROP2( int nDrawMode );
SetStretchBltMode
public int SetStretchBltMode( int nStretchMode );
SetTextAlign
public UINT SetTextAlign( UINT nFlags );
SetTextCharacterExtra
public int SetTextCharacterExtra( int nCharExtra );
SetTextColor
public virtual COLORREF SetTextColor( COLORREF crColor );
SetTextJustification
public int SetTextJustification( int nBreakExtra, int nBreakCount );
SetViewportExt
public CSize SetViewportExt( SIZE size );
SetViewportExt
public virtual CSize SetViewportExt( int cx, int cy );
SetViewportOrg
public virtual CPoint SetViewportOrg( int x, int y );
SetViewportOrg
public CPoint SetViewportOrg( POINT point );
SetWindowExt
public virtual CSize SetWindowExt( int cx, int cy );
SetWindowExt
public CSize SetWindowExt( SIZE size );
SetWindowOrg
public CPoint SetWindowOrg( int x, int y );
SetWindowOrg
public CPoint SetWindowOrg( POINT point );
StartDoc
public int StartDoc( LPCTSTR lpszDocName );
StartDoc
public int StartDoc( LPDOCINFO lpDocInfo );
StartPage
public int StartPage();
StretchBlt
public BOOL StretchBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop );
StrokeAndFillPath
public BOOL StrokeAndFillPath();
StrokePath
public BOOL StrokePath();
TabbedTextOut
public CSize TabbedTextOut( int x, int y, const CString& str, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin );
TabbedTextOut
public virtual CSize TabbedTextOut( int x, int y, LPCTSTR lpszString, int nCount, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin );
TextOut
public BOOL TextOut( int x, int y, const CString& str );
TextOut
public virtual BOOL TextOut( int x, int y, LPCTSTR lpszString, int nCount );
UpdateColors
public void UpdateColors();
WidenPath
public BOOL WidenPath();