WebRadioApp  0.1
_GraphicsCanvas.h
Go to the documentation of this file.
1 /*******************************************************************************
2 *
3 * E M B E D D E D W I Z A R D P R O J E C T
4 *
5 * Copyright (c) TARA Systems GmbH
6 * written by Paul Banach and Manfred Schweyer
7 *
8 ********************************************************************************
9 *
10 * This file was generated automatically by Embedded Wizard Studio.
11 *
12 * Please do not make any modifications of this file! The modifications are lost
13 * when the file is generated again by Embedded Wizard Studio!
14 *
15 * The template of this heading text can be found in the file 'head.ewt' in the
16 * directory 'Platforms' of your Embedded Wizard installation directory. If you
17 * wish to adapt this text, please copy the template file 'head.ewt' into your
18 * project directory and edit the copy only. Please avoid any modifications of
19 * the original template file!
20 *
21 * Version : 10.00
22 * Profile : STM32H747
23 * Platform : STM.STM32.RGB565
24 *
25 *******************************************************************************/
26 
27 #ifndef _GraphicsCanvas_H
28 #define _GraphicsCanvas_H
29 
30 #ifdef __cplusplus
31  extern "C"
32  {
33 #endif
34 
35 #include "ewrte.h"
36 #if EW_RTE_VERSION != 0x000A0000
37  #error Wrong version of Embedded Wizard Runtime Environment.
38 #endif
39 
40 #include "ewgfx.h"
41 #if EW_GFX_VERSION != 0x000A0000
42  #error Wrong version of Embedded Wizard Graphics Engine.
43 #endif
44 
45 #include "_ResourcesBitmap.h"
46 
47 /* Forward declaration of the class Graphics::Canvas */
48 #ifndef _GraphicsCanvas_
49  EW_DECLARE_CLASS( GraphicsCanvas )
50 #define _GraphicsCanvas_
51 #endif
52 
53 /* Forward declaration of the class Graphics::Path */
54 #ifndef _GraphicsPath_
55  EW_DECLARE_CLASS( GraphicsPath )
56 #define _GraphicsPath_
57 #endif
58 
59 /* Forward declaration of the class Resources::Font */
60 #ifndef _ResourcesFont_
61  EW_DECLARE_CLASS( ResourcesFont )
62 #define _ResourcesFont_
63 #endif
64 
65 
66 /* The class Graphics::Canvas provides a drawing destination for all graphics operations.
67  It is like a bitmap which can be modified by calling the methods of this canvas
68  class. For example, the method @FillRectangle() fills an area of the canvas with
69  a color or a color gradient. More sophisticated methods allow text output, scaling
70  or 2D/3D warping of images. The functionality of this canvas class corresponds
71  to the of the underlying Graphics Engine.
72  Since the canvas inherits from the Resources::Bitmap class it can be handled
73  as an ordinary bitmap. It can e.g. be assigned to a Views::Image view and thus
74  be displayed on the screen. */
75 EW_DEFINE_FIELDS( GraphicsCanvas, ResourcesBitmap )
76  EW_VARIABLE( OnDraw, XSlot )
77  EW_VARIABLE( InvalidArea, XRect )
78  EW_VARIABLE( DstFrameNr, XInt32 )
79  EW_VARIABLE( attached, XBool )
80 EW_END_OF_FIELDS( GraphicsCanvas )
81 
82 /* Virtual Method Table (VMT) for the class : 'Graphics::Canvas' */
83 EW_DEFINE_METHODS( GraphicsCanvas, ResourcesBitmap )
84  EW_METHOD( OnSetFrameSize, void )( GraphicsCanvas _this, XPoint value )
85  EW_METHOD( Update, void )( GraphicsCanvas _this )
86 EW_END_OF_METHODS( GraphicsCanvas )
87 
88 /* 'C' function for method : 'Graphics::Canvas.Done()' */
89 void GraphicsCanvas_Done( GraphicsCanvas _this );
90 
91 /* 'C' function for method : 'Graphics::Canvas.Init()' */
92 void GraphicsCanvas_Init( GraphicsCanvas _this, XHandle aArg );
93 
94 /* 'C' function for method : 'Graphics::Canvas.OnSetFrameSize()' */
95 void GraphicsCanvas_OnSetFrameSize( GraphicsCanvas _this, XPoint value );
96 
97 /* 'C' function for method : 'Graphics::Canvas.Update()' */
98 void GraphicsCanvas_Update( GraphicsCanvas _this );
99 
100 /* The method DetachBitmap() exists for the integration purpose with the underlying
101  target system. You will never need to invoke this method directly from your GUI
102  application. The method is invoked after the screen update is finished and the
103  canvas object should be detached from the framebuffer. */
104 GraphicsCanvas GraphicsCanvas_DetachBitmap( GraphicsCanvas _this );
105 
106 /* Wrapper function for the non virtual method : 'Graphics::Canvas.DetachBitmap()' */
107 GraphicsCanvas GraphicsCanvas__DetachBitmap( void* _this );
108 
109 /* The following define announces the presence of the method Graphics::Canvas.DetachBitmap(). */
110 #define _GraphicsCanvas__DetachBitmap_
111 
112 /* The method AttachBitmap() exists for the integration purpose with the underlying
113  target system. You will never need to invoke this method directly from your GUI
114  application. The method is invoked at the beginning of the screen update.
115  The method connects the canvas object with the framebuffer. */
116 GraphicsCanvas GraphicsCanvas_AttachBitmap( GraphicsCanvas _this, XHandle aBitmap );
117 
118 /* Wrapper function for the non virtual method : 'Graphics::Canvas.AttachBitmap()' */
119 GraphicsCanvas GraphicsCanvas__AttachBitmap( void* _this, XHandle aBitmap );
120 
121 /* The following define announces the presence of the method Graphics::Canvas.AttachBitmap(). */
122 #define _GraphicsCanvas__AttachBitmap_
123 
124 /* The method DrawText() draws the text row passed in the parameter aString into
125  the canvas. The font to draw the text is passed in the parameter aFont. The parameter
126  aOffset determines within aString the sign to start the drawing operation. If
127  aOffset is zero, the operation starts with the first sign. The parameter aCount
128  determines the max. number of following sigs to draw. If aCount is -1, all signs
129  until the end of the string are drawn.
130  The area to draw the text is determined by the parameter aDstRect. The parameter
131  aOrientation controls the rotation of the text. The parameter aSrcPos determines
132  the base line position of the text relative to a corner of aDstRect, which by
133  taking in account the specified text orientation serves as the origin for the
134  draw operation. For example, if the parameter aOrientation is Views::Orientation.Rotated_270,
135  the text is drawn aSrcPos pixel relative to the bottom-right corner of aDstRect.
136  The parameter aMinWidth determines the min. width in pixel of the drawn text
137  row regardless of the specified rotation. If necessary the space signs within
138  the text will be stretched to fill this area. The parameters aColorTL, aColorTR,
139  aColorBL, aColorBR determine the colors at the corresponding corners of the aDstRect
140  area.
141  The parameter aClip limits the drawing operation. Pixel lying outside this area
142  remain unchanged. The last aBlend parameter controls the mode how drawn pixel
143  are combined with the pixel already existing in the destination bitmap. If aBlend
144  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
145  drawn pixel will overwrite the old content. */
146 void GraphicsCanvas_DrawText( GraphicsCanvas _this, XRect aClip, ResourcesFont aFont,
147  XString aString, XInt32 aOffset, XInt32 aCount, XRect aDstRect, XPoint aSrcPos,
148  XInt32 aMinWidth, XEnum aOrientation, XColor aColorTL, XColor aColorTR, XColor
149  aColorBR, XColor aColorBL, XBool aBlend );
150 
151 /* The method DrawBitmapFrame() draws a free scalable frame by composing it of bitmap
152  segments. These segments are used to draw the frame's corners, to fill its edges
153  and to fill its interior area. The bitmap has thus to contain nine equal segments
154  arranged in three rows and three columns. The top-left segment e.g. is used to
155  draw the top-left corner of the frame. In contrast, the top-middle segment corresponds
156  to the frame's top edge. If the edge is wider than the segment, multiple copies
157  of the segment are used to fill the entire edge. In this manner the entire frame
158  is composed by simply copying bitmap segments.
159  The bitmap is specified in the parameter aBitmap. In case of a multi-frame bitmap
160  the desired frame can be selected in the parameter aFrameNr. The resulting size
161  of the drawn frame is specified by aDstRect parameter. The parameter aEdges control
162  which edges are drawn and which are omitted. Optionally the copied pixel can
163  be modulated by a color gradient specified by the four parameters aColorTL ..
164  aColorBL.
165  An additional clipping area aClip limits the operation. All pixel lying outside
166  this area will not be drawn. The last aBlend parameter controls the mode how
167  drawn pixel are combined with the pixel already existing in the destination bitmap.
168  If aBlend is 'true', the drawn pixel are alpha-blended with the background, otherwise
169  the drawn pixel will overwrite the old content. */
170 void GraphicsCanvas_DrawBitmapFrame( GraphicsCanvas _this, XRect aClip, ResourcesBitmap
171  aBitmap, XInt32 aFrameNr, XRect aDstRect, XSet aEdges, XColor aColorTL, XColor
172  aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend );
173 
174 /* The method StrokePath() strokes within the rectangular area aDstRect of canvas
175  a path determined by data stored in the Graphics::Path object aPath. All path
176  coordinates are assumed as being relative to the top-left corner of the aDstRect
177  area, or if the parameter aFlipY is 'true', relative to the bottom-left corner.
178  With the parameter aFlipY equal 'true' the path coordinates are mirrored vertically
179  causing the positive Y-axis to point upwards. With the parameter aOffset the
180  origin of the path coordinate system can be moved within aDstRect. Accordingly
181  modifying this value scrolls the displayed path content.
182  The thickness of the path is determined by the parameter aWidth and is expressed
183  in pixel. The parameters aStartCapStyle and aEndCapStyle determine how the start/end
184  position of the path are displayed. The possible values are specified in Graphics::PathCap.
185  Furthermore the parameter aJoinStyle controls how the line segments of the path
186  are connected together. Here the possible values are specified in Graphics::PathJoin.
187  Please note, if aJoinStyle is Graphics::PathJoin.Miter, the additional parameter
188  aMiterLimit determines the max. ratio between the length of the miter and the
189  half of the path thickness (aWidth / 2). If this limit is exceeded, the affected
190  corner is joined with an ordinary bevel (Graphics::PathJoin.Bevel) instead of
191  miter.
192  The parameters aColorTL, aColorTR, aColorBL, aColorBR determine the colors at
193  the corresponding corners of the aDstRect area. If the parameter aAntialiased
194  is 'true', the method applies antialiasing while rasterizing the path pixel.
195  The parameter aClip limits the drawing operation. Pixel lying outside this area
196  remain unchanged. The aBlend parameter controls the mode how drawn pixel are
197  combined with the pixel already existing in the destination bitmap. If aBlend
198  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
199  drawn pixel will overwrite the old content. */
200 void GraphicsCanvas_StrokePath( GraphicsCanvas _this, XRect aClip, GraphicsPath
201  aPath, XRect aDstRect, XBool aFlipY, XPoint aOffset, XFloat aWidth, XEnum aStartCapStyle,
202  XEnum aEndCapStyle, XEnum aJoinStyle, XFloat aMiterLimit, XColor aColorTL, XColor
203  aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased );
204 
205 /* The method WarpBitmap() performs the projection of a rectangular source bitmap
206  area onto a four corner polygon within the destination canvas. The bitmap is
207  specified in the parameter aBitmap and the desired area to copy in aSrcRect.
208  In case of a multi-frame bitmap the desired frame can be selected in the parameter
209  aFrameNr.
210  The destination polygon is determined by the coordinates aX1,aY1 .. aX4,aY4.
211  The coefficients aW1 .. aW4 are responsible for the perspective distortion. The
212  parameters aColor1, aColor2, aColor3, aColor4 determine the colors or opacities
213  at the corresponding corners of the polygon area. The parameter aClip limits
214  the drawing operation. Pixel lying outside this area remain unchanged. The aBlend
215  parameter controls the mode how drawn pixel are combined with the pixel already
216  existing in the destination bitmap. If aBlend is 'true', the drawn pixel are
217  alpha-blended with the background, otherwise the drawn pixel will overwrite the
218  old content. The last parameter aFilter controls the bi-linear filter. If aFilter
219  is 'true', the source bitmap pixel will be bi-linear filtered in order to get
220  better output. */
221 void GraphicsCanvas_WarpBitmap( GraphicsCanvas _this, XRect aClip, ResourcesBitmap
222  aBitmap, XInt32 aFrameNr, XFloat aDstX1, XFloat aDstY1, XFloat aDstW1, XFloat
223  aDstX2, XFloat aDstY2, XFloat aDstW2, XFloat aDstX3, XFloat aDstY3, XFloat aDstW3,
224  XFloat aDstX4, XFloat aDstY4, XFloat aDstW4, XRect aSrcRect, XColor aColor1, XColor
225  aColor2, XColor aColor3, XColor aColor4, XBool aBlend, XBool aFilter );
226 
227 /* The method ScaleBitmap() copies and scales an area of a aBitmap into the canvas.
228  The bitmap is specified in the parameter aBitmap and the desired area to copy
229  in aSrcRect. In case of a multi-frame bitmap the desired frame can be selected
230  in the parameter aFrameNr.
231  The destination area in canvas is determined by the parameter aDstRect. The parameters
232  aColorTL, aColorTR, aColorBL, aColorBR determine the colors or opacities at the
233  corresponding corners of the aDstRect area.
234  The parameter aClip limits the drawing operation. Pixel lying outside this area
235  remain unchanged. The aBlend parameter controls the mode how drawn pixel are
236  combined with the pixel already existing in the destination bitmap. If aBlend
237  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
238  drawn pixel will overwrite the old content. The last parameter aFilter controls
239  the bi-linear filter. If aFilter is 'true', the source bitmap pixel will be bi-linear
240  filtered in order to get better output. */
241 void GraphicsCanvas_ScaleBitmap( GraphicsCanvas _this, XRect aClip, ResourcesBitmap
242  aBitmap, XInt32 aFrameNr, XRect aDstRect, XRect aSrcRect, XColor aColorTL, XColor
243  aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aFilter );
244 
245 /* The method CopyBitmap() copies an area of a aBitmap into the canvas. The bitmap
246  is specified in the parameter aBitmap. In case of a multi-frame bitmap the desired
247  frame can be selected in the parameter aFrameNr.
248  The area to copy the bitmap is determined by the parameter aDstRect. The optional
249  aSrcPos parameter determines a displacement of the bitmap within this aDstRect
250  area. The parameters aColorTL, aColorTR, aColorBL, aColorBR determine the colors
251  or opacities at the corresponding corners of the aDstRect area.
252  The parameter aClip limits the drawing operation. Pixel lying outside this area
253  remain unchanged. The last aBlend parameter controls the mode how drawn pixel
254  are combined with the pixel already existing in the destination bitmap. If aBlend
255  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
256  drawn pixel will overwrite the old content. */
257 void GraphicsCanvas_CopyBitmap( GraphicsCanvas _this, XRect aClip, ResourcesBitmap
258  aBitmap, XInt32 aFrameNr, XRect aDstRect, XPoint aSrcPos, XColor aColorTL, XColor
259  aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend );
260 
261 /* The method FillPath() fills within the rectangular area aDstRect of canvas a
262  polygon determined by data stored in the Graphics::Path object aPath. All path
263  coordinates are assumed as being relative to the top-left corner of the aDstRect
264  area, or if the parameter aFlipY is 'true', relative to the bottom-left corner.
265  With the parameter aFlipY equal 'true' the path coordinates are additionally
266  mirrored vertically causing the positive Y-axis to point upwards. With the parameter
267  aOffset the origin of the path coordinate system can be moved within aDstRect.
268  Accordingly modifying this value scrolls the displayed path content.
269  The parameters aColorTL, aColorTR, aColorBL, aColorBR determine the colors at
270  the corresponding corners of the aDstRect area. If the parameter aAntialiased
271  is 'true', the method applies antialiasing while rasterizing the path pixel.
272  The parameter aFillRule controls the fill algorithm how it treats nested polygon
273  areas. The possible values are specified in Graphics::FillRule.
274  The parameter aClip limits the drawing operation. Pixel lying outside this area
275  remain unchanged. The aBlend parameter controls the mode how drawn pixel are
276  combined with the pixel already existing in the destination bitmap. If aBlend
277  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
278  drawn pixel will overwrite the old content. */
279 void GraphicsCanvas_FillPath( GraphicsCanvas _this, XRect aClip, GraphicsPath aPath,
280  XRect aDstRect, XBool aFlipY, XPoint aOffset, XColor aColorTL, XColor aColorTR,
281  XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased, XEnum aFillRule );
282 
283 /* The method FillRectangle() fills an area of canvas. The area is determined by
284  the parameter aDstRect. The parameters aColorTL, aColorTR, aColorBL, aColorBR
285  determine the colors at the corresponding corners of the aDstRect area.
286  The parameter aClip limits the drawing operation. Pixel lying outside this area
287  remain unchanged. The last aBlend parameter controls the mode how drawn pixel
288  are combined with the pixel already existing in the destination bitmap. If aBlend
289  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
290  drawn pixel will overwrite the old content. */
291 void GraphicsCanvas_FillRectangle( GraphicsCanvas _this, XRect aClip, XRect aDstRect,
292  XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend );
293 
294 /* The method DrawLine() draws a line into the canvas. The line will be drawn from
295  the aDstPos1 point to the aDstPos2 point with the given colors aColor1 and aColor2.
296  The parameter aClip limits the drawing operation. Pixel lying outside this area
297  remain unchanged. The last aBlend parameter controls the mode how drawn pixel
298  are combined with the pixel already existing in the destination bitmap. If aBlend
299  is 'true', the drawn pixel are alpha-blended with the background, otherwise the
300  drawn pixel will overwrite the old content. */
301 void GraphicsCanvas_DrawLine( GraphicsCanvas _this, XRect aClip, XPoint aDstPos1,
302  XPoint aDstPos2, XColor aColor1, XColor aColor2, XBool aBlend );
303 
304 #ifdef __cplusplus
305  }
306 #endif
307 
308 #endif /* _GraphicsCanvas_H */
309 
310 /* Embedded Wizard */
ewrte.h
_ResourcesBitmap.h
GraphicsCanvas_FillPath
void GraphicsCanvas_FillPath(GraphicsCanvas _this, XRect aClip, GraphicsPath aPath, XRect aDstRect, XBool aFlipY, XPoint aOffset, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased, XEnum aFillRule)
Definition: Graphics.c:717
XColor
Definition: ewrte.h:1700
GraphicsCanvas_DrawLine
void GraphicsCanvas_DrawLine(GraphicsCanvas _this, XRect aClip, XPoint aDstPos1, XPoint aDstPos2, XColor aColor1, XColor aColor2, XBool aBlend)
Definition: Graphics.c:781
XHandle
unsigned long XHandle
Definition: ewrte.h:291
EW_END_OF_FIELDS
#define EW_END_OF_FIELDS(aClass)
Definition: ewrte.h:460
EW_DECLARE_CLASS
#define EW_DECLARE_CLASS(aClass)
Definition: ewrte.h:393
XSlot
Definition: ewrte.h:2114
EW_VARIABLE
#define EW_VARIABLE(aName, aType)
Definition: ewrte.h:464
ewgfx.h
aArg
XRect CoreOutline aOutline XHandle aArg
Definition: _ApplicationApplication.h:151
GraphicsCanvas_Done
void GraphicsCanvas_Done(GraphicsCanvas _this)
Definition: Graphics.c:104
GraphicsCanvas_DetachBitmap
GraphicsCanvas GraphicsCanvas_DetachBitmap(GraphicsCanvas _this)
Definition: Graphics.c:199
XInt32
signed long XInt32
Definition: ewrte.h:1586
value
XRect CoreOutline aOutline XPoint value
Definition: _ViewsWarpView.h:137
XBool
char XBool
Definition: ewrte.h:1592
XEnum
unsigned long XEnum
Definition: ewrte.h:1593
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
XRect
Definition: ewrte.h:1639
GraphicsCanvas_FillRectangle
void GraphicsCanvas_FillRectangle(GraphicsCanvas _this, XRect aClip, XRect aDstRect, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
Definition: Graphics.c:754
GraphicsCanvas_WarpBitmap
void GraphicsCanvas_WarpBitmap(GraphicsCanvas _this, XRect aClip, ResourcesBitmap aBitmap, XInt32 aFrameNr, XFloat aDstX1, XFloat aDstY1, XFloat aDstW1, XFloat aDstX2, XFloat aDstY2, XFloat aDstW2, XFloat aDstX3, XFloat aDstY3, XFloat aDstW3, XFloat aDstX4, XFloat aDstY4, XFloat aDstW4, XRect aSrcRect, XColor aColor1, XColor aColor2, XColor aColor3, XColor aColor4, XBool aBlend, XBool aFilter)
Definition: Graphics.c:517
GraphicsCanvas_AttachBitmap
GraphicsCanvas GraphicsCanvas_AttachBitmap(GraphicsCanvas _this, XHandle aBitmap)
Definition: Graphics.c:226
GraphicsCanvas_Init
void GraphicsCanvas_Init(GraphicsCanvas _this, XHandle aArg)
Definition: Graphics.c:111
XSet
unsigned long XSet
Definition: ewrte.h:1594
GraphicsCanvas_OnSetFrameSize
void GraphicsCanvas_OnSetFrameSize(GraphicsCanvas _this, XPoint value)
Definition: Graphics.c:120
XFloat
float XFloat
Definition: ewrte.h:1595
GraphicsCanvas_CopyBitmap
void GraphicsCanvas_CopyBitmap(GraphicsCanvas _this, XRect aClip, ResourcesBitmap aBitmap, XInt32 aFrameNr, XRect aDstRect, XPoint aSrcPos, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
Definition: Graphics.c:671
aClip
XRect CoreOutline aOutline GraphicsCanvas XRect aClip
Definition: _CoreOutline.h:171
GraphicsCanvas_ScaleBitmap
void GraphicsCanvas_ScaleBitmap(GraphicsCanvas _this, XRect aClip, ResourcesBitmap aBitmap, XInt32 aFrameNr, XRect aDstRect, XRect aSrcRect, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aFilter)
Definition: Graphics.c:614
XPoint
Definition: ewrte.h:1616
GraphicsCanvas__DetachBitmap
GraphicsCanvas GraphicsCanvas__DetachBitmap(void *_this)
Definition: Graphics.c:217
aOffset
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint aOffset
Definition: _CoreOutline.h:172
GraphicsCanvas__AttachBitmap
GraphicsCanvas GraphicsCanvas__AttachBitmap(void *_this, XHandle aBitmap)
Definition: Graphics.c:262
GraphicsCanvas_DrawBitmapFrame
void GraphicsCanvas_DrawBitmapFrame(GraphicsCanvas _this, XRect aClip, ResourcesBitmap aBitmap, XInt32 aFrameNr, XRect aDstRect, XSet aEdges, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
Definition: Graphics.c:354
XString
XChar * XString
Definition: ewrte.h:1656
GraphicsCanvas_Update
void GraphicsCanvas_Update(GraphicsCanvas _this)
Definition: Graphics.c:149
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
GraphicsCanvas_StrokePath
void GraphicsCanvas_StrokePath(GraphicsCanvas _this, XRect aClip, GraphicsPath aPath, XRect aDstRect, XBool aFlipY, XPoint aOffset, XFloat aWidth, XEnum aStartCapStyle, XEnum aEndCapStyle, XEnum aJoinStyle, XFloat aMiterLimit, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend, XBool aAntialiased)
Definition: Graphics.c:420
aBlend
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint XInt32 XBool aBlend
Definition: _CoreOutline.h:172
GraphicsCanvas_DrawText
void GraphicsCanvas_DrawText(GraphicsCanvas _this, XRect aClip, ResourcesFont aFont, XString aString, XInt32 aOffset, XInt32 aCount, XRect aDstRect, XPoint aSrcPos, XInt32 aMinWidth, XEnum aOrientation, XColor aColorTL, XColor aColorTR, XColor aColorBR, XColor aColorBL, XBool aBlend)
Definition: Graphics.c:289
EW_METHOD
EW_METHOD(OnSetFrameSize, void)(GraphicsCanvas _this
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451