ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
gcltypes.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

struct  tGCLCommandDescriptor
 GCL command descriptor. More...
 

Namespaces

 adtf
 Main namespace.
 
 adtf::disptb
 Namespace for functionality provided by the Display Toolbox.
 

Enumerations

enum  tGCLCommandIdentifier {
  GCL_CMD_END = 0 , GCL_CMD_INT = 1 , GCL_CMD_FLOAT = 2 , GCL_CMD_CLEAR = 3 ,
  GCL_CMD_FGCOL = 4 , GCL_CMD_BGCOL = 5 , GCL_CMD_MOVETO = 6 , GCL_CMD_DRAWPIXEL = 7 ,
  GCL_CMD_DRAWLINE = 8 , GCL_CMD_LINETO = 9 , GCL_CMD_DRAWRECT = 10 , GCL_CMD_FILLRECT = 11 ,
  GCL_CMD_TEXT = 12 , GCL_CMD_LINEWIDTH = 13 , GCL_CMD_DRAWCIRCLE = 14 , GCL_CMD_FILLCIRCLE = 15 ,
  GCL_CMD_LINEPATTERN = 16 , GCL_CMD_ALPHA = 17 , GCL_CMD_DRAWPOLYGON = 18 , GCL_CMD_FILLPOLYGON = 19 ,
  GCL_CMD_TEXT_SIZE_SMALL = 20 , GCL_CMD_TEXT_SIZE_NORMAL = 21 , GCL_CMD_TEXT_SIZE_HUGE = 22
}
 GCL command identifier are used to define commands of the graphics command language. More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file gcltypes.h.

Enumeration Type Documentation

◆ tGCLCommandIdentifier

enum tGCLCommandIdentifier

GCL command identifier are used to define commands of the graphics command language.

Enumerator
GCL_CMD_END 

Marks the end of the GCL buffer.

GCL_CMD_INT 

Switches mode to integer coordinates (not supported)

GCL_CMD_FLOAT 

Switches mode to float coordinates (not supported)

GCL_CMD_CLEAR 

Clears the drawing canvas.

Please note that the GCL command buffer of the ADTF Video Display is reset with each new sample, so each sample has to contain the complete GCL scene (i.e. you cannot paint incrementally). It clears the canvas with the current background color.

GCL_CMD_FGCOL 

Sets foreground color.

GCL_CMD_BGCOL 

Sets background color.

GCL_CMD_MOVETO 

Moves the drawing cursor to the specified coordinate.

GCL_CMD_DRAWPIXEL 

Draws a pixel at the specified coordinate.

GCL_CMD_DRAWLINE 

Draws a line between the specified points.

GCL_CMD_LINETO 

Draws a line from the current position to the specified coordinate.

GCL_CMD_DRAWRECT 

Draws a rectangle.

GCL_CMD_FILLRECT 

Draws a filled rectangle.

GCL_CMD_TEXT 

Generates text output at specified coordinate.

GCL_CMD_LINEWIDTH 

Sets width for line drawing operations.

GCL_CMD_DRAWCIRCLE 

Draws a circle at the specified point and with the given diameter.

GCL_CMD_FILLCIRCLE 

Draws a filled circle at the specified point with the given diameter.

GCL_CMD_LINEPATTERN 

Sets the line pattern (pattern, factor)

GCL_CMD_ALPHA 

Enable/Disable alpha blending (OpenGL only)

GCL_CMD_DRAWPOLYGON 

Draws a polygon (outline)

GCL_CMD_FILLPOLYGON 

Fills a polygon.

GCL_CMD_TEXT_SIZE_SMALL 

Sets current font to small font.

GCL_CMD_TEXT_SIZE_NORMAL 

Sets current font to normal font.

GCL_CMD_TEXT_SIZE_HUGE 

Sets current font to huge font.

Definition at line 24 of file gcltypes.h.