Contents Up Previous Next

wxCanvasDC: wxDC

A canvas device context is automatically created when a canvas is created. It can be retrieved from a canvas with wxCanvas::GetDC and then drawn into. See wxDC for further information on device contexts.

wxCanvasDC::wxCanvasDC
wxCanvasDC::GetClippingBox


wxCanvasDC::wxCanvasDC

void wxCanvasDC(wxCanvas *canvas)

Constructor for internal use only.


wxCanvasDC::GetClippingBox

void wxCanvasDC(float *x, float *y, float *width, float *height)

Gets the current rectangular clipping region.