wxDC
See external documentation: wxDC.
See external documentation:
Functions
blit(This, DestPt, Sz, Source, SrcPt) -> boolean()
This = wxDC()
DestPt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
Source = wxDC()
SrcPt = {X::integer(), Y::integer()}
Equivalent to blit(This, DestPt, Sz, Source, SrcPt, []).
blit(This, DestPt, Sz, Source, SrcPt, Option::[Option]) -> boolean()
This = wxDC()
DestPt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
Source = wxDC()
SrcPt = {X::integer(), Y::integer()}
Option = {rop, wx_enum() (see module wx)} | {useMask, boolean()} | {srcPtMask, {X::integer(), Y::integer()}}
See
Rop = integer
calcBoundingBox(This, X, Y) -> ok
This = wxDC()
X = integer()
Y = integer()
See
clear(This) -> ok
This = wxDC()
See
computeScaleAndOrigin(This) -> ok
This = wxDC()
This function is deprecated: deprecated function not available in wxWidgets-2.9 and later
See
crossHair(This, Pt) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
See
destroyClippingRegion(This) -> ok
This = wxDC()
See
deviceToLogicalX(This, X) -> integer()
This = wxDC()
X = integer()
See
deviceToLogicalXRel(This, X) -> integer()
This = wxDC()
X = integer()
See
deviceToLogicalY(This, Y) -> integer()
This = wxDC()
Y = integer()
See
deviceToLogicalYRel(This, Y) -> integer()
This = wxDC()
Y = integer()
See
drawArc(This, Pt1, Pt2, Centre) -> ok
This = wxDC()
Pt1 = {X::integer(), Y::integer()}
Pt2 = {X::integer(), Y::integer()}
Centre = {X::integer(), Y::integer()}
See
drawBitmap(This, Bmp, Pt) -> ok
This = wxDC()
Bmp = wxBitmap() (see module wxBitmap)
Pt = {X::integer(), Y::integer()}
Equivalent to drawBitmap(This, Bmp, Pt, []).
drawBitmap(This, Bmp, Pt, Option::[Option]) -> ok
This = wxDC()
Bmp = wxBitmap() (see module wxBitmap)
Pt = {X::integer(), Y::integer()}
Option = {useMask, boolean()}
See
drawCheckMark(This, Rect) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See
drawCircle(This, Pt, Radius) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Radius = integer()
See
drawEllipse(This, Rect) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See
drawEllipse(This, Pt, Sz) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
See
drawEllipticArc(This, Pt, Sz, Sa, Ea) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
Sa = number()
Ea = number()
See
drawIcon(This, Icon, Pt) -> ok
This = wxDC()
Icon = wxIcon() (see module wxIcon)
Pt = {X::integer(), Y::integer()}
See
drawLabel(This, Text, Rect) -> ok
This = wxDC()
Text = chardata() (see module unicode)
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
Equivalent to drawLabel(This, Text, Rect, []).
drawLabel(This, Text, Rect, Option::[Option]) -> ok
This = wxDC()
Text = chardata() (see module unicode)
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
Option = {alignment, integer()} | {indexAccel, integer()}
See
drawLine(This, Pt1, Pt2) -> ok
This = wxDC()
Pt1 = {X::integer(), Y::integer()}
Pt2 = {X::integer(), Y::integer()}
See
drawLines(This, Points) -> ok
This = wxDC()
Points = [{X::integer(), Y::integer()}]
Equivalent to drawLines(This, Points, []).
drawLines(This, Points, Option::[Option]) -> ok
This = wxDC()
Points = [{X::integer(), Y::integer()}]
Option = {xoffset, integer()} | {yoffset, integer()}
See
drawPolygon(This, Points) -> ok
This = wxDC()
Points = [{X::integer(), Y::integer()}]
Equivalent to drawPolygon(This, Points, []).
drawPolygon(This, Points, Option::[Option]) -> ok
This = wxDC()
Points = [{X::integer(), Y::integer()}]
Option = {xoffset, integer()} | {yoffset, integer()} | {fillStyle, wx_enum() (see module wx)}
See
FillStyle = integer
drawPoint(This, Pt) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
See
drawRectangle(This, Rect) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See
drawRectangle(This, Pt, Sz) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
See
drawRotatedText(This, Text, Pt, Angle) -> ok
This = wxDC()
Text = chardata() (see module unicode)
Pt = {X::integer(), Y::integer()}
Angle = number()
See
drawRoundedRectangle(This, R, Radius) -> ok
This = wxDC()
R = {X::integer(), Y::integer(), W::integer(), H::integer()}
Radius = number()
See
drawRoundedRectangle(This, Pt, Sz, Radius) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
Radius = number()
See
drawText(This, Text, Pt) -> ok
This = wxDC()
Text = chardata() (see module unicode)
Pt = {X::integer(), Y::integer()}
See
endDoc(This) -> ok
This = wxDC()
See
endPage(This) -> ok
This = wxDC()
See
floodFill(This, Pt, Col) -> boolean()
This = wxDC()
Pt = {X::integer(), Y::integer()}
Col = wx_colour() (see module wx)
Equivalent to floodFill(This, Pt, Col, []).
floodFill(This, Pt, Col, Option::[Option]) -> boolean()
This = wxDC()
Pt = {X::integer(), Y::integer()}
Col = wx_colour() (see module wx)
Option = {style, wx_enum() (see module wx)}
See
Style = integer
getBackground(This) -> wxBrush() (see module wxBrush)
This = wxDC()
See
getBackgroundMode(This) -> integer()
This = wxDC()
See
getBrush(This) -> wxBrush() (see module wxBrush)
This = wxDC()
See
getCharHeight(This) -> integer()
This = wxDC()
See
getCharWidth(This) -> integer()
This = wxDC()
See
getClippingBox(This) -> Result
Result = {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxDC()
See
getFont(This) -> wxFont() (see module wxFont)
This = wxDC()
See
getLayoutDirection(This) -> wx_enum() (see module wx)
This = wxDC()
See
Res = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
getLogicalFunction(This) -> integer()
This = wxDC()
See
getMapMode(This) -> integer()
This = wxDC()
See
getMultiLineTextExtent(This, String) -> {W::integer(), H::integer()}
This = wxDC()
String = chardata() (see module unicode)
See
getMultiLineTextExtent(This, String, Option::[Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()}
This = wxDC()
String = chardata() (see module unicode)
Option = {font, wxFont() (see module wxFont)}
See
getPartialTextExtents(This, Text) -> Result
Result = {Res::boolean(), Widths::[integer()]}
This = wxDC()
Text = chardata() (see module unicode)
See
getPen(This) -> wxPen() (see module wxPen)
This = wxDC()
See
getPixel(This, Pt) -> Result
Result = {Res::boolean(), Col::wx_colour4() (see module wx)}
This = wxDC()
Pt = {X::integer(), Y::integer()}
See
getPPI(This) -> {W::integer(), H::integer()}
This = wxDC()
See
getSize(This) -> {W::integer(), H::integer()}
This = wxDC()
See
getSizeMM(This) -> {W::integer(), H::integer()}
This = wxDC()
See
getTextBackground(This) -> wx_colour4() (see module wx)
This = wxDC()
See
getTextExtent(This, String) -> {W::integer(), H::integer()}
This = wxDC()
String = chardata() (see module unicode)
See
getTextExtent(This, String, Option::[Option]) -> Result
Result = {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}
This = wxDC()
String = chardata() (see module unicode)
Option = {theFont, wxFont() (see module wxFont)}
See
getTextForeground(This) -> wx_colour4() (see module wx)
This = wxDC()
See
getUserScale(This) -> {X::number(), Y::number()}
This = wxDC()
See
gradientFillConcentric(This, Rect, InitialColour, DestColour) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
InitialColour = wx_colour() (see module wx)
DestColour = wx_colour() (see module wx)
See
gradientFillConcentric(This, Rect, InitialColour, DestColour, CircleCenter) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
InitialColour = wx_colour() (see module wx)
DestColour = wx_colour() (see module wx)
CircleCenter = {X::integer(), Y::integer()}
See
gradientFillLinear(This, Rect, InitialColour, DestColour) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
InitialColour = wx_colour() (see module wx)
DestColour = wx_colour() (see module wx)
gradientFillLinear(This, Rect, InitialColour, DestColour, Option::[Option]) -> ok
This = wxDC()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
InitialColour = wx_colour() (see module wx)
DestColour = wx_colour() (see module wx)
Option = {nDirection, wx_enum() (see module wx)}
See
NDirection = ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL
logicalToDeviceX(This, X) -> integer()
This = wxDC()
X = integer()
See
logicalToDeviceXRel(This, X) -> integer()
This = wxDC()
X = integer()
See
logicalToDeviceY(This, Y) -> integer()
This = wxDC()
Y = integer()
See
logicalToDeviceYRel(This, Y) -> integer()
This = wxDC()
Y = integer()
See
maxX(This) -> integer()
This = wxDC()
See
maxY(This) -> integer()
This = wxDC()
See
minX(This) -> integer()
This = wxDC()
See
minY(This) -> integer()
This = wxDC()
See
isOk(This) -> boolean()
This = wxDC()
See
resetBoundingBox(This) -> ok
This = wxDC()
See
setAxisOrientation(This, XLeftRight, YBottomUp) -> ok
This = wxDC()
XLeftRight = boolean()
YBottomUp = boolean()
See
setBackground(This, Brush) -> ok
This = wxDC()
Brush = wxBrush() (see module wxBrush)
See
setBackgroundMode(This, Mode) -> ok
This = wxDC()
Mode = integer()
See
setBrush(This, Brush) -> ok
This = wxDC()
Brush = wxBrush() (see module wxBrush)
See
setClippingRegion(This, Region) -> ok
This = wxDC()
Region = wxRegion() (see module wxRegion)
See
Also:
setClippingRegion(This, Rect) -> ok when
This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
setClippingRegion(This, Pt, Sz) -> ok
This = wxDC()
Pt = {X::integer(), Y::integer()}
Sz = {W::integer(), H::integer()}
See
setDeviceOrigin(This, X, Y) -> ok
This = wxDC()
X = integer()
Y = integer()
See
setFont(This, Font) -> ok
This = wxDC()
Font = wxFont() (see module wxFont)
See
setLayoutDirection(This, Dir) -> ok
This = wxDC()
Dir = wx_enum() (see module wx)
See
Dir = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
setLogicalFunction(This, Function) -> ok
This = wxDC()
Function = wx_enum() (see module wx)
See
Function = integer
setMapMode(This, Mode) -> ok
This = wxDC()
Mode = wx_enum() (see module wx)
See
Mode = integer
setPalette(This, Palette) -> ok
This = wxDC()
Palette = wxPalette() (see module wxPalette)
See
setPen(This, Pen) -> ok
This = wxDC()
Pen = wxPen() (see module wxPen)
See
setTextBackground(This, Colour) -> ok
This = wxDC()
Colour = wx_colour() (see module wx)
See
setTextForeground(This, Colour) -> ok
This = wxDC()
Colour = wx_colour() (see module wx)
See
setUserScale(This, X, Y) -> ok
This = wxDC()
X = number()
Y = number()
See
startDoc(This, Message) -> boolean()
This = wxDC()
Message = chardata() (see module unicode)
See
startPage(This) -> ok
This = wxDC()
See