13 #include <adtf_utils.h>
14 #include <adtf_ucom3.h>
28 #define COORDS_NONE 0x00
33 #define COORDS_SCREEN 0x01
38 #define COORDS_LOGICAL 0x02
124 virtual tBool
MeasureText(
const tChar* str, tInt& nWidth, tInt& nHeight)
const = 0;
297 virtual tVoid
EnableAlpha(tBool bAdditiveMode = tFalse)
const = 0;
386 virtual tVoid
LinePattern(tUInt16 ui16Pattern, tInt nFactor = 1) = 0;
410 virtual tVoid
Color(tInt nRed, tInt nGreen, tInt nBlue, tInt nAlpha = 255) = 0;
423 virtual tVoid
Color(tUInt8 nRed, tUInt8 nGreen, tUInt8 nBlue, tUInt8 nAlpha = 255) = 0;
436 virtual tVoid
Color(tFloat64 fRed, tFloat64 fGreen, tFloat64 fBlue, tFloat64 fAlpha = 1.0) = 0;
460 virtual tVoid
BgColor(tInt nRed, tInt nGreen, tInt nBlue, tInt nAlpha = 0) = 0;
473 virtual tVoid
BgColor(tUInt8 nRed, tUInt8 nGreen, tUInt8 nBlue, tUInt8 nAlpha = 0) = 0;
486 virtual tVoid
BgColor(tFloat64 fRed, tFloat64 fGreen, tFloat64 fBlue, tFloat64 fAlpha = 0.0) = 0;
509 virtual tVoid
Coord(tInt x, tInt y) = 0;
519 virtual tVoid
Coord(tFloat32 x, tFloat32 y) = 0;
578 virtual tResult Create(tInt nWidth, tInt nHeight, tInt nBitsPerPixel) = 0;
580 virtual tVoid PushMatrix() = 0;
582 virtual tVoid PopMatrix() = 0;
584 virtual tVoid Translate(tFloat fx, tFloat fy, tFloat fz) = 0;
586 virtual tVoid Scale(tFloat fx, tFloat fy, tFloat fz) = 0;
588 virtual tVoid Rotate(tFloat fangle, tFloat fx, tFloat fy, tFloat fz) = 0;
618 virtual tVoid
SetMapping(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
710 virtual tVoid
DrawLine(tInt x1, tInt y1, tInt x2, tInt y2) = 0;
722 virtual tVoid
DrawRect(tInt x1, tInt y1, tInt x2, tInt y2) = 0;
734 virtual tVoid
DrawCircle(tInt x1, tInt y1, tInt x2, tInt y2) = 0;
748 virtual tVoid
DrawCircleSegment(tInt x1, tInt y1, tInt x2, tInt y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd,
749 tBool bNormalizeRect = tFalse) = 0;
760 virtual tVoid
FillRect(tInt x1, tInt y1, tInt x2, tInt y2) = 0;
772 virtual tVoid
FillCircle(tInt x1, tInt y1, tInt x2, tInt y2) = 0;
789 virtual tVoid
FillCircleSegment(tInt x1, tInt y1, tInt x2, tInt y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd,
790 tBool bNormalizeRect = tFalse) = 0;
810 virtual tVoid
DrawLine(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
822 virtual tVoid
DrawRect(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
834 virtual tVoid
DrawCircle(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
849 DrawCircleSegment(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd,
850 tBool bNormalizeRect = tFalse) = 0;
861 virtual tVoid
FillRect(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
872 virtual tVoid
FillCircle(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2) = 0;
890 FillCircleSegment(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd,
891 tBool bNormalizeRect = tFalse) = 0;
1039 virtual tVoid
OutputText(tInt x, tInt y,
const tChar* fmt, ...) = 0;
1049 virtual tVoid
OutputText(tFloat32 x, tFloat32 y,
const tChar* fmt, ...) = 0;
1076 virtual tVoid
Blit(
ITexture* pTexture, tInt x, tInt y, tInt nWidth, tInt nHeight) = 0;
1091 virtual tVoid
Blit(
IImage* pImage, tInt x, tInt y, tInt nWidth, tInt nHeight) = 0;
1102 virtual tVoid
Capture(
IImage** ppImage, tInt x, tInt y, tInt nWidth, tInt nHeight) = 0;
1124 virtual tVoid
SetFlag(tUInt32 nFlag, tInt32 nValue) = 0;
1179 tFloat32 f32OriginY,
1182 tFloat32 f32Angle) = 0;
1195 virtual tVoid
FillEllipse(tInt iOriginX, tInt iOriginY, tInt iWidth, tInt iHeight, tInt iAngle) = 0;
1208 tFloat32 f32OriginY,
1211 tFloat32 f32Angle) = 0;
1333 MS_LeftButtonDown = 0x1,
1334 MS_RightButtonDown = 0x2,
1335 MS_MiddleButtonDown = 0x4,
1336 MS_CtrlKeyDown = 0x8
1344 KS_CtrlKeyDown = 0x1,
1345 KS_AltKeyDown = 0x2,
1346 KS_ShiftKeyDown = 0x4
1465 KEY_SHIFT = 0x01000020,
1466 KEY_CTRL = 0x01000021,
1467 KEY_ALT = 0x01000023
1601 virtual tResult
OnCreate(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom) = 0;
1623 virtual tResult
OnPaint(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom) = 0;
1645 virtual tResult
OnSize(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom) = 0;
1660 virtual tResult
OnIconify(tHandle hCanvas, tBool bIconified) = 0;
1718 tVoid* pEventData =
nullptr) = 0;
1722 #define ADTF_VIEWPORT_INTERNAL_CLASS "class"
1724 #define ADTF_VIEWPORT_INTERNAL_TITLEWINDOW "titlewindow"
1726 #define ADTF_VIEWPORT_INTERNAL_PARENT_SETTER "parentset"
1759 using dengar::IGraphicsFlags;
1760 using dengar::IFont;
1761 using dengar::ITexture;
1762 using dengar::ITexture;
1763 using dengar::IGraphicsMode;
1764 using dengar::IScene;
1765 using dengar::ICanvas;
1766 using dengar::IUIEventHandler;
virtual tVoid Clear()=0
Clears the canvas and all drawings to background color.
virtual tFloat32 UnmapPixelX(tInt x)=0
Unmap x coordinate from screen region to global coordinates.
virtual tVoid DrawPixel(tFloat32 x, tFloat32 y)=0
Draws a pixel at the given position.
virtual tVoid DrawLine(IPoint *ptStart, IPoint *ptEnd)=0
Draws a line between two points.
virtual tVoid FillCircleSegment(tInt x1, tInt y1, tInt x2, tInt y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd, tBool bNormalizeRect=tFalse)=0
Fills a circle segment (see.
virtual tVoid FillCircle(tInt x1, tInt y1, tInt x2, tInt y2)=0
Fills a circle with the current color.
virtual tInt32 GetFlag(tUInt32 nFlag)=0
Returns a flagvalue.
virtual tVoid Blit(ITexture *pTexture, tInt x, tInt y, tInt nWidth, tInt nHeight)=0
Blits a texture on canvas.
virtual tVoid OutputText(tFloat32 x, tFloat32 y, const tChar *fmt,...)=0
**
virtual tVoid FillCircleSegment(IRect *rect, tFloat64 fDegreeStart, tFloat64 fDegreeEnd)=0
Fills a circle segment with current color.
virtual tVoid DrawCircle(tInt x1, tInt y1, tInt x2, tInt y2)=0
Draws a circle.
virtual IFont * CreateFont(const char *strName, tInt nHeight, IFont::tStyle eFontStyle=IFont::STYLE_Default)=0
Creates a new font instance.
virtual tVoid DrawPixel(IPoint *pt)=0
Draws a pixel.
virtual tVoid ResetFlags()=0
Restores the default settings of all flags.
virtual tVoid Texture(ITexture *pTexture)=0
Sets a texture on canvas.
virtual tVoid DrawPixel(tInt x, tInt y)=0
Draws a pixel at the given position.
virtual tVoid FillEllipse(tInt iOriginX, tInt iOriginY, tInt iWidth, tInt iHeight, tInt iAngle)=0
Fills a ellipse.
virtual tVoid Font(IFont *pFont)=0
**
virtual tVoid OutputText(tInt x, tInt y, const tChar *fmt,...)=0
**
virtual tVoid DrawPolygon(IPoint **ppPoints, tInt nCount)=0
Draws a polygon.
ADTF_IID(ICanvas, "canvas.adtf_disptb.iid")
Define an interface id for this class
virtual tVoid SetMapping(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Define a rectangle for the screen mapping.
virtual tVoid FillCircleSegment(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd, tBool bNormalizeRect=tFalse)=0
Fills a circle segment (see.
virtual tVoid DrawRect(tInt x1, tInt y1, tInt x2, tInt y2)=0
Draws a rectangle using two given corners.
virtual tResult PopFlags()=0
Restores the flags from the top the flag stack.
virtual tVoid DrawLine(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Draws a line between two given points.
virtual tVoid DrawEllipse(tFloat32 f32OriginX, tFloat32 f32OriginY, tFloat32 f32Width, tFloat32 f32Height, tFloat32 f32Angle)=0
Draws a ellipse.
virtual tVoid FillCircle(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Fills a circle with current color.
virtual tInt GetWidth() const =0
Returns the width of the canvas.
virtual tVoid DrawEllipse(tInt iOriginX, tInt iOriginY, tInt iWidth, tInt iHeight, tInt iAngle)=0
Draws a ellipse.
virtual tVoid FillPolygon(IPoint **ppPoints, tInt nCount)=0
Fills a polygon by the given point array.
virtual tVoid Blit(IImage *pImage, tInt x, tInt y, tInt nWidth, tInt nHeight)=0
Blits an Image on canvas.
virtual tInt MapPixelY(tFloat32 y)=0
Map y coordinate to screen region.
virtual tResult CreateTexture(IImage *pImage, ITexture *&pTexture)=0
Handy method to create a texture from an image.
virtual tVoid FillEllipse(tFloat32 f32OriginX, tFloat32 f32OriginY, tFloat32 f32Width, tFloat32 f32Height, tFloat32 f32Angle)=0
Fills a ellipse.
virtual tVoid DrawCircleSegment(IRect *rect, tFloat64 fDegreeStart, tFloat64 fDegreeEnd)=0
Draws a circle segment inside a given rectangle.
virtual tVoid ClearMapping()=0
clears the mapping
virtual tInt MapPixelX(tFloat32 x)=0
Map x coordinate to screen region.
virtual tResult PushFlags()=0
Stores the current set flags onto the flag stack.
virtual tVoid DrawCircleSegment(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd, tBool bNormalizeRect=tFalse)=0
Draws a circle segment (see.
virtual tVoid FillRect(tInt x1, tInt y1, tInt x2, tInt y2)=0
Fills a rectangle with the current color.
virtual IScene * BeginScene()=0
Starts a 3D Scene context within the canvas.
virtual tVoid EndScene()=0
Ends the 3D Scene context within the canvas.
virtual tVoid DrawRect(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Draws a rectangle.
virtual tVoid Capture(IImage **ppImage, tInt x, tInt y, tInt nWidth, tInt nHeight)=0
Captures the current canvas positions to an image.
virtual tVoid DrawCircle(IRect *rect)=0
Draws a circle inside a given rectangle.
virtual tVoid DrawRect(IRect *rect)=0
Draws a rectangle.
virtual tInt MapPixelY(tInt y)=0
Map y coordinate to screen region.
virtual tVoid DrawCircle(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Draws a circle.
virtual tVoid FillCircle(IRect *rect)=0
Fills a circle with current color.
virtual tVoid DrawCircleSegment(tInt x1, tInt y1, tInt x2, tInt y2, tFloat64 fDegreeStart, tFloat64 fDegreeEnd, tBool bNormalizeRect=tFalse)=0
Draws a circle segment (see.
virtual tInt GetBitsPerPixel() const =0
Returns the resolution of the canvas.
virtual tVoid DrawLine(tInt x1, tInt y1, tInt x2, tInt y2)=0
Draws a line between two given points.
virtual tInt GetHeight() const =0
Returns the height of the canvas.
virtual tFloat32 UnmapPixelY(tInt y)=0
Unmap y coordinate from screen region to global coordinates.
virtual tVoid FillRect(tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)=0
Fills a rect with current color.
virtual tFloat64 GetFontAngle()=0
**
virtual tVoid DrawTexture(ITexture *pTexture, tFloat32 vPoints[8])=0
Draws a texture into a polygon which is described with 4 points.
virtual tInt MapPixelX(tInt x)=0
Map x coordinate to screen region.
virtual tVoid FillRect(IRect *rect)=0
Fills a rect with current color.
virtual tVoid SetFontAngle(tFloat64 fAngle)=0
Sets the font angle.
virtual tVoid SetFlag(tUInt32 nFlag, tInt32 nValue)=0
Sets a flag with value.
virtual ITexture * CreateTexture(const tBitmapFormat *psFormat, tInt nMode=0)=0
Creates a Texture in the given format.
Interface for color representation.
Default Font handling interface for basic font support.
tStyle
The enumeration marks the style of the font.
@ STYLE_Mono
the font is mono style.
@ STYLE_Antialiased
the font supports anti aliased.
@ STYLE_Default
default font.
virtual tResult Release()=0
Releases the font.
virtual ~IFont()
virtual destructor to ensure proper cleanup.
virtual tBool MeasureText(const tChar *str, tInt &nWidth, tInt &nHeight) const =0
The methods returns the measurement of the text in nWidth and nHeight.
virtual tInt GetHeight() const =0
This function returns the height of the font in point.
The Graphics device flags.
@ FULLSCREEN_MODE
The device is in full screen mode.
@ SUPPORT_ADTF25
this needs to be put into the flags to synchronize to avoid deadlocks with 2.5 adtf x system cBaseDis...
@ DEVICE_SWT
SWT device support.
@ DEVICE_GDI
Win32 GDI device.
@ SUPPORT_OPENGL
The device supports OpenGL.
@ DEVICE_X11
Standard X11 device support.
@ DEVICE_SDL
SDL frame buffer support.
@ DEVICE_QT
Qt device support.
Graphics mode interface for common graphic support.
virtual tVoid BgColor(const IColor *col)=0
This function sets the current background color to col value.
virtual tVoid DisableBackFaceCulling() const =0
This function disables the back face culling.
virtual tVoid Coord(IPoint *pt)=0
Set the context to the given coordinates.
virtual tVoid Coord(tFloat32 x, tFloat32 y)=0
Set the context to the given coordinates.
virtual tVoid EnableDepthBuffer() const =0
This function enables the depth buffer if feature is supported.
virtual tVoid EnableAntialiasing() const =0
This function enables the anti aliasing if feature is supported.
virtual tVoid EnableAlpha(tBool bAdditiveMode=tFalse) const =0
This function enables the alpha graphics mode.
tFeature
This enumeration enables / disables or describes the features for the graphics mode.
@ FEATURE_AlphaBlending
anti blending.
@ FEATURE_BackFaceCulling
back face culling.
@ FEATURE_HardwareAcceleration
hardware acceleration.
@ FEATURE_Lighting
lighting.
@ FEATURE_CommandLists
command list.
@ FEATURE_DepthBuffer
deep buffer support.
@ FEATURE_Antialiasing
anti aliasing.
virtual tVoid DisableAlpha() const =0
This function disables the alpha graphics mode.
virtual tVoid DisableLighting() const =0
This function disables the lighting.
virtual tVoid DisableAntialiasing() const =0
This function disables the anti aliasing.
virtual tVoid Coord(IPoint **ppPoints, tInt nCount)=0
Set the context to the coordinate list.
virtual tVoid BgColor(tFloat64 fRed, tFloat64 fGreen, tFloat64 fBlue, tFloat64 fAlpha=0.0)=0
This function sets the current background color to col value.
virtual tVoid Coord(tInt x, tInt y)=0
Set the context to the given coordinates.
virtual tVoid DisableDepthBuffer() const =0
This function disables the depth buffer.
virtual tVoid Color(const IColor *col)=0
This function sets the current color to col value.
virtual tVoid End()=0
Ends a device context.
virtual tVoid EnableBackFaceCulling() const =0
This function enables the back face culling if supported.
virtual ~IGraphicsMode()
virtual destructor to ensure proper cleanup.
tMode
enumeration for the supported modes.
@ MODE_DrawLineStrip
draw a line strip.
@ MODE_DrawTriangleStrip
draw triangle strip.
@ MODE_DrawTriangleFan
draw triangle fan.
@ MODE_DrawLineLoop
draw a line loop.
@ MODE_DrawPoints
draw points.
@ MODE_DrawQuads
draw quad.
@ MODE_DrawTriangles
draw triangle.
@ MODE_DrawPolygon
draw polygon.
@ MODE_DrawLines
draw lines.
@ MODE_DrawQuadStrip
draw quad strip.
virtual tVoid BgColor(tInt nRed, tInt nGreen, tInt nBlue, tInt nAlpha=0)=0
This function sets the current background color to col value.
virtual tVoid LinePattern(tUInt16 ui16Pattern, tInt nFactor=1)=0
This function adjusts the Line Style for all Lines in drawing operations.
virtual tVoid CoordTexture(tFloat32 u, tFloat32 v)=0
Set the context to the coordinate list.
virtual tVoid Color(tFloat64 fRed, tFloat64 fGreen, tFloat64 fBlue, tFloat64 fAlpha=1.0)=0
This function sets the current color.
virtual tVoid BgColor(tUInt8 nRed, tUInt8 nGreen, tUInt8 nBlue, tUInt8 nAlpha=0)=0
This function sets the current background color to col value.
virtual tVoid Color(tInt nRed, tInt nGreen, tInt nBlue, tInt nAlpha=255)=0
This function sets the current color.
virtual tBool IsSupported(tFeature nFeatureId) const =0
This function returns if the features shown in tFeature is supported.
virtual tVoid LineWidth(tFloat64 fWidth)=0
This function sets the current line width to the fWidth value.
virtual tVoid EnableLighting() const =0
This function enables the lighting if feature is supported.
virtual tVoid Begin(tMode eMode)=0
Start graphics command.
virtual tVoid Color(tUInt8 nRed, tUInt8 nGreen, tUInt8 nBlue, tUInt8 nAlpha=255)=0
This function sets the current color.
Image and bitmap handling.
The interface for common texture handling.
virtual tInt GetPhysicalWidth() const =0
Gets the physical width of the texture (in byte).
virtual tResult Release()=0
The Function releases the Texture.
virtual tVoid MakeCurrent()=0
Sets this texture as the current texture.
virtual tInt GetWidth() const =0
Gets the width of a texture (in pixel).
virtual ~ITexture()
virtual destructor to ensure proper cleanup.
virtual tInt GetPhysicalHeight() const =0
Gets the physical height of the texture (in byte).
virtual tResult SetMode(tInt nMode)=0
Set the Mode shown in tTextureMode.
tTextureMode
The enumeration shows the texture modes.
@ MODE_NearestPixel
nearest pixel mode.
@ MODE_BilinearFiltered
bi linear filtered.
virtual tResult Copy(IImage *pSource)=0
Fills the texture using a IImage.
virtual tInt GetBitsPerPixel() const =0
Gets the number of bits per line of a texture.
virtual tInt GetHeight() const =0
Gets the height of a texture (in pixel).
User interface event handler for all displays within the adtf.
tMouseState
The MouseStates for the tControlEventCode with Mouse.
virtual tResult OnDestroy()=0
Destroy display.
virtual tResult OnTimer(tHandle hCanvas)=0
On Gui timer callback.
virtual tResult OnSize(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom)=0
On Resize display Event.
virtual tResult OnPaint(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom)=0
On Redraw display event.
virtual tResult OnIconify(tHandle hCanvas, tBool bIconified)=0
On Change window iconic state Event.
tKey
These are the standard adtf_graphics keys.
@ KEY_SPACE
the space key.
@ KEY_INSERT
the insert key.
@ KEY_ESCAPE
the escape key.
@ KEY_PAGEDOWN
the page-down key.
@ KEY_PAGEUP
the page-up key.
@ KEY_RIGHT
the right key.
@ KEY_BACKSPACE
the backspace key.
@ KEY_NUMLOCK
the numlock key.
@ KEY_RETURN
the return key.
@ KEY_DELETE
the delete key.
@ KEY_PRINT
the print key.
virtual tResult OnIdle(tHandle hCanvas)=0
Gui idle callback.
tKeyState
The KeyStates for the tControlEventCode with Key.
virtual tResult OnControlEvent(tControlEventCode eCode, tInt nParam1=0, tInt nParam2=0, tInt nFlags=0, tVoid *pEventData=nullptr)=0
Control Event by Key or Mouse Events.
tControlEventCode
The Control Event Code Enumeration for the IUIEventHandler::OnControlEvent method.
@ EC_MouseRDown
right button down event nParam1 = x position of mouse event nParam2 = y position of mouse event ...
@ EC_MouseRDblClk
right button double click event nParam1 = x position of mouse event nParam2 = y position of mouse...
@ EC_MouseLDown
left button down event nParam1 = x position of mouse event nParam2 = y position of mouse event ...
@ EC_MouseWheel
mouse wheel event nParam1 = number of steps the wheel is rotated nParam2 = 0 nFlags = see tMous...
@ EC_MouseLDblClk
left button double click event nParam1 = x position of mouse event nParam2 = y position of mouse ...
@ EC_KeyInput
key input event nParam1 = see tKey nParam2 = see tKeyState
@ EC_MouseMove
mouse move event nParam1 = x position of mouse event nParam2 = y position of mouse event nFlags...
@ EC_MouseMDblClk
middle button double click event nParam1 = x position of mouse event nParam2 = y position of mous...
@ EC_MouseRUp
right button up event nParam1 = x position of mouse event nParam2 = y position of mouse event n...
@ EC_KeyUp
key up event nParam1 = see tKey nParam2 = see tKeyState
@ EC_MouseMDown
middle button down event nParam1 = x position of mouse event nParam2 = y position of mouse event ...
@ EC_MouseMUp
middle button up event nParam1 = x position of mouse event nParam2 = y position of mouse event ...
@ EC_MouseLUp
left button up event nParam1 = x position of mouse event nParam2 = y position of mouse event nF...
@ EC_KeyDown
key down event nParam1 = see tKey nParam2 = see tKeyState
virtual tResult OnCreate(tHandle hCanvas, tInt nLeft, tInt nTop, tInt nRight, tInt nBottom)=0
On Create display Event Call.
Copyright © Audi Electronics Venture GmbH.
tCanvasFlags
Servaral flags for ICanvas::SetFlag.
@ CANVAS_FLAG_TEXT_BASELINE_ON_TOP
Set the text baseline on top of the text (0: baseline is on button of a glyphe, 1: baseline is on top...
@ CANVAS_FLAG_TEXT_FLIP_HORIZONTALLY
Set the text direction with or opposed the x-axis direction (0: with the x-axis direction,...
@ CANVAS_FLAG_TEXT_ROTATE_WITH_COORDINATE_SYSTEM
Set the text to scale with the level of zoom.
@ CANVAS_FLAG_TEXT_SCALE_WITH_COORDINATE_SYSTEM
Set the text to scale with the coordinatesystem.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.