wxDC
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxDC.
DATA TYPES
EXPORTS
Equivalent to blit(This, DestPt, Sz, Source, SrcPt, []).
Types:
calcBoundingBox(This::wxDC(), X::integer(), Y::integer()) -> ok
computeScaleAndOrigin(This::wxDC()) -> ok
crossHair(This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok
destroyClippingRegion(This::wxDC()) -> ok
deviceToLogicalX(This::wxDC(), X::integer()) -> integer()
deviceToLogicalXRel(This::wxDC(), X::integer()) -> integer()
deviceToLogicalY(This::wxDC(), Y::integer()) -> integer()
deviceToLogicalYRel(This::wxDC(), Y::integer()) -> integer()
Equivalent to drawBitmap(This, Bmp, Pt, []).
Types:
drawCheckMark(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok
drawCircle(This::wxDC(), Pt::{X::integer(), Y::integer()}, Radius::integer()) -> ok
drawEllipse(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok
drawEllipse(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok
drawIcon(This::wxDC(), Icon::wxIcon() (see module wxIcon), Pt::{X::integer(), Y::integer()}) -> ok
Equivalent to drawLabel(This, Text, Rect, []).
Types:
drawLine(This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}) -> ok
drawLines(This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok
Equivalent to drawLines(This, Points, []).
drawLines(This::wxDC(), Points::[{X::integer(), Y::integer()}], Options::[Option]) -> ok
Types:
drawPolygon(This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok
Equivalent to drawPolygon(This, Points, []).
drawPolygon(This::wxDC(), Points::[{X::integer(), Y::integer()}], Options::[Option]) -> ok
Types:
drawPoint(This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok
drawRectangle(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok
drawText(This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}) -> ok
floodFill(This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::colour() (see module wx)) -> bool()
Equivalent to floodFill(This, Pt, Col, []).
Types:
getBackground(This::wxDC()) -> wxBrush() (see module wxBrush)
getBackgroundMode(This::wxDC()) -> integer()
getBrush(This::wxDC()) -> wxBrush() (see module wxBrush)
getCharHeight(This::wxDC()) -> integer()
getCharWidth(This::wxDC()) -> integer()
getClippingBox(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok
getFont(This::wxDC()) -> wxFont() (see module wxFont)
getLayoutDirection(This::wxDC()) -> WxLayoutDirection
Types:
See external documentation.
WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
getLogicalFunction(This::wxDC()) -> integer()
getMapMode(This::wxDC()) -> integer()
getMultiLineTextExtent(This::wxDC(), String::string()) -> {W::integer(), H::integer()}
Types:
getPartialTextExtents(This::wxDC(), Text::string(), Widths::[integer()]) -> bool()
getPen(This::wxDC()) -> wxPen() (see module wxPen)
getPixel(This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::colour() (see module wx)) -> bool()
getPPI(This::wxDC()) -> {W::integer(), H::integer()}
getSize(This::wxDC()) -> {W::integer(), H::integer()}
getSizeMM(This::wxDC()) -> {W::integer(), H::integer()}
getTextBackground(This::wxDC()) -> colour() (see module wx)
getTextExtent(This::wxDC(), String::string()) -> {W::integer(), H::integer()}
Types:
getTextForeground(This::wxDC()) -> colour() (see module wx)
getUserScale(This::wxDC()) -> {X::float(), Y::float()}
Types:
See external documentation.
WxDirection is one of ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL
logicalToDeviceX(This::wxDC(), X::integer()) -> integer()
logicalToDeviceXRel(This::wxDC(), X::integer()) -> integer()
logicalToDeviceY(This::wxDC(), Y::integer()) -> integer()
logicalToDeviceYRel(This::wxDC(), Y::integer()) -> integer()
maxX(This::wxDC()) -> integer()
maxY(This::wxDC()) -> integer()
minX(This::wxDC()) -> integer()
minY(This::wxDC()) -> integer()
resetBoundingBox(This::wxDC()) -> ok
setAxisOrientation(This::wxDC(), XLeftRight::bool(), YBottomUp::bool()) -> ok
setBackground(This::wxDC(), Brush::wxBrush() (see module wxBrush)) -> ok
setBackgroundMode(This::wxDC(), Mode::integer()) -> ok
setBrush(This::wxDC(), Brush::wxBrush() (see module wxBrush)) -> ok
setClippingRegion(This::wxDC(), X::term()) -> ok
See external documentation.
Alternatives:
setClippingRegion(This::wxDC(), Region::wxRegion:wxRegion()) -> ok
setClippingRegion(This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
setDeviceOrigin(This::wxDC(), X::integer(), Y::integer()) -> ok
setFont(This::wxDC(), Font::wxFont() (see module wxFont)) -> ok
setLayoutDirection(This::wxDC(), Dir::WxLayoutDirection) -> ok
Types:
See external documentation.
WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
setLogicalFunction(This::wxDC(), Function::integer()) -> ok
setMapMode(This::wxDC(), Mode::integer()) -> ok
setPalette(This::wxDC(), Palette::wxPalette() (see module wxPalette)) -> ok
setPen(This::wxDC(), Pen::wxPen() (see module wxPen)) -> ok
setTextBackground(This::wxDC(), Colour::colour() (see module wx)) -> ok
setTextForeground(This::wxDC(), Colour::colour() (see module wx)) -> ok
setUserScale(This::wxDC(), X::float(), Y::float()) -> ok