Module wxDC

See external documentation: wxDC.

Description

See external documentation: wxDC.

Data Types

wxDC()

abstract datatype: wxDC()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Function Index

blit/5*Equivalent to blit(This, DestPt, Sz, Source, SrcPt, []).
blit/6*See external documentation.
calcBoundingBox/3*See external documentation.
clear/1*See external documentation.
computeScaleAndOrigin/1*See external documentation.
crossHair/2*See external documentation.
destroyClippingRegion/1*See external documentation.
deviceToLogicalX/2*See external documentation.
deviceToLogicalXRel/2*See external documentation.
deviceToLogicalY/2*See external documentation.
deviceToLogicalYRel/2*See external documentation.
drawArc/4*See external documentation.
drawBitmap/3*Equivalent to drawBitmap(This, Bmp, Pt, []).
drawBitmap/4*See external documentation.
drawCheckMark/2*See external documentation.
drawCircle/3*See external documentation.
drawEllipse/2*See external documentation.
drawEllipse/3*See external documentation.
drawEllipticArc/5*See external documentation.
drawIcon/3*See external documentation.
drawLabel/3*Equivalent to drawLabel(This, Text, Rect, []).
drawLabel/4*See external documentation.
drawLine/3*See external documentation.
drawLines/2*Equivalent to drawLines(This, Points, []).
drawLines/3*See external documentation.
drawPoint/2*See external documentation.
drawPolygon/2*Equivalent to drawPolygon(This, Points, []).
drawPolygon/3*See external documentation.
drawRectangle/2*See external documentation.
drawRectangle/3*See external documentation.
drawRotatedText/4*See external documentation.
drawRoundedRectangle/3*See external documentation.
drawRoundedRectangle/4*See external documentation.
drawText/3*See external documentation.
endDoc/1*See external documentation.
endPage/1*See external documentation.
floodFill/3*Equivalent to floodFill(This, Pt, Col, []).
floodFill/4*See external documentation.
getBackground/1*See external documentation.
getBackgroundMode/1*See external documentation.
getBrush/1*See external documentation.
getCharHeight/1*See external documentation.
getCharWidth/1*See external documentation.
getClippingBox/2*See external documentation.
getFont/1*See external documentation.
getLayoutDirection/1*See external documentation.
getLogicalFunction/1*See external documentation.
getMapMode/1*See external documentation.
getMultiLineTextExtent/2*See external documentation.
getMultiLineTextExtent/3*See external documentation.
getPPI/1*See external documentation.
getPartialTextExtents/3*See external documentation.
getPen/1*See external documentation.
getPixel/3*See external documentation.
getSize/1*See external documentation.
getSizeMM/1*See external documentation.
getTextBackground/1*See external documentation.
getTextExtent/2*See external documentation.
getTextExtent/3*See external documentation.
getTextForeground/1*See external documentation.
getUserScale/1*See external documentation.
gradientFillConcentric/4*See external documentation.
gradientFillConcentric/5*See external documentation.
gradientFillLinear/4*Equivalent to gradientFillLinear(This, Rect, InitialColour, DestColour, []).
gradientFillLinear/5*See external documentation.
isOk/1*See external documentation.
logicalToDeviceX/2*See external documentation.
logicalToDeviceXRel/2*See external documentation.
logicalToDeviceY/2*See external documentation.
logicalToDeviceYRel/2*See external documentation.
maxX/1*See external documentation.
maxY/1*See external documentation.
minX/1*See external documentation.
minY/1*See external documentation.
resetBoundingBox/1*See external documentation.
setAxisOrientation/3*See external documentation.
setBackground/2*See external documentation.
setBackgroundMode/2*See external documentation.
setBrush/2*See external documentation.
setClippingRegion/2*See external documentation.
setClippingRegion/3*See external documentation.
setDeviceOrigin/3*See external documentation.
setFont/2*See external documentation.
setLayoutDirection/2*See external documentation.
setLogicalFunction/2*See external documentation.
setMapMode/2*See external documentation.
setPalette/2*See external documentation.
setPen/2*See external documentation.
setTextBackground/2*See external documentation.
setTextForeground/2*See external documentation.
setUserScale/3*See external documentation.
startDoc/2*See external documentation.
startPage/1*See external documentation.

Function Details

blit/5 *

blit(This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}) -> bool()

Equivalent to blit(This, DestPt, Sz, Source, SrcPt, []).

blit/6 *

blit(This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}, Options::[Option]) -> bool()

See external documentation.

calcBoundingBox/3 *

calcBoundingBox(This::wxDC(), X::integer(), Y::integer()) -> ok

See external documentation.

clear/1 *

clear(This::wxDC()) -> ok

See external documentation.

computeScaleAndOrigin/1 *

computeScaleAndOrigin(This::wxDC()) -> ok

See external documentation.

crossHair/2 *

crossHair(This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok

See external documentation.

destroyClippingRegion/1 *

destroyClippingRegion(This::wxDC()) -> ok

See external documentation.

deviceToLogicalX/2 *

deviceToLogicalX(This::wxDC(), X::integer()) -> integer()

See external documentation.

deviceToLogicalXRel/2 *

deviceToLogicalXRel(This::wxDC(), X::integer()) -> integer()

See external documentation.

deviceToLogicalY/2 *

deviceToLogicalY(This::wxDC(), Y::integer()) -> integer()

See external documentation.

deviceToLogicalYRel/2 *

deviceToLogicalYRel(This::wxDC(), Y::integer()) -> integer()

See external documentation.

drawArc/4 *

drawArc(This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}, Centre::{X::integer(), Y::integer()}) -> ok

See external documentation.

drawBitmap/3 *

drawBitmap(This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}) -> ok

Equivalent to drawBitmap(This, Bmp, Pt, []).

drawBitmap/4 *

drawBitmap(This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}, Options::[Option]) -> ok

See external documentation.

drawCheckMark/2 *

drawCheckMark(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok

See external documentation.

drawCircle/3 *

drawCircle(This::wxDC(), Pt::{X::integer(), Y::integer()}, Radius::integer()) -> ok

See external documentation.

drawEllipse/2 *

drawEllipse(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok

See external documentation.

drawEllipse/3 *

drawEllipse(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok

See external documentation.

drawEllipticArc/5 *

drawEllipticArc(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Sa::float(), Ea::float()) -> ok

See external documentation.

drawIcon/3 *

drawIcon(This::wxDC(), Icon::wxIcon:wxIcon(), Pt::{X::integer(), Y::integer()}) -> ok

See external documentation.

drawLabel/3 *

drawLabel(This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok

Equivalent to drawLabel(This, Text, Rect, []).

drawLabel/4 *

drawLabel(This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Options::[Option]) -> ok

See external documentation.

drawLine/3 *

drawLine(This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}) -> ok

See external documentation.

drawLines/2 *

drawLines(This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok

Equivalent to drawLines(This, Points, []).

drawLines/3 *

drawLines(This::wxDC(), Points::[{X::integer(), Y::integer()}], Options::[Option]) -> ok

See external documentation.

drawPoint/2 *

drawPoint(This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok

See external documentation.

drawPolygon/2 *

drawPolygon(This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok

Equivalent to drawPolygon(This, Points, []).

drawPolygon/3 *

drawPolygon(This::wxDC(), Points::[{X::integer(), Y::integer()}], Options::[Option]) -> ok

See external documentation.

drawRectangle/2 *

drawRectangle(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok

See external documentation.

drawRectangle/3 *

drawRectangle(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok

See external documentation.

drawRotatedText/4 *

drawRotatedText(This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::float()) -> ok

See external documentation.

drawRoundedRectangle/3 *

drawRoundedRectangle(This::wxDC(), R::{X::integer(), Y::integer(), W::integer(), H::integer()}, Radius::float()) -> ok

See external documentation.

drawRoundedRectangle/4 *

drawRoundedRectangle(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Radius::float()) -> ok

See external documentation.

drawText/3 *

drawText(This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}) -> ok

See external documentation.

endDoc/1 *

endDoc(This::wxDC()) -> ok

See external documentation.

endPage/1 *

endPage(This::wxDC()) -> ok

See external documentation.

floodFill/3 *

floodFill(This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour()) -> bool()

Equivalent to floodFill(This, Pt, Col, []).

floodFill/4 *

floodFill(This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour(), Options::[Option]) -> bool()

See external documentation.

getBackground/1 *

getBackground(This::wxDC()) -> wxBrush:wxBrush()

See external documentation.

getBackgroundMode/1 *

getBackgroundMode(This::wxDC()) -> integer()

See external documentation.

getBrush/1 *

getBrush(This::wxDC()) -> wxBrush:wxBrush()

See external documentation.

getCharHeight/1 *

getCharHeight(This::wxDC()) -> integer()

See external documentation.

getCharWidth/1 *

getCharWidth(This::wxDC()) -> integer()

See external documentation.

getClippingBox/2 *

getClippingBox(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok

See external documentation.

getFont/1 *

getFont(This::wxDC()) -> wxFont:wxFont()

See external documentation.

getLayoutDirection/1 *

getLayoutDirection(This::wxDC()) -> WxLayoutDirection

See external documentation.
WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft

getLogicalFunction/1 *

getLogicalFunction(This::wxDC()) -> integer()

See external documentation.

getMapMode/1 *

getMapMode(This::wxDC()) -> integer()

See external documentation.

getMultiLineTextExtent/2 *

getMultiLineTextExtent(This::wxDC(), String::string()) -> {W::integer(), H::integer()}

See external documentation.

getMultiLineTextExtent/3 *

getMultiLineTextExtent(This::wxDC(), String::string(), Options::[Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()}

See external documentation.

getPPI/1 *

getPPI(This::wxDC()) -> {W::integer(), H::integer()}

See external documentation.

getPartialTextExtents/3 *

getPartialTextExtents(This::wxDC(), Text::string(), Widths::[integer()]) -> bool()

See external documentation.

getPen/1 *

getPen(This::wxDC()) -> wxPen:wxPen()

See external documentation.

getPixel/3 *

getPixel(This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour()) -> bool()

See external documentation.

getSize/1 *

getSize(This::wxDC()) -> {W::integer(), H::integer()}

See external documentation.

getSizeMM/1 *

getSizeMM(This::wxDC()) -> {W::integer(), H::integer()}

See external documentation.

getTextBackground/1 *

getTextBackground(This::wxDC()) -> wx:colour()

See external documentation.

getTextExtent/2 *

getTextExtent(This::wxDC(), String::string()) -> {W::integer(), H::integer()}

See external documentation.

getTextExtent/3 *

getTextExtent(This::wxDC(), String::string(), Options::[Option]) -> {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}

See external documentation.

getTextForeground/1 *

getTextForeground(This::wxDC()) -> wx:colour()

See external documentation.

getUserScale/1 *

getUserScale(This::wxDC()) -> {X::float(), Y::float()}

See external documentation.

gradientFillConcentric/4 *

gradientFillConcentric(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok

See external documentation.

gradientFillConcentric/5 *

gradientFillConcentric(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), CircleCenter::{X::integer(), Y::integer()}) -> ok

See external documentation.

gradientFillLinear/4 *

gradientFillLinear(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok

Equivalent to gradientFillLinear(This, Rect, InitialColour, DestColour, []).

gradientFillLinear/5 *

gradientFillLinear(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), Options::[Option]) -> ok

See external documentation.
WxDirection is one of ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL

isOk/1 *

isOk(This::wxDC()) -> bool()

See external documentation.

logicalToDeviceX/2 *

logicalToDeviceX(This::wxDC(), X::integer()) -> integer()

See external documentation.

logicalToDeviceXRel/2 *

logicalToDeviceXRel(This::wxDC(), X::integer()) -> integer()

See external documentation.

logicalToDeviceY/2 *

logicalToDeviceY(This::wxDC(), Y::integer()) -> integer()

See external documentation.

logicalToDeviceYRel/2 *

logicalToDeviceYRel(This::wxDC(), Y::integer()) -> integer()

See external documentation.

maxX/1 *

maxX(This::wxDC()) -> integer()

See external documentation.

maxY/1 *

maxY(This::wxDC()) -> integer()

See external documentation.

minX/1 *

minX(This::wxDC()) -> integer()

See external documentation.

minY/1 *

minY(This::wxDC()) -> integer()

See external documentation.

resetBoundingBox/1 *

resetBoundingBox(This::wxDC()) -> ok

See external documentation.

setAxisOrientation/3 *

setAxisOrientation(This::wxDC(), XLeftRight::bool(), YBottomUp::bool()) -> ok

See external documentation.

setBackground/2 *

setBackground(This::wxDC(), Brush::wxBrush:wxBrush()) -> ok

See external documentation.

setBackgroundMode/2 *

setBackgroundMode(This::wxDC(), Mode::integer()) -> ok

See external documentation.

setBrush/2 *

setBrush(This::wxDC(), Brush::wxBrush:wxBrush()) -> ok

See external documentation.

setClippingRegion/2 *

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
  • setClippingRegion/3 *

    setClippingRegion(This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok

    See external documentation.

    setDeviceOrigin/3 *

    setDeviceOrigin(This::wxDC(), X::integer(), Y::integer()) -> ok

    See external documentation.

    setFont/2 *

    setFont(This::wxDC(), Font::wxFont:wxFont()) -> ok

    See external documentation.

    setLayoutDirection/2 *

    setLayoutDirection(This::wxDC(), Dir::WxLayoutDirection) -> ok

    See external documentation.
    WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft

    setLogicalFunction/2 *

    setLogicalFunction(This::wxDC(), Function::integer()) -> ok

    See external documentation.

    setMapMode/2 *

    setMapMode(This::wxDC(), Mode::integer()) -> ok

    See external documentation.

    setPalette/2 *

    setPalette(This::wxDC(), Palette::wxPalette:wxPalette()) -> ok

    See external documentation.

    setPen/2 *

    setPen(This::wxDC(), Pen::wxPen:wxPen()) -> ok

    See external documentation.

    setTextBackground/2 *

    setTextBackground(This::wxDC(), Colour::wx:colour()) -> ok

    See external documentation.

    setTextForeground/2 *

    setTextForeground(This::wxDC(), Colour::wx:colour()) -> ok

    See external documentation.

    setUserScale/3 *

    setUserScale(This::wxDC(), X::float(), Y::float()) -> ok

    See external documentation.

    startDoc/2 *

    startDoc(This::wxDC(), Message::string()) -> bool()

    See external documentation.

    startPage/1 *

    startPage(This::wxDC()) -> ok

    See external documentation.


    Generated by EDoc, May 26 2008, 12:35:35.