DC Class Reference

Inheritance diagram for DC:

wxObject IDisposable WindowDC ClientDC PaintDC MemoryDC BufferedDC BufferedPaintDC

List of all members.

Public Member Functions

 this (IntPtr wxobj)
void BackgroundMode (FillStyle value)
FillStyle BackgroundMode ()
void brush (Brush value)
Brush brush ()
void Background (Brush value)
Brush Background ()
void DrawBitmap (Bitmap bmp, int x, int y, bool useMask)
void DrawBitmap (Bitmap bmp, int x, int y)
void DrawBitmap (Bitmap bmp, Point pt, bool useMask)
void DrawBitmap (Bitmap bmp, Point pt)
void DrawEllipse (int x, int y, int width, int height)
void DrawEllipse (Point pt, Size sz)
void DrawEllipse (Rectangle rect)
void DrawPoint (int x, int y)
void DrawPoint (Point pt)
void DrawLine (Point p1, Point p2)
void DrawLine (int x1, int y1, int x2, int y2)
void DrawPolygon (Point[] points)
void DrawPolygon (Point[] points, int xoffset, int yoffset)
void DrawPolygon (Point[] points, int xoffset, int yoffset, FillStyle fill_style)
void DrawPolygon (int n, Point[] points)
void DrawPolygon (int n, Point[] points, int xoffset, int yoffset)
void DrawPolygon (int n, Point[] points, int xoffset, int yoffset, FillStyle fill_style)
void DrawRectangle (int x1, int y1, int x2, int y2)
void DrawRectangle (Point pt, Size sz)
void DrawRectangle (Rectangle rect)
void DrawText (string text, int x, int y)
void DrawText (string text, Point pos)
void DrawRoundedRectangle (int x, int y, int width, int height, double radius)
void DrawRoundedRectangle (Point pt, Size sz, double radius)
void DrawRoundedRectangle (Rectangle r, double radius)
void pen (Pen value)
Pen pen ()
Colour TextForeground ()
void TextForeground (Colour value)
Colour TextBackground ()
void TextBackground (Colour value)
Font font ()
void font (Font value)
virtual void Clear ()
void GetTextExtent (string str, out int x, out int y)
void GetTextExtent (string str, out int x, out int y, out int descent, out int externalLeading, Font theFont)
void DestroyClippingRegion ()
void SetClippingRegion (int x, int y, int width, int height)
void SetClippingRegion (Point pos, Size size)
void SetClippingRegion (Rectangle rect)
void SetClippingRegion (Region reg)
Logic LogicalFunction ()
void LogicalFunction (Logic value)
void BeginDrawing ()
bool Blit (int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop, bool useMask, int xsrcMask, int ysrcMask)
bool Blit (int xdest, int ydest, int width, int height, DC source)
bool Blit (int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc)
bool Blit (int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop)
bool Blit (int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop, bool useMask)
bool Blit (int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop, bool useMask, int xsrcMask)
bool Blit (Point destPt, Size sz, DC source, Point srcPt, int rop, bool useMask, Point srcPtMask)
bool Blit (Point destPt, Size sz, DC source, Point srcPt)
bool Blit (Point destPt, Size sz, DC source, Point srcPt, int rop)
bool Blit (Point destPt, Size sz, DC source, Point srcPt, int rop, bool useMask)
void EndDrawing ()
bool FloodFill (int x, int y, Colour col)
bool FloodFill (int x, int y, Colour col, int style)
bool FloodFill (Point pt, Colour col)
bool FloodFill (Point pt, Colour col, int style)
bool GetPixel (int x, int y, Colour col)
bool GetPixel (Point pt, Colour col)
void CrossHair (int x, int y)
void CrossHair (Point pt)
void DrawArc (int x1, int y1, int x2, int y2, int xc, int yc)
void DrawArc (Point pt1, Point pt2, Point centre)
void DrawCheckMark (int x, int y, int width, int height)
void DrawCheckMark (Rectangle rect)
void DrawEllipticArc (int x, int y, int w, int h, double sa, double ea)
void DrawEllipticArc (Point pt, Size sz, double sa, double ea)
void DrawLines (Point[] points, int xoffset, int yoffset)
void DrawLines (Point[] points)
void DrawLines (Point[] points, int xoffset)
void DrawCircle (int x, int y, int radius)
void DrawCircle (Point pt, int radius)
void DrawIcon (Icon icon, int x, int y)
void DrawIcon (Icon icon, Point pt)
void DrawRotatedText (string text, int x, int y, double angle)
void DrawRotatedText (string text, Point pt, double angle)
virtual void DrawLabel (string text, Bitmap image, Rectangle rect, int alignment, int indexAccel, inout Rectangle rectBounding)
virtual void DrawLabel (string text, Bitmap image, Rectangle rect)
virtual void DrawLabel (string text, Bitmap image, Rectangle rect, int alignment)
virtual void DrawLabel (string text, Bitmap image, Rectangle rect, int alignment, int indexAccel)
void DrawLabel (string text, Rectangle rect, int alignment, int indexAccel)
void DrawLabel (string text, Rectangle rect)
void DrawLabel (string text, Rectangle rect, int alignment)
void DrawSpline (int x1, int y1, int x2, int y2, int x3, int y3)
void DrawSpline (Point[] points)
virtual bool StartDoc (string message)
virtual void EndDoc ()
virtual void StartPage ()
virtual void EndPage ()
void GetClippingBox (out int x, out int y, out int w, out int h)
void GetClippingBox (out Rectangle rect)
virtual void GetMultiLineTextExtent (string text, out int width, out int height, out int heightline, Font font)
virtual void GetMultiLineTextExtent (string text, out int width, out int height)
virtual void GetMultiLineTextExtent (string text, out int width, out int height, out int heightline)
bool GetPartialTextExtents (string text, int[] widths)
void GetSize (out int width, out int height)
Size size ()
void GetSizeMM (out int width, out int height)
Size SizeMM ()
int DeviceToLogicalX (int x)
int DeviceToLogicalY (int y)
int DeviceToLogicalXRel (int x)
int DeviceToLogicalYRel (int y)
int LogicalToDeviceX (int x)
int LogicalToDeviceY (int y)
int LogicalToDeviceXRel (int x)
int LogicalToDeviceYRel (int y)
virtual bool Ok ()
int MapMode ()
void MapMode (int value)
virtual void GetUserScale (out double x, out double y)
virtual void SetUserScale (double x, double y)
virtual void GetLogicalScale (out double x, out double y)
virtual void SetLogicalScale (double x, double y)
void GetLogicalOrigin (out int x, out int y)
Point LogicalOrigin ()
void SetLogicalOrigin (int x, int y)
void GetDeviceOrigin (out int x, out int y)
Point DeviceOrigin ()
void SetDeviceOrigin (int x, int y)
void SetAxisOrientation (bool xLeftRight, bool yBottomUp)
virtual void CalcBoundingBox (int x, int y)
void ResetBoundingBox ()
int MinX ()
int MaxX ()
int MinY ()
int MaxY ()

Static Public Member Functions

static wxObject New (IntPtr ptr)

Protected Member Functions

override void dtor ()


Constructor & Destructor Documentation

this ( IntPtr  wxobj  ) 

Reimplemented from wxObject.

Reimplemented in WindowDC, ClientDC, PaintDC, MemoryDC, BufferedDC, and BufferedPaintDC.


Member Function Documentation

override void dtor (  )  [protected]

Reimplemented from wxObject.

void BackgroundMode ( FillStyle  value  ) 

FillStyle BackgroundMode (  ) 

void brush ( Brush  value  ) 

Brush brush (  ) 

void Background ( Brush  value  ) 

Brush Background (  ) 

void DrawBitmap ( Bitmap  bmp,
int  x,
int  y,
bool  useMask 
)

void DrawBitmap ( Bitmap  bmp,
int  x,
int  y 
)

void DrawBitmap ( Bitmap  bmp,
Point  pt,
bool  useMask 
)

void DrawBitmap ( Bitmap  bmp,
Point  pt 
)

void DrawEllipse ( int  x,
int  y,
int  width,
int  height 
)

void DrawEllipse ( Point  pt,
Size  sz 
)

void DrawEllipse ( Rectangle  rect  ) 

void DrawPoint ( int  x,
int  y 
)

void DrawPoint ( Point  pt  ) 

void DrawLine ( Point  p1,
Point  p2 
)

void DrawLine ( int  x1,
int  y1,
int  x2,
int  y2 
)

void DrawPolygon ( Point[]  points  ) 

void DrawPolygon ( Point[]  points,
int  xoffset,
int  yoffset 
)

void DrawPolygon ( Point[]  points,
int  xoffset,
int  yoffset,
FillStyle  fill_style 
)

void DrawPolygon ( int  n,
Point[]  points 
)

void DrawPolygon ( int  n,
Point[]  points,
int  xoffset,
int  yoffset 
)

void DrawPolygon ( int  n,
Point[]  points,
int  xoffset,
int  yoffset,
FillStyle  fill_style 
)

void DrawRectangle ( int  x1,
int  y1,
int  x2,
int  y2 
)

void DrawRectangle ( Point  pt,
Size  sz 
)

void DrawRectangle ( Rectangle  rect  ) 

void DrawText ( string  text,
int  x,
int  y 
)

void DrawText ( string  text,
Point  pos 
)

void DrawRoundedRectangle ( int  x,
int  y,
int  width,
int  height,
double  radius 
)

void DrawRoundedRectangle ( Point  pt,
Size  sz,
double  radius 
)

void DrawRoundedRectangle ( Rectangle  r,
double  radius 
)

void pen ( Pen  value  ) 

Pen pen (  ) 

Colour TextForeground (  ) 

void TextForeground ( Colour  value  ) 

Colour TextBackground (  ) 

void TextBackground ( Colour  value  ) 

Font font (  ) 

void font ( Font  value  ) 

virtual void Clear (  ) 

Reimplemented in WindowDC.

void GetTextExtent ( string  str,
out int  x,
out int  y 
)

void GetTextExtent ( string  str,
out int  x,
out int  y,
out int  descent,
out int  externalLeading,
Font  theFont 
)

void DestroyClippingRegion (  ) 

void SetClippingRegion ( int  x,
int  y,
int  width,
int  height 
)

void SetClippingRegion ( Point  pos,
Size  size 
)

void SetClippingRegion ( Rectangle  rect  ) 

void SetClippingRegion ( Region  reg  ) 

Logic LogicalFunction (  ) 

void LogicalFunction ( Logic  value  ) 

void BeginDrawing (  ) 

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source,
int  xsrc,
int  ysrc,
int  rop,
bool  useMask,
int  xsrcMask,
int  ysrcMask 
)

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source 
)

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source,
int  xsrc,
int  ysrc 
)

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source,
int  xsrc,
int  ysrc,
int  rop 
)

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source,
int  xsrc,
int  ysrc,
int  rop,
bool  useMask 
)

bool Blit ( int  xdest,
int  ydest,
int  width,
int  height,
DC  source,
int  xsrc,
int  ysrc,
int  rop,
bool  useMask,
int  xsrcMask 
)

bool Blit ( Point  destPt,
Size  sz,
DC  source,
Point  srcPt,
int  rop,
bool  useMask,
Point  srcPtMask 
)

bool Blit ( Point  destPt,
Size  sz,
DC  source,
Point  srcPt 
)

bool Blit ( Point  destPt,
Size  sz,
DC  source,
Point  srcPt,
int  rop 
)

bool Blit ( Point  destPt,
Size  sz,
DC  source,
Point  srcPt,
int  rop,
bool  useMask 
)

void EndDrawing (  ) 

bool FloodFill ( int  x,
int  y,
Colour  col 
)

bool FloodFill ( int  x,
int  y,
Colour  col,
int  style 
)

bool FloodFill ( Point  pt,
Colour  col 
)

bool FloodFill ( Point  pt,
Colour  col,
int  style 
)

bool GetPixel ( int  x,
int  y,
Colour  col 
)

bool GetPixel ( Point  pt,
Colour  col 
)

void CrossHair ( int  x,
int  y 
)

void CrossHair ( Point  pt  ) 

void DrawArc ( int  x1,
int  y1,
int  x2,
int  y2,
int  xc,
int  yc 
)

void DrawArc ( Point  pt1,
Point  pt2,
Point  centre 
)

void DrawCheckMark ( int  x,
int  y,
int  width,
int  height 
)

void DrawCheckMark ( Rectangle  rect  ) 

void DrawEllipticArc ( int  x,
int  y,
int  w,
int  h,
double  sa,
double  ea 
)

void DrawEllipticArc ( Point  pt,
Size  sz,
double  sa,
double  ea 
)

void DrawLines ( Point[]  points,
int  xoffset,
int  yoffset 
)

void DrawLines ( Point[]  points  ) 

void DrawLines ( Point[]  points,
int  xoffset 
)

void DrawCircle ( int  x,
int  y,
int  radius 
)

void DrawCircle ( Point  pt,
int  radius 
)

void DrawIcon ( Icon  icon,
int  x,
int  y 
)

void DrawIcon ( Icon  icon,
Point  pt 
)

void DrawRotatedText ( string  text,
int  x,
int  y,
double  angle 
)

void DrawRotatedText ( string  text,
Point  pt,
double  angle 
)

virtual void DrawLabel ( string  text,
Bitmap  image,
Rectangle  rect,
int  alignment,
int  indexAccel,
inout Rectangle  rectBounding 
)

virtual void DrawLabel ( string  text,
Bitmap  image,
Rectangle  rect 
)

virtual void DrawLabel ( string  text,
Bitmap  image,
Rectangle  rect,
int  alignment 
)

virtual void DrawLabel ( string  text,
Bitmap  image,
Rectangle  rect,
int  alignment,
int  indexAccel 
)

void DrawLabel ( string  text,
Rectangle  rect,
int  alignment,
int  indexAccel 
)

void DrawLabel ( string  text,
Rectangle  rect 
)

void DrawLabel ( string  text,
Rectangle  rect,
int  alignment 
)

void DrawSpline ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

void DrawSpline ( Point[]  points  ) 

virtual bool StartDoc ( string  message  ) 

virtual void EndDoc (  ) 

virtual void StartPage (  ) 

virtual void EndPage (  ) 

void GetClippingBox ( out int  x,
out int  y,
out int  w,
out int  h 
)

void GetClippingBox ( out Rectangle  rect  ) 

virtual void GetMultiLineTextExtent ( string  text,
out int  width,
out int  height,
out int  heightline,
Font  font 
)

virtual void GetMultiLineTextExtent ( string  text,
out int  width,
out int  height 
)

virtual void GetMultiLineTextExtent ( string  text,
out int  width,
out int  height,
out int  heightline 
)

bool GetPartialTextExtents ( string  text,
int[]  widths 
)

void GetSize ( out int  width,
out int  height 
)

Size size (  ) 

void GetSizeMM ( out int  width,
out int  height 
)

Size SizeMM (  ) 

int DeviceToLogicalX ( int  x  ) 

int DeviceToLogicalY ( int  y  ) 

int DeviceToLogicalXRel ( int  x  ) 

int DeviceToLogicalYRel ( int  y  ) 

int LogicalToDeviceX ( int  x  ) 

int LogicalToDeviceY ( int  y  ) 

int LogicalToDeviceXRel ( int  x  ) 

int LogicalToDeviceYRel ( int  y  ) 

virtual bool Ok (  ) 

int MapMode (  ) 

void MapMode ( int  value  ) 

virtual void GetUserScale ( out double  x,
out double  y 
)

virtual void SetUserScale ( double  x,
double  y 
)

virtual void GetLogicalScale ( out double  x,
out double  y 
)

virtual void SetLogicalScale ( double  x,
double  y 
)

void GetLogicalOrigin ( out int  x,
out int  y 
)

Point LogicalOrigin (  ) 

void SetLogicalOrigin ( int  x,
int  y 
)

void GetDeviceOrigin ( out int  x,
out int  y 
)

Point DeviceOrigin (  ) 

void SetDeviceOrigin ( int  x,
int  y 
)

void SetAxisOrientation ( bool  xLeftRight,
bool  yBottomUp 
)

virtual void CalcBoundingBox ( int  x,
int  y 
)

void ResetBoundingBox (  ) 

int MinX (  ) 

int MaxX (  ) 

int MinY (  ) 

int MaxY (  ) 

static wxObject New ( IntPtr  ptr  )  [static]


The documentation for this class was generated from the following file:
Generated on Sun Feb 1 21:30:23 2009 for wxD by  doxygen 1.5.4