|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::wx::DC Class Reference#include <DC.h>
Inheritance diagram for acdk::wx::DC:
List of all members.
Detailed Description
see wxDC
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.9
- Date:
- Date
- 2005/02/05 10:45:34
|
Public Member Functions |
virtual void | beginDrawing () |
virtual void | endDrawing () |
bool | floodFill (int x, int y, IN(RColour) col, int style=wxFLOOD_SURFACE) |
bool | floodFill (IN(RPoint) pt, IN(RColour) col, int style=wxFLOOD_SURFACE) |
bool | getPixel (int x, int y, OUT(RColour) col) const |
bool | getPixel (IN(RPoint) pt, IN(RColour) col) const |
void | drawLine (int x1, int y1, int x2, int y2) |
void | drawLine (IN(RPoint) pt1, IN(RPoint) pt2) |
void | crossHair (int x, int y) |
void | crossHair (IN(RPoint) pt) |
void | drawArc (int x1, int y1, int x2, int y2, int xc, int yc) |
void | drawArc (IN(RPoint) pt1, IN(RPoint) pt2, IN(RPoint) centre) |
void | drawCheckMark (int x, int y, int width, int height) |
void | drawCheckMark (IN(RRect) rect) |
void | drawEllipticArc (int x, int y, int w, int h, double sa, double ea) |
void | drawEllipticArc (IN(RPoint) pt, IN(RSize) sz, double sa, double ea) |
void | drawPoint (int x, int y) |
void | drawPoint (IN(RPoint) pt) |
void | drawLines (IN(RPointArray) points, int xoffset=0, int yoffset=0) |
void | drawPolygon (IN(RPointArray) points, int xoffset=0, int yoffset=0, int fillStyle=wxODDEVEN_RULE) |
void | drawRectangle (int x, int y, int width, int height) |
void | drawRectangle (IN(RPoint) pt, IN(RSize) sz) |
void | drawRectangle (IN(RRect) rect) |
void | drawRoundedRectangle (int x, int y, int width, int height, double radius) |
void | drawRoundedRectangle (IN(RPoint) pt, IN(RSize) sz, double radius) |
void | drawRoundedRectangle (IN(RRect) r, double radius) |
void | drawCircle (int x, int y, int radius) |
void | drawCircle (IN(RPoint) pt, int radius) |
void | drawEllipse (int x, int y, int width, int height) |
void | drawEllipse (IN(RPoint) pt, IN(RSize) sz) |
void | drawEllipse (IN(RRect) rect) |
void | drawIcon (IN(RIcon) icon, int x, int y) |
void | drawIcon (IN(RIcon) icon, IN(RPoint) pt) |
void | drawBitmap (IN(RBitmap) bmp, int x, int y, bool useMask=false) |
void | drawBitmap (IN(RBitmap) bmp, IN(RPoint) pt, bool useMask=false) |
void | drawText (IN(RString) text, int x, int y) |
void | drawText (IN(RString) text, IN(RPoint) pt) |
void | drawRotatedText (IN(RString) text, int x, int y, double angle) |
void | drawRotatedText (IN(RString) text, IN(RPoint) pt, double angle) |
virtual void | drawLabel (IN(RString) text, IN(RBitmap) image, IN(RRect) rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1) |
void | drawLabel (IN(RString) text, IN(RRect) rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1) |
bool | blit (int xdest, int ydest, int width, int height, IN(RDC) source, int xsrc, int ysrc, int rop=wxCOPY, bool useMask=false, int xsrcMask=-1, int ysrcMask=-1) |
bool | blit (IN(RPoint) destPt, IN(RSize) sz, IN(RDC) source, IN(RPoint) srcPt, int rop=wxCOPY, bool useMask=false, IN(RPoint) srcPtMask=RPoint(new Point(-1,-1))) |
void | drawSpline (int x1, int y1, int x2, int y2, int x3, int y3) |
void | drawSpline (IN(RPointArray) points) |
virtual void | clear () |
virtual bool | startDoc (IN(RString) message) |
virtual void | endDoc () |
virtual void | startPage () |
virtual void | endPage () |
virtual void | setFont (IN(RFont) font) |
virtual void | setPen (IN(RPen) pen) |
virtual void | setBrush (IN(RBrush) brush) |
virtual void | setBackground (IN(RBrush) brush) |
virtual void | setBackgroundMode (int mode) |
void | setClippingRegion (int x, int y, int width, int height) |
void | setClippingRegion (IN(RPoint) pt, IN(RSize) sz) |
void | setClippingRegion (IN(RRect) rect) |
void | setClippingRegion (IN(RRegion) region) |
virtual void | destroyClippingRegion () |
void | getClippingBox (OUT(int) x, OUT(int) y, OUT(int) w, OUT(int) h) const |
void | getClippingBox (IN(RRect) rect) const |
int | getCharHeight () const |
int | getCharWidth () const |
void | getSize (OUT(int) width, OUT(int) height) const |
RSize | getSize () const |
void | getSizeMM (OUT(int) width, OUT(int) height) const |
RSize | getSizeMM () const |
int | deviceToLogicalX (int x) const |
int | deviceToLogicalY (int y) const |
int | deviceToLogicalXRel (int x) const |
int | deviceToLogicalYRel (int y) const |
int | logicalToDeviceX (int x) const |
int | logicalToDeviceY (int y) const |
int | logicalToDeviceXRel (int x) const |
int | logicalToDeviceYRel (int y) const |
bool | canDrawBitmap () const |
bool | canGetTextExtent () const |
int | getDepth () const |
RSize | getPPI () const |
bool | ok () const |
int | getBackgroundMode () const |
RBrush | getBackground () const |
RBrush | getBrush () const |
RFont | getFont () const |
RPen | getPen () const |
RColour | getTextBackground () const |
RColour | getTextForeground () const |
void | setTextForeground (IN(RColour) colour) |
void | setTextBackground (IN(RColour) colour) |
int | getMapMode () const |
virtual void | setMapMode (int mode) |
virtual void | getUserScale (OUT(double) x, OUT(double) y) const |
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) const |
RPoint | getLogicalOrigin () const |
virtual void | setLogicalOrigin (int x, int y) |
void | getDeviceOrigin (OUT(int) x, OUT(int) y) const |
RPoint | getDeviceOrigin () const |
virtual void | setDeviceOrigin (int x, int y) |
virtual void | setAxisOrientation (bool xLeftRight, bool yBottomUp) |
int | getLogicalFunction () const |
virtual void | setLogicalFunction (int function) |
void | calcBoundingBox (int x, int y) |
void | resetBoundingBox () |
int | minX () const |
int | maxX () const |
int | minY () const |
int | maxY () const |
Member Function Documentation
virtual void acdk::wx::DC::beginDrawing |
( |
|
) |
[inline, virtual] |
|
bool acdk::wx::DC::blit |
( |
IN(RPoint) |
destPt, |
|
|
IN(RSize) |
sz, |
|
|
IN(RDC) |
source, |
|
|
IN(RPoint) |
srcPt, |
|
|
int |
rop = wxCOPY, |
|
|
bool |
useMask = false, |
|
|
IN(RPoint) |
srcPtMask = RPoint(new Point(-1, -1)) |
|
) |
[inline] |
|
bool acdk::wx::DC::blit |
( |
int |
xdest, |
|
|
int |
ydest, |
|
|
int |
width, |
|
|
int |
height, |
|
|
IN(RDC) |
source, |
|
|
int |
xsrc, |
|
|
int |
ysrc, |
|
|
int |
rop = wxCOPY, |
|
|
bool |
useMask = false, |
|
|
int |
xsrcMask = -1, |
|
|
int |
ysrcMask = -1 |
|
) |
[inline] |
|
void acdk::wx::DC::calcBoundingBox |
( |
int |
x, |
|
|
int |
y |
|
) |
[inline] |
|
bool acdk::wx::DC::canDrawBitmap |
( |
|
) |
const [inline] |
|
bool acdk::wx::DC::canGetTextExtent |
( |
|
) |
const [inline] |
|
virtual void acdk::wx::DC::clear |
( |
|
) |
[inline, virtual] |
|
void acdk::wx::DC::crossHair |
( |
IN(RPoint) |
pt |
) |
[inline] |
|
void acdk::wx::DC::crossHair |
( |
int |
x, |
|
|
int |
y |
|
) |
[inline] |
|
virtual void acdk::wx::DC::destroyClippingRegion |
( |
|
) |
[inline, virtual] |
|
int acdk::wx::DC::deviceToLogicalX |
( |
int |
x |
) |
const [inline] |
|
int acdk::wx::DC::deviceToLogicalXRel |
( |
int |
x |
) |
const [inline] |
|
int acdk::wx::DC::deviceToLogicalY |
( |
int |
y |
) |
const [inline] |
|
int acdk::wx::DC::deviceToLogicalYRel |
( |
int |
y |
) |
const [inline] |
|
void acdk::wx::DC::drawArc |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
xc, |
|
|
int |
yc |
|
) |
[inline] |
|
void acdk::wx::DC::drawBitmap |
( |
IN(RBitmap) |
bmp, |
|
|
IN(RPoint) |
pt, |
|
|
bool |
useMask = false |
|
) |
[inline] |
|
void acdk::wx::DC::drawBitmap |
( |
IN(RBitmap) |
bmp, |
|
|
int |
x, |
|
|
int |
y, |
|
|
bool |
useMask = false |
|
) |
[inline] |
|
void acdk::wx::DC::drawCheckMark |
( |
IN(RRect) |
rect |
) |
[inline] |
|
void acdk::wx::DC::drawCheckMark |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
[inline] |
|
void acdk::wx::DC::drawCircle |
( |
IN(RPoint) |
pt, |
|
|
int |
radius |
|
) |
[inline] |
|
void acdk::wx::DC::drawCircle |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
radius |
|
) |
[inline] |
|
void acdk::wx::DC::drawEllipse |
( |
IN(RRect) |
rect |
) |
[inline] |
|
void acdk::wx::DC::drawEllipse |
( |
IN(RPoint) |
pt, |
|
|
IN(RSize) |
sz |
|
) |
[inline] |
|
void acdk::wx::DC::drawEllipse |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
[inline] |
|
void acdk::wx::DC::drawEllipticArc |
( |
IN(RPoint) |
pt, |
|
|
IN(RSize) |
sz, |
|
|
double |
sa, |
|
|
double |
ea |
|
) |
[inline] |
|
void acdk::wx::DC::drawEllipticArc |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h, |
|
|
double |
sa, |
|
|
double |
ea |
|
) |
[inline] |
|
void acdk::wx::DC::drawIcon |
( |
IN(RIcon) |
icon, |
|
|
IN(RPoint) |
pt |
|
) |
[inline] |
|
void acdk::wx::DC::drawIcon |
( |
IN(RIcon) |
icon, |
|
|
int |
x, |
|
|
int |
y |
|
) |
[inline] |
|
void acdk::wx::DC::drawLabel |
( |
IN(RString) |
text, |
|
|
IN(RRect) |
rect, |
|
|
int |
alignment = wxALIGN_LEFT | wxALIGN_TOP, |
|
|
int |
indexAccel = -1 |
|
) |
[inline] |
|
virtual void acdk::wx::DC::drawLabel |
( |
IN(RString) |
text, |
|
|
IN(RBitmap) |
image, |
|
|
IN(RRect) |
rect, |
|
|
int |
alignment = wxALIGN_LEFT | wxALIGN_TOP, |
|
|
int |
indexAccel = -1 |
|
) |
[inline, virtual] |
|
void acdk::wx::DC::drawLine |
( |
IN(RPoint) |
pt1, |
|
|
IN(RPoint) |
pt2 |
|
) |
[inline] |
|
void acdk::wx::DC::drawLine |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 |
|
) |
[inline] |
|
void acdk::wx::DC::drawLines |
( |
IN(RPointArray) |
points, |
|
|
int |
xoffset = 0, |
|
|
int |
yoffset = 0 |
|
) |
[inline] |
|
void acdk::wx::DC::drawPoint |
( |
IN(RPoint) |
pt |
) |
[inline] |
|
void acdk::wx::DC::drawPoint |
( |
int |
x, |
|
|
int |
y |
|
) |
[inline] |
|
void acdk::wx::DC::drawPolygon |
( |
IN(RPointArray) |
points, |
|
|
int |
xoffset = 0, |
|
|
int |
yoffset = 0, |
|
|
int |
fillStyle = wxODDEVEN_RULE |
|
) |
[inline] |
|
void acdk::wx::DC::drawRectangle |
( |
IN(RRect) |
rect |
) |
[inline] |
|
void acdk::wx::DC::drawRectangle |
( |
IN(RPoint) |
pt, |
|
|
IN(RSize) |
sz |
|
) |
[inline] |
|
void acdk::wx::DC::drawRectangle |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
[inline] |
|
void acdk::wx::DC::drawRotatedText |
( |
IN(RString) |
text, |
|
|
IN(RPoint) |
pt, |
|
|
double |
angle |
|
) |
[inline] |
|
void acdk::wx::DC::drawRotatedText |
( |
IN(RString) |
text, |
|
|
int |
x, |
|
|
int |
y, |
|
|
double |
angle |
|
) |
[inline] |
|
void acdk::wx::DC::drawRoundedRectangle |
( |
IN(RRect) |
r, |
|
|
double |
radius |
|
) |
[inline] |
|
void acdk::wx::DC::drawRoundedRectangle |
( |
IN(RPoint) |
pt, |
|
|
IN(RSize) |
sz, |
|
|
double |
radius |
|
) |
[inline] |
|
void acdk::wx::DC::drawRoundedRectangle |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
double |
radius |
|
) |
[inline] |
|
void acdk::wx::DC::drawSpline |
( |
IN(RPointArray) |
points |
) |
[inline] |
|
void acdk::wx::DC::drawSpline |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
x3, |
|
|
int |
y3 |
|
) |
[inline] |
|
void acdk::wx::DC::drawText |
( |
IN(RString) |
text, |
|
|
IN(RPoint) |
pt |
|
) |
[inline] |
|
void acdk::wx::DC::drawText |
( |
IN(RString) |
text, |
|
|
int |
x, |
|
|
int |
y |
|
) |
[inline] |
|
virtual void acdk::wx::DC::endDoc |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::endDrawing |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::endPage |
( |
|
) |
[inline, virtual] |
|
bool acdk::wx::DC::floodFill |
( |
IN(RPoint) |
pt, |
|
|
IN(RColour) |
col, |
|
|
int |
style = wxFLOOD_SURFACE |
|
) |
[inline] |
|
bool acdk::wx::DC::floodFill |
( |
int |
x, |
|
|
int |
y, |
|
|
IN(RColour) |
col, |
|
|
int |
style = wxFLOOD_SURFACE |
|
) |
[inline] |
|
RBrush acdk::wx::DC::getBackground |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::getBackgroundMode |
( |
|
) |
const [inline] |
|
RBrush acdk::wx::DC::getBrush |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::getCharHeight |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::getCharWidth |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::getClippingBox |
( |
IN(RRect) |
rect |
) |
const [inline] |
|
void acdk::wx::DC::getClippingBox |
( |
OUT(int) |
x, |
|
|
OUT(int) |
y, |
|
|
OUT(int) |
w, |
|
|
OUT(int) |
h |
|
) |
const [inline] |
|
int acdk::wx::DC::getDepth |
( |
|
) |
const [inline] |
|
RPoint acdk::wx::DC::getDeviceOrigin |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::getDeviceOrigin |
( |
OUT(int) |
x, |
|
|
OUT(int) |
y |
|
) |
const [inline] |
|
RFont acdk::wx::DC::getFont |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::getLogicalFunction |
( |
|
) |
const [inline] |
|
RPoint acdk::wx::DC::getLogicalOrigin |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::getLogicalOrigin |
( |
OUT(int) |
x, |
|
|
OUT(int) |
y |
|
) |
const [inline] |
|
virtual void acdk::wx::DC::getLogicalScale |
( |
OUT(double) |
x, |
|
|
OUT(double) |
y |
|
) |
[inline, virtual] |
|
int acdk::wx::DC::getMapMode |
( |
|
) |
const [inline] |
|
RPen acdk::wx::DC::getPen |
( |
|
) |
const [inline] |
|
bool acdk::wx::DC::getPixel |
( |
IN(RPoint) |
pt, |
|
|
IN(RColour) |
col |
|
) |
const [inline] |
|
bool acdk::wx::DC::getPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
OUT(RColour) |
col |
|
) |
const [inline] |
|
RSize acdk::wx::DC::getPPI |
( |
|
) |
const [inline] |
|
RSize acdk::wx::DC::getSize |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::getSize |
( |
OUT(int) |
width, |
|
|
OUT(int) |
height |
|
) |
const [inline] |
|
RSize acdk::wx::DC::getSizeMM |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::getSizeMM |
( |
OUT(int) |
width, |
|
|
OUT(int) |
height |
|
) |
const [inline] |
|
RColour acdk::wx::DC::getTextBackground |
( |
|
) |
const [inline] |
|
RColour acdk::wx::DC::getTextForeground |
( |
|
) |
const [inline] |
|
virtual void acdk::wx::DC::getUserScale |
( |
OUT(double) |
x, |
|
|
OUT(double) |
y |
|
) |
const [inline, virtual] |
|
int acdk::wx::DC::logicalToDeviceX |
( |
int |
x |
) |
const [inline] |
|
int acdk::wx::DC::logicalToDeviceXRel |
( |
int |
x |
) |
const [inline] |
|
int acdk::wx::DC::logicalToDeviceY |
( |
int |
y |
) |
const [inline] |
|
int acdk::wx::DC::logicalToDeviceYRel |
( |
int |
y |
) |
const [inline] |
|
int acdk::wx::DC::maxX |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::maxY |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::minX |
( |
|
) |
const [inline] |
|
int acdk::wx::DC::minY |
( |
|
) |
const [inline] |
|
bool acdk::wx::DC::ok |
( |
|
) |
const [inline] |
|
void acdk::wx::DC::resetBoundingBox |
( |
|
) |
[inline] |
|
virtual void acdk::wx::DC::setAxisOrientation |
( |
bool |
xLeftRight, |
|
|
bool |
yBottomUp |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setBackground |
( |
IN(RBrush) |
brush |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setBackgroundMode |
( |
int |
mode |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setBrush |
( |
IN(RBrush) |
brush |
) |
[inline, virtual] |
|
void acdk::wx::DC::setClippingRegion |
( |
IN(RRegion) |
region |
) |
[inline] |
|
void acdk::wx::DC::setClippingRegion |
( |
IN(RRect) |
rect |
) |
[inline] |
|
void acdk::wx::DC::setClippingRegion |
( |
IN(RPoint) |
pt, |
|
|
IN(RSize) |
sz |
|
) |
[inline] |
|
void acdk::wx::DC::setClippingRegion |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
[inline] |
|
virtual void acdk::wx::DC::setDeviceOrigin |
( |
int |
x, |
|
|
int |
y |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setFont |
( |
IN(RFont) |
font |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setLogicalFunction |
( |
int |
function |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setLogicalOrigin |
( |
int |
x, |
|
|
int |
y |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setLogicalScale |
( |
double |
x, |
|
|
double |
y |
|
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setMapMode |
( |
int |
mode |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::setPen |
( |
IN(RPen) |
pen |
) |
[inline, virtual] |
|
void acdk::wx::DC::setTextBackground |
( |
IN(RColour) |
colour |
) |
[inline] |
|
void acdk::wx::DC::setTextForeground |
( |
IN(RColour) |
colour |
) |
[inline] |
|
virtual void acdk::wx::DC::setUserScale |
( |
double |
x, |
|
|
double |
y |
|
) |
[inline, virtual] |
|
virtual bool acdk::wx::DC::startDoc |
( |
IN(RString) |
message |
) |
[inline, virtual] |
|
virtual void acdk::wx::DC::startPage |
( |
|
) |
[inline, virtual] |
|
|
|