4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
18
%% This file is generated DO NOT EDIT
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html">wxWindowDC</a>.
21
%% <p>This class is derived (and can use functions) from:
24
%% @type wxWindowDC(). An object reference, The representation is internal
25
%% and can be changed without notice. It can't be used for comparsion
26
%% stored on disc or distributed for use on other nodes.
30
-export([destroy/1,new/0,new/1]).
33
-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
34
destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
35
deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
36
drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
37
drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
38
drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
39
drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
40
drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
41
getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
42
getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
43
getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
44
getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
45
getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
46
gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
47
isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
48
logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
49
setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
50
setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
51
setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
52
setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
56
parent_class(wxDC) -> true;
57
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
59
%% @spec () -> wxWindowDC()
60
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html#wxwindowdcwxwindowdc">external documentation</a>.
62
wxe_util:construct(?wxWindowDC_new_0,
65
%% @spec (Win::wxWindow:wxWindow()) -> wxWindowDC()
66
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html#wxwindowdcwxwindowdc">external documentation</a>.
67
new(#wx_ref{type=WinT,ref=WinRef}) ->
68
?CLASS(WinT,wxWindow),
69
wxe_util:construct(?wxWindowDC_new_1,
72
%% @spec (This::wxWindowDC()) -> ok
73
%% @doc Destroys this object, do not use object again
74
destroy(Obj=#wx_ref{type=Type}) ->
75
?CLASS(Type,wxWindowDC),
76
wxe_util:destroy(?DESTROY_OBJECT,Obj),
80
startPage(This) -> wxDC:startPage(This).
82
startDoc(This,Message) -> wxDC:startDoc(This,Message).
84
setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
86
setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
88
setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
90
setPen(This,Pen) -> wxDC:setPen(This,Pen).
92
setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
94
setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
96
setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
98
setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
100
setFont(This,Font) -> wxDC:setFont(This,Font).
102
setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
104
setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
106
setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
108
setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
110
setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
112
setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
114
setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
116
resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
118
isOk(This) -> wxDC:isOk(This).
120
minY(This) -> wxDC:minY(This).
122
minX(This) -> wxDC:minX(This).
124
maxY(This) -> wxDC:maxY(This).
126
maxX(This) -> wxDC:maxX(This).
128
logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
130
logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
132
logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
134
logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
136
gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
138
gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
140
gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
142
gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
144
getUserScale(This) -> wxDC:getUserScale(This).
146
getTextForeground(This) -> wxDC:getTextForeground(This).
148
getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
150
getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
152
getTextBackground(This) -> wxDC:getTextBackground(This).
154
getSizeMM(This) -> wxDC:getSizeMM(This).
156
getSize(This) -> wxDC:getSize(This).
158
getPPI(This) -> wxDC:getPPI(This).
160
getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
162
getPen(This) -> wxDC:getPen(This).
164
getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
166
getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
168
getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
170
getMapMode(This) -> wxDC:getMapMode(This).
172
getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
174
getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
176
getFont(This) -> wxDC:getFont(This).
178
getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
180
getCharWidth(This) -> wxDC:getCharWidth(This).
182
getCharHeight(This) -> wxDC:getCharHeight(This).
184
getBrush(This) -> wxDC:getBrush(This).
186
getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
188
getBackground(This) -> wxDC:getBackground(This).
190
floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
192
floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
194
endPage(This) -> wxDC:endPage(This).
196
endDoc(This) -> wxDC:endDoc(This).
198
drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
200
drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
202
drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
204
drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
206
drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
208
drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
210
drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
212
drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
214
drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
216
drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
218
drawLines(This,Points) -> wxDC:drawLines(This,Points).
220
drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
222
drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
224
drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
226
drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
228
drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
230
drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
232
drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
234
drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
236
drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
238
drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
240
drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
242
drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
244
deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
246
deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
248
deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
250
deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
252
destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
254
crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
256
computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
258
clear(This) -> wxDC:clear(This).
260
calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
262
blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
264
blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).