~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/wx/src/gen/wxPostScriptDC.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%%
 
2
%% %CopyrightBegin%
 
3
%% 
 
4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
 
5
%% 
 
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/.
 
11
%% 
 
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
 
15
%% under the License.
 
16
%% 
 
17
%% %CopyrightEnd%
 
18
%% This file is generated DO NOT EDIT
 
19
 
 
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html">wxPostScriptDC</a>.
 
21
%% <p>This class is derived (and can use functions) from: 
 
22
%% <br />{@link wxDC}
 
23
%% </p>
 
24
%% @type wxPostScriptDC().  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.
 
27
 
 
28
-module(wxPostScriptDC).
 
29
-include("wxe.hrl").
 
30
-export([destroy/1,getResolution/0,new/0,new/1,setResolution/1]).
 
31
 
 
32
%% inherited exports
 
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,
 
53
  startPage/1]).
 
54
 
 
55
%% @hidden
 
56
parent_class(wxDC) -> true;
 
57
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
 
58
 
 
59
%% @spec () -> wxPostScriptDC()
 
60
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcwxpostscriptdc">external documentation</a>.
 
61
new() ->
 
62
  wxe_util:construct(?wxPostScriptDC_new_0,
 
63
  <<>>).
 
64
 
 
65
%% @spec (PrintData::wxPrintData:wxPrintData()) -> wxPostScriptDC()
 
66
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcwxpostscriptdc">external documentation</a>.
 
67
new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
 
68
  ?CLASS(PrintDataT,wxPrintData),
 
69
  wxe_util:construct(?wxPostScriptDC_new_1,
 
70
  <<PrintDataRef:32/?UI>>).
 
71
 
 
72
%% @spec (Ppi::integer()) -> ok
 
73
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcsetresolution">external documentation</a>.
 
74
setResolution(Ppi)
 
75
 when is_integer(Ppi) ->
 
76
  wxe_util:cast(?wxPostScriptDC_SetResolution,
 
77
  <<Ppi:32/?UI>>).
 
78
 
 
79
%% @spec () -> integer()
 
80
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcgetresolution">external documentation</a>.
 
81
getResolution() ->
 
82
  wxe_util:call(?wxPostScriptDC_GetResolution,
 
83
  <<>>).
 
84
 
 
85
%% @spec (This::wxPostScriptDC()) -> ok
 
86
%% @doc Destroys this object, do not use object again
 
87
destroy(Obj=#wx_ref{type=Type}) -> 
 
88
  ?CLASS(Type,wxPostScriptDC),
 
89
  wxe_util:destroy(?DESTROY_OBJECT,Obj),
 
90
  ok.
 
91
 %% From wxDC 
 
92
%% @hidden
 
93
startPage(This) -> wxDC:startPage(This).
 
94
%% @hidden
 
95
startDoc(This,Message) -> wxDC:startDoc(This,Message).
 
96
%% @hidden
 
97
setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
 
98
%% @hidden
 
99
setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
 
100
%% @hidden
 
101
setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
 
102
%% @hidden
 
103
setPen(This,Pen) -> wxDC:setPen(This,Pen).
 
104
%% @hidden
 
105
setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
 
106
%% @hidden
 
107
setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
 
108
%% @hidden
 
109
setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
 
110
%% @hidden
 
111
setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
 
112
%% @hidden
 
113
setFont(This,Font) -> wxDC:setFont(This,Font).
 
114
%% @hidden
 
115
setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
 
116
%% @hidden
 
117
setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
 
118
%% @hidden
 
119
setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
 
120
%% @hidden
 
121
setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
 
122
%% @hidden
 
123
setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
 
124
%% @hidden
 
125
setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
 
126
%% @hidden
 
127
setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
 
128
%% @hidden
 
129
resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
 
130
%% @hidden
 
131
isOk(This) -> wxDC:isOk(This).
 
132
%% @hidden
 
133
minY(This) -> wxDC:minY(This).
 
134
%% @hidden
 
135
minX(This) -> wxDC:minX(This).
 
136
%% @hidden
 
137
maxY(This) -> wxDC:maxY(This).
 
138
%% @hidden
 
139
maxX(This) -> wxDC:maxX(This).
 
140
%% @hidden
 
141
logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
 
142
%% @hidden
 
143
logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
 
144
%% @hidden
 
145
logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
 
146
%% @hidden
 
147
logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
 
148
%% @hidden
 
149
gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
 
150
%% @hidden
 
151
gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
 
152
%% @hidden
 
153
gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
 
154
%% @hidden
 
155
gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
 
156
%% @hidden
 
157
getUserScale(This) -> wxDC:getUserScale(This).
 
158
%% @hidden
 
159
getTextForeground(This) -> wxDC:getTextForeground(This).
 
160
%% @hidden
 
161
getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
 
162
%% @hidden
 
163
getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
 
164
%% @hidden
 
165
getTextBackground(This) -> wxDC:getTextBackground(This).
 
166
%% @hidden
 
167
getSizeMM(This) -> wxDC:getSizeMM(This).
 
168
%% @hidden
 
169
getSize(This) -> wxDC:getSize(This).
 
170
%% @hidden
 
171
getPPI(This) -> wxDC:getPPI(This).
 
172
%% @hidden
 
173
getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
 
174
%% @hidden
 
175
getPen(This) -> wxDC:getPen(This).
 
176
%% @hidden
 
177
getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
 
178
%% @hidden
 
179
getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
 
180
%% @hidden
 
181
getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
 
182
%% @hidden
 
183
getMapMode(This) -> wxDC:getMapMode(This).
 
184
%% @hidden
 
185
getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
 
186
%% @hidden
 
187
getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
 
188
%% @hidden
 
189
getFont(This) -> wxDC:getFont(This).
 
190
%% @hidden
 
191
getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
 
192
%% @hidden
 
193
getCharWidth(This) -> wxDC:getCharWidth(This).
 
194
%% @hidden
 
195
getCharHeight(This) -> wxDC:getCharHeight(This).
 
196
%% @hidden
 
197
getBrush(This) -> wxDC:getBrush(This).
 
198
%% @hidden
 
199
getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
 
200
%% @hidden
 
201
getBackground(This) -> wxDC:getBackground(This).
 
202
%% @hidden
 
203
floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
 
204
%% @hidden
 
205
floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
 
206
%% @hidden
 
207
endPage(This) -> wxDC:endPage(This).
 
208
%% @hidden
 
209
endDoc(This) -> wxDC:endDoc(This).
 
210
%% @hidden
 
211
drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
 
212
%% @hidden
 
213
drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
 
214
%% @hidden
 
215
drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
 
216
%% @hidden
 
217
drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
 
218
%% @hidden
 
219
drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
 
220
%% @hidden
 
221
drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
 
222
%% @hidden
 
223
drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
 
224
%% @hidden
 
225
drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
 
226
%% @hidden
 
227
drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
 
228
%% @hidden
 
229
drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
 
230
%% @hidden
 
231
drawLines(This,Points) -> wxDC:drawLines(This,Points).
 
232
%% @hidden
 
233
drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
 
234
%% @hidden
 
235
drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
 
236
%% @hidden
 
237
drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
 
238
%% @hidden
 
239
drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
 
240
%% @hidden
 
241
drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
 
242
%% @hidden
 
243
drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
 
244
%% @hidden
 
245
drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
 
246
%% @hidden
 
247
drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
 
248
%% @hidden
 
249
drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
 
250
%% @hidden
 
251
drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
 
252
%% @hidden
 
253
drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
 
254
%% @hidden
 
255
drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
 
256
%% @hidden
 
257
deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
 
258
%% @hidden
 
259
deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
 
260
%% @hidden
 
261
deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
 
262
%% @hidden
 
263
deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
 
264
%% @hidden
 
265
destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
 
266
%% @hidden
 
267
crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
 
268
%% @hidden
 
269
computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
 
270
%% @hidden
 
271
clear(This) -> wxDC:clear(This).
 
272
%% @hidden
 
273
calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
 
274
%% @hidden
 
275
blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
 
276
%% @hidden
 
277
blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).