wxDC
Module
Module Summary
Description
See external documentation: wxDC.
DATA TYPES
Exports
blit(This, DestPt, Sz, Source, SrcPt) -> boolean()
Types
Equivalent to blit(This, DestPt, Sz, Source, SrcPt, []).
blit(This, DestPt, Sz, Source, SrcPt, Options::[Option]) -> boolean()
Types
See external documentation.
Rop = integer
calcBoundingBox(This, X, Y) -> ok
Types
computeScaleAndOrigin(This) -> ok
Types
This function is deprecated: deprecated function not available in wxWidgets-2.9 and later
destroyClippingRegion(This) -> ok
Types
deviceToLogicalX(This, X) -> integer()
deviceToLogicalXRel(This, X) -> integer()
deviceToLogicalY(This, Y) -> integer()
deviceToLogicalYRel(This, Y) -> integer()
drawArc(This, Pt1, Pt2, Centre) -> ok
Types
drawBitmap(This, Bmp, Pt) -> ok
Equivalent to drawBitmap(This, Bmp, Pt, []).
drawBitmap(This, Bmp, Pt, Options::[Option]) -> ok
Types
drawCheckMark(This, Rect) -> ok
drawCircle(This, Pt, Radius) -> ok
drawEllipse(This, Pt, Sz) -> ok
drawEllipticArc(This, Pt, Sz, Sa, Ea) -> ok
Types
drawIcon(This, Icon, Pt) -> ok
drawLabel(This, Text, Rect) -> ok
Types
Equivalent to drawLabel(This, Text, Rect, []).
drawLabel(This, Text, Rect, Options::[Option]) -> ok
Types
drawLine(This, Pt1, Pt2) -> ok
Equivalent to drawLines(This, Points, []).
drawLines(This, Points, Options::[Option]) -> ok
Types
drawPolygon(This, Points) -> ok
Equivalent to drawPolygon(This, Points, []).
drawPolygon(This, Points, Options::[Option]) -> ok
Types
See external documentation.
FillStyle = integer
drawRectangle(This, Rect) -> ok
drawRectangle(This, Pt, Sz) -> ok
drawRotatedText(This, Text, Pt, Angle) -> ok
drawRoundedRectangle(This, R, Radius) -> ok
drawRoundedRectangle(This, Pt, Sz, Radius) -> ok
Types
drawText(This, Text, Pt) -> ok
Types
Types
floodFill(This, Pt, Col) -> boolean()
Equivalent to floodFill(This, Pt, Col, []).
floodFill(This, Pt, Col, Options::[Option]) -> boolean()
Types
See external documentation.
Style = integer
getBackground(This) -> wxBrush:wxBrush()
Types
getBackgroundMode(This) -> integer()
Types
getBrush(This) -> wxBrush:wxBrush()
Types
getCharHeight(This) -> integer()
Types
getCharWidth(This) -> integer()
Types
getClippingBox(This) -> Result
getFont(This) -> wxFont:wxFont()
Types
getLayoutDirection(This) -> wx:wx_enum()
Types
See external documentation.
Res = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
getLogicalFunction(This) -> integer()
Types
Types
getMultiLineTextExtent(This, String) -> {W::integer(), H::integer()}
getMultiLineTextExtent(This, String, Options::[Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()}
getPartialTextExtents(This, Text) -> Result
getPen(This) -> wxPen:wxPen()
Types
Types
getPPI(This) -> {W::integer(), H::integer()}
Types
getSize(This) -> {W::integer(), H::integer()}
Types
getSizeMM(This) -> {W::integer(), H::integer()}
Types
getTextBackground(This) -> wx:wx_colour4()
Types
getTextExtent(This, String) -> {W::integer(), H::integer()}
getTextExtent(This, String, Options::[Option]) -> Result
Types
getTextForeground(This) -> wx:wx_colour4()
Types
getUserScale(This) -> {X::number(), Y::number()}
Types
gradientFillConcentric(This, Rect, InitialColour, DestColour) -> ok
Types
gradientFillConcentric(This, Rect, InitialColour, DestColour, CircleCenter) -> ok
Types
gradientFillLinear(This, Rect, InitialColour, DestColour) -> ok
Types
gradientFillLinear(This, Rect, InitialColour, DestColour, Options::[Option]) -> ok
Types
See external documentation.
NDirection = ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL
logicalToDeviceX(This, X) -> integer()
logicalToDeviceXRel(This, X) -> integer()
logicalToDeviceY(This, Y) -> integer()
logicalToDeviceYRel(This, Y) -> integer()
Types
Types
Types
Types
Types
Types
setAxisOrientation(This, XLeftRight, YBottomUp) -> ok
setBackground(This, Brush) -> ok
setBackgroundMode(This, Mode) -> ok
setClippingRegion(This, Region) -> ok
See external documentation.
Also:
setClippingRegion(This, Rect) -> 'ok' when
This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
setClippingRegion(This, Pt, Sz) -> ok
setDeviceOrigin(This, X, Y) -> ok
setLayoutDirection(This, Dir) -> ok
See external documentation.
Dir = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
setLogicalFunction(This, Function) -> ok
See external documentation.
Function = integer
See external documentation.
Mode = integer
setPalette(This, Palette) -> ok
setTextBackground(This, Colour) -> ok
setTextForeground(This, Colour) -> ok
setUserScale(This, X, Y) -> ok
startDoc(This, Message) -> boolean()