KiCad PCB EDA Suite
KIGFX Namespace Reference

The Cairo implementation of the graphics abstraction layer. More...

Namespaces

 BUILTIN_FONT
 
 BUILTIN_SHADERS
 
 DETAIL
 
 PREVIEW
 

Classes

class  ACCELERATING_ZOOM_CONTROLLER
 Class that zooms faster if scroll events happen very close together. More...
 
class  ANTIALIASING_NONE
 
class  ANTIALIASING_SMAA
 
class  ANTIALIASING_SUPERSAMPLING
 
class  CACHED_CONTAINER
 Class to store VERTEX instances with caching. More...
 
class  CACHED_CONTAINER_GPU
 Specialization of CACHED_CONTAINER that stores data in video memory via memory mapping. More...
 
class  CACHED_CONTAINER_RAM
 Specialization of CACHED_CONTAINER that stores data in RAM. More...
 
class  CAIRO_COMPOSITOR
 
class  CAIRO_GAL
 
class  CAIRO_GAL_BASE
 
class  CAIRO_PRINT_CTX
 Provide a Cairo context created from wxPrintDC. More...
 
class  CAIRO_PRINT_GAL
 
class  COLOR4D
 A color representation with 4 components: red, green, blue, alpha. More...
 
class  COMPOSITOR
 
class  CONSTANT_ZOOM_CONTROLLER
 A #ZOOM_CONTROLLER that zooms by a fixed factor based only on the magnitude of the scroll wheel rotation. More...
 
class  DS_PAINTER
 Methods for painting drawing sheet items. More...
 
class  DS_RENDER_SETTINGS
 Store page-layout-specific render settings. More...
 
class  GAL
 Abstract interface for drawing on a 2D-surface. More...
 
class  GAL_CONTEXT_LOCKER
 
class  GAL_DISPLAY_OPTIONS
 
class  GAL_DISPLAY_OPTIONS_OBSERVER
 
class  GAL_DRAWING_CONTEXT
 
class  GAL_PRINT
 Wrapper around GAL to provide information needed for printing. More...
 
class  GAL_UPDATE_CONTEXT
 
class  GERBVIEW_PAINTER
 Methods for drawing GerbView specific items. More...
 
class  GERBVIEW_RENDER_SETTINGS
 Store GerbView specific render settings. More...
 
class  GL_BITMAP_CACHE
 
class  GPU_CACHED_MANAGER
 
class  GPU_MANAGER
 Class to handle uploading vertices and indices to GPU in drawing purposes. More...
 
class  GPU_NONCACHED_MANAGER
 
class  NONCACHED_CONTAINER
 
class  OPENGL_COMPOSITOR
 
class  OPENGL_GAL
 OpenGL implementation of the Graphics Abstraction Layer. More...
 
class  OPENGL_PRESENTOR
 
class  ORIGIN_VIEWITEM
 
class  PAINTER
 Contains all the knowledge about how to draw graphical object onto any particular output device. More...
 
class  PCB_PAINTER
 Contains methods for drawing PCB-specific items. More...
 
class  PCB_PRINT_PAINTER
 Special flavor of PCB_PAINTER that contains modifications to handle printing options. More...
 
class  PCB_RENDER_SETTINGS
 PCB specific render settings. More...
 
class  PCB_VIEW
 
class  PRINT_CONTEXT
 
struct  QUERY_VISITOR
 
class  RENDER_SETTINGS
 Container for all the knowledge about how graphical objects are drawn on any output surface/device. More...
 
class  SCH_PAINTER
 Contains methods for drawing schematic-specific items. More...
 
class  SCH_RENDER_SETTINGS
 Store schematic specific render settings. More...
 
class  SCH_VIEW
 
class  SHADER
 Provide the access to the OpenGL shaders. More...
 
class  STROKE_FONT
 Implement a stroke font drawing. More...
 
struct  VC_SETTINGS
 Structure to keep VIEW_CONTROLS settings for easy store/restore operations. More...
 
struct  VERTEX
 
class  VERTEX_CONTAINER
 
class  VERTEX_ITEM
 
class  VERTEX_MANAGER
 Class to control vertex container and GPU with possibility of emulating old-style OpenGL 1.0 state machine using modern OpenGL methods. More...
 
class  VIEW
 Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the GAL. More...
 
class  VIEW_CONTROLS
 An interface for classes handling user events controlling the view behavior such as zooming, panning, mouse grab, etc. More...
 
class  VIEW_GROUP
 Extend VIEW_ITEM by possibility of grouping items into a single object. More...
 
class  VIEW_ITEM
 An abstract base class for deriving all objects that can be added to a VIEW. More...
 
class  VIEW_ITEM_DATA
 
class  VIEW_OVERLAY
 
class  VIEW_RTREE
 Implement an non-owning R-tree for fast spatial indexing of VIEW items. More...
 
class  WX_VIEW_CONTROLS
 An implementation of class VIEW_CONTROLS for wxWidgets library. More...
 
class  ZOOM_CONTROLLER
 Handle the response of the zoom scale to external inputs. More...
 

Typedefs

typedef std::vector< std::vector< VECTOR2D > * > GLYPH
 
typedef std::vector< GLYPH * > GLYPH_LIST
 
typedef RTree< VIEW_ITEM *, int, 2, double > VIEW_RTREE_BASE
 

Enumerations

enum  RENDER_TARGET {
  TARGET_CACHED = 0, TARGET_NONCACHED, TARGET_OVERLAY, TARGET_TEMP,
  TARGETS_NUMBER
}
 RENDER_TARGET: Possible rendering targets. More...
 
enum  GRID_STYLE { GRID_STYLE::DOTS, GRID_STYLE::LINES, GRID_STYLE::SMALL_CROSS }
 GRID_STYLE: Type definition of the grid style. More...
 
enum  OPENGL_ANTIALIASING_MODE { NONE, OPENGL_ANTIALIASING_MODE::SMAA, OPENGL_ANTIALIASING_MODE::SUPERSAMPLING }
 
enum  CAIRO_ANTIALIASING_MODE { NONE, CAIRO_ANTIALIASING_MODE::FAST, CAIRO_ANTIALIASING_MODE::GOOD }
 
enum  GRID_SNAPPING { GRID_SNAPPING::ALWAYS, GRID_SNAPPING::WITH_GRID, GRID_SNAPPING::NEVER }
 
enum  SHADER_TYPE { SHADER_TYPE_VERTEX = GL_VERTEX_SHADER, SHADER_TYPE_FRAGMENT = GL_FRAGMENT_SHADER, SHADER_TYPE_GEOMETRY = GL_GEOMETRY_SHADER }
 Type definition for the shader. More...
 
enum  SHADER_MODE {
  SHADER_NONE = 0, SHADER_FILLED_CIRCLE = 2, SHADER_STROKED_CIRCLE = 3, SHADER_FONT = 4,
  SHADER_LINE_A = 5, SHADER_LINE_B = 6, SHADER_LINE_C = 7, SHADER_LINE_D = 8,
  SHADER_LINE_E = 9, SHADER_LINE_F = 10
}
 < Possible types of shaders (keep consistent with the actual shader source in gl_builtin_shaders.cpp). More...
 
enum  VIEW_UPDATE_FLAGS {
  NONE = 0x00, NONE, NONE, APPEARANCE = 0x01,
  COLOR = 0x02, GEOMETRY = 0x04, LAYERS = 0x08, INITIAL_ADD = 0x10,
  REPAINT = 0x20, ALL = 0xef
}
 Define the how severely the appearance of the item has been changed. More...
 
enum  VIEW_VISIBILITY_FLAGS { VISIBLE = 0x01, HIDDEN = 0x02 }
 Define the visibility of the item (temporarily hidden, invisible, etc). More...
 

Functions

const bool operator== (const COLOR4D &lhs, const COLOR4D &rhs)
 Equality operator, are two colors equal. More...
 
const bool operator!= (const COLOR4D &lhs, const COLOR4D &rhs)
 Not equality operator, are two colors not equal. More...
 
const bool operator< (const COLOR4D &lhs, const COLOR4D &rhs)
 
std::ostream & operator<< (std::ostream &aStream, COLOR4D const &aColor)
 Syntactic sugar for outputting colors to strings. More...
 
void to_json (nlohmann::json &aJson, const COLOR4D &aColor)
 
void from_json (const nlohmann::json &aJson, COLOR4D &aColor)
 
EESCHEMA_SETTINGSeeconfig ()
 
static LIB_SYMBOLdummy ()
 Used when a LIB_SYMBOL is not found in library to draw a dummy shape. More...
 
static VECTOR2D mapCoords (const wxPoint &aCoord)
 
static void orientSymbol (LIB_SYMBOL *symbol, int orientation)
 

Variables

static constexpr size_t VERTEX_SIZE = sizeof(VERTEX)
 
static constexpr size_t VERTEX_STRIDE = VERTEX_SIZE / sizeof(GLfloat)
 
static constexpr size_t COORD_OFFSET = offsetof(VERTEX, x)
 
static constexpr size_t COORD_SIZE = sizeof(VERTEX::x) + sizeof(VERTEX::y) + sizeof(VERTEX::z)
 
static constexpr size_t COORD_STRIDE = COORD_SIZE / sizeof(GLfloat)
 
static constexpr size_t COLOR_OFFSET = offsetof(VERTEX, r)
 
static constexpr size_t COLOR_SIZE = sizeof(VERTEX::r) + sizeof(VERTEX::g) + sizeof(VERTEX::b) + sizeof(VERTEX::a)
 
static constexpr size_t COLOR_STRIDE = COLOR_SIZE / sizeof(GLubyte)
 
static constexpr size_t SHADER_OFFSET = offsetof(VERTEX, shader)
 
static constexpr size_t SHADER_SIZE = sizeof(VERTEX::shader)
 
static constexpr size_t SHADER_STRIDE = SHADER_SIZE / sizeof(GLfloat)
 
static constexpr size_t INDEX_SIZE = sizeof(GLuint)
 

Detailed Description

The Cairo implementation of the graphics abstraction layer.

View item to draw an origin marker.

Quote from Wikipedia: " Cairo is a software library used to provide a vector graphics-based, device-independent API for software developers. It is designed to provide primitives for 2-dimensional drawing across a number of different backends. "

Cairo offers also backends for PostScript and PDF surfaces. So it can be used for printing of KiCad graphics surfaces as well.

Typedef Documentation

◆ GLYPH

typedef std::vector<std::vector<VECTOR2D>*> KIGFX::GLYPH

Definition at line 44 of file stroke_font.h.

◆ GLYPH_LIST

typedef std::vector<GLYPH*> KIGFX::GLYPH_LIST

Definition at line 47 of file stroke_font.h.

◆ VIEW_RTREE_BASE

typedef RTree<VIEW_ITEM*, int, 2, double> KIGFX::VIEW_RTREE_BASE

Definition at line 36 of file view_rtree.h.

Enumeration Type Documentation

◆ CAIRO_ANTIALIASING_MODE

Enumerator
NONE 
FAST 
GOOD 

Definition at line 55 of file gal_display_options.h.

56  {
57  NONE,
58  FAST,
59  GOOD,
60  };
No updates are required.
Definition: view_item.h:46

◆ GRID_SNAPPING

enum KIGFX::GRID_SNAPPING
strong
Enumerator
ALWAYS 
WITH_GRID 
NEVER 

Definition at line 62 of file gal_display_options.h.

◆ GRID_STYLE

enum KIGFX::GRID_STYLE
strong

GRID_STYLE: Type definition of the grid style.

Enumerator
DOTS 

Use dots for the grid.

LINES 

Use lines for the grid.

SMALL_CROSS 

Use small cross instead of dots for the grid.

Definition at line 41 of file gal_display_options.h.

42  {
43  DOTS,
44  LINES,
46  };
Use lines for the grid.
Use dots for the grid.
Use small cross instead of dots for the grid.

◆ OPENGL_ANTIALIASING_MODE

Enumerator
NONE 
SMAA 
SUPERSAMPLING 

Definition at line 48 of file gal_display_options.h.

◆ RENDER_TARGET

RENDER_TARGET: Possible rendering targets.

Enumerator
TARGET_CACHED 

Main rendering target (cached)

TARGET_NONCACHED 

Auxiliary rendering target (noncached)

TARGET_OVERLAY 

Items that may change while the view stays the same (noncached)

TARGET_TEMP 

Temporary target for drawing in separate layer.

TARGETS_NUMBER 

Number of available rendering targets.

Definition at line 46 of file definitions.h.

47 {
48  TARGET_CACHED = 0,
51  TARGET_TEMP,
53 };
Number of available rendering targets.
Definition: definitions.h:52
Auxiliary rendering target (noncached)
Definition: definitions.h:49
Items that may change while the view stays the same (noncached)
Definition: definitions.h:50
Main rendering target (cached)
Definition: definitions.h:48
Temporary target for drawing in separate layer.
Definition: definitions.h:51

◆ SHADER_MODE

< Possible types of shaders (keep consistent with the actual shader source in gl_builtin_shaders.cpp).

Enumerator
SHADER_NONE 
SHADER_FILLED_CIRCLE 
SHADER_STROKED_CIRCLE 
SHADER_FONT 
SHADER_LINE_A 
SHADER_LINE_B 
SHADER_LINE_C 
SHADER_LINE_D 
SHADER_LINE_E 
SHADER_LINE_F 

Definition at line 45 of file vertex_common.h.

◆ SHADER_TYPE

Type definition for the shader.

Enumerator
SHADER_TYPE_VERTEX 

Vertex shader.

SHADER_TYPE_FRAGMENT 

Fragment shader.

SHADER_TYPE_GEOMETRY 

Geometry shader.

Definition at line 44 of file shader.h.

45 {
46  SHADER_TYPE_VERTEX = GL_VERTEX_SHADER,
47  SHADER_TYPE_FRAGMENT = GL_FRAGMENT_SHADER,
48  SHADER_TYPE_GEOMETRY = GL_GEOMETRY_SHADER
49 };
Fragment shader.
Definition: shader.h:47
Vertex shader.
Definition: shader.h:46
Geometry shader.
Definition: shader.h:48

◆ VIEW_UPDATE_FLAGS

Define the how severely the appearance of the item has been changed.

Enumerator
NONE 

No updates are required.

NONE 
NONE 
APPEARANCE 

Visibility flag has changed.

COLOR 

Color has changed.

GEOMETRY 

Position or shape has changed.

LAYERS 

Layers have changed.

INITIAL_ADD 

Item is being added to the view.

REPAINT 

Item needs to be redrawn.

ALL 

All except INITIAL_ADD.

Definition at line 45 of file view_item.h.

45  {
46  NONE = 0x00,
47  APPEARANCE = 0x01,
48  COLOR = 0x02,
49  GEOMETRY = 0x04,
50  LAYERS = 0x08,
51  INITIAL_ADD = 0x10,
52  REPAINT = 0x20,
53  ALL = 0xef
54 };
Item is being added to the view.
Definition: view_item.h:51
Visibility flag has changed.
Definition: view_item.h:47
Color has changed.
Definition: view_item.h:48
All except INITIAL_ADD.
Definition: view_item.h:53
Item needs to be redrawn.
Definition: view_item.h:52
No updates are required.
Definition: view_item.h:46
Layers have changed.
Definition: view_item.h:50
Position or shape has changed.
Definition: view_item.h:49

◆ VIEW_VISIBILITY_FLAGS

Define the visibility of the item (temporarily hidden, invisible, etc).

Enumerator
VISIBLE 

Item is visible (in general)

HIDDEN 

Item is temporarily hidden (e.g.

being used by a tool). Overrides VISIBLE flag.

Definition at line 59 of file view_item.h.

59  {
60  VISIBLE = 0x01,
61  HIDDEN = 0x02
62 };
Ratsnest lines are drawn to items on visible layers only.
Inactive layers are hidden.

Function Documentation

◆ dummy()

static LIB_SYMBOL* KIGFX::dummy ( )
static

Used when a LIB_SYMBOL is not found in library to draw a dummy shape.

This symbol is a 400 mils square with the text "??"

DEF DUMMY U 0 40 Y Y 1 0 N F0 "U" 0 -350 60 H V F1 "DUMMY" 0 350 60 H V DRAW T 0 0 0 150 0 0 0 ?? S -200 200 200 -200 0 1 0 ENDDRAW ENDDEF

Definition at line 133 of file sch_painter.cpp.

134 {
135  static LIB_SYMBOL* symbol;
136 
137  if( !symbol )
138  {
139  symbol = new LIB_SYMBOL( wxEmptyString );
140 
141  LIB_SHAPE* square = new LIB_SHAPE( symbol, SHAPE_T::RECT );
142 
143  square->MoveTo( wxPoint( Mils2iu( -200 ), Mils2iu( 200 ) ) );
144  square->SetEnd( wxPoint( Mils2iu( 200 ), Mils2iu( -200 ) ) );
145 
146  LIB_TEXT* text = new LIB_TEXT( symbol );
147 
148  text->SetTextSize( wxSize( Mils2iu( 150 ), Mils2iu( 150 ) ) );
149  text->SetText( wxString( wxT( "??" ) ) );
150 
151  symbol->AddDrawItem( square );
152  symbol->AddDrawItem( text );
153  }
154 
155  return symbol;
156 }
Define a symbol library graphical text item.
Definition: lib_text.h:39
Define a library symbol object.
Definition: lib_symbol.h:96
void AddDrawItem(LIB_ITEM *aItem, bool aSort=true)
Add a new draw aItem to the draw object list and sort according to aSort.
Definition: lib_symbol.cpp:666
double square(double x)

References LIB_SYMBOL::AddDrawItem(), RECT, square(), and text.

Referenced by KIGFX::SCH_PAINTER::draw(), and KIGFX::VIEW_CONTROLS::Reset().

◆ eeconfig()

EESCHEMA_SETTINGS* KIGFX::eeconfig ( )

Definition at line 114 of file sch_painter.cpp.

115 {
116  return dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
117 }
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.

References Kiface().

Referenced by KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::fillIfSelection(), KIGFX::SCH_PAINTER::getShadowWidth(), and SCH_EDIT_FRAME::SCH_EDIT_FRAME().

◆ from_json()

void KIGFX::from_json ( const nlohmann::json aJson,
COLOR4D aColor 
)

Definition at line 277 of file color4d.cpp.

278 {
279  aColor.SetFromWxString( aJson.get<std::string>() );
280 }

◆ mapCoords()

◆ operator!=()

const bool KIGFX::operator!= ( const COLOR4D lhs,
const COLOR4D rhs 
)

Not equality operator, are two colors not equal.

Definition at line 244 of file color4d.cpp.

245 {
246  return !( lhs == rhs );
247 }

◆ operator<()

const bool KIGFX::operator< ( const COLOR4D lhs,
const COLOR4D rhs 
)

Definition at line 250 of file color4d.cpp.

251 {
252  if( lhs.r < rhs.r )
253  return true;
254  else if( lhs.g < rhs.g )
255  return true;
256  else if( lhs.b < rhs.b )
257  return true;
258  else if( lhs.a < rhs.a )
259  return true;
260 
261  return false;
262 }
double g
Green component.
Definition: color4d.h:378
double b
Blue component.
Definition: color4d.h:379
double a
Alpha component.
Definition: color4d.h:380
double r
Red component.
Definition: color4d.h:377

References KIGFX::COLOR4D::a, KIGFX::COLOR4D::b, KIGFX::COLOR4D::g, and KIGFX::COLOR4D::r.

◆ operator<<()

std::ostream & KIGFX::operator<< ( std::ostream &  aStream,
COLOR4D const &  aColor 
)

Syntactic sugar for outputting colors to strings.

Definition at line 265 of file color4d.cpp.

266 {
267  return aStream << aColor.ToWxString( wxC2S_CSS_SYNTAX );
268 }

◆ operator==()

const bool KIGFX::operator== ( const COLOR4D lhs,
const COLOR4D rhs 
)

Equality operator, are two colors equal.

Definition at line 238 of file color4d.cpp.

239 {
240  return lhs.a == rhs.a && lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b;
241 }
double g
Green component.
Definition: color4d.h:378
double b
Blue component.
Definition: color4d.h:379
double a
Alpha component.
Definition: color4d.h:380
double r
Red component.
Definition: color4d.h:377

References KIGFX::COLOR4D::a, KIGFX::COLOR4D::b, KIGFX::COLOR4D::g, and KIGFX::COLOR4D::r.

◆ orientSymbol()

static void KIGFX::orientSymbol ( LIB_SYMBOL symbol,
int  orientation 
)
static

Definition at line 1392 of file sch_painter.cpp.

1393 {
1394  struct ORIENT
1395  {
1396  int flag;
1397  int n_rots;
1398  int mirror_x;
1399  int mirror_y;
1400  }
1401  orientations[] =
1402  {
1403  { SYM_ORIENT_0, 0, 0, 0 },
1404  { SYM_ORIENT_90, 1, 0, 0 },
1405  { SYM_ORIENT_180, 2, 0, 0 },
1406  { SYM_ORIENT_270, 3, 0, 0 },
1407  { SYM_MIRROR_X + SYM_ORIENT_0, 0, 1, 0 },
1408  { SYM_MIRROR_X + SYM_ORIENT_90, 1, 1, 0 },
1409  { SYM_MIRROR_Y, 0, 0, 1 },
1410  { SYM_MIRROR_X + SYM_ORIENT_270, 3, 1, 0 },
1411  { SYM_MIRROR_Y + SYM_ORIENT_0, 0, 0, 1 },
1412  { SYM_MIRROR_Y + SYM_ORIENT_90, 1, 0, 1 },
1413  { SYM_MIRROR_Y + SYM_ORIENT_180, 2, 0, 1 },
1414  { SYM_MIRROR_Y + SYM_ORIENT_270, 3, 0, 1 }
1415  };
1416 
1417  ORIENT o = orientations[ 0 ];
1418 
1419  for( auto& i : orientations )
1420  {
1421  if( i.flag == orientation )
1422  {
1423  o = i;
1424  break;
1425  }
1426  }
1427 
1428  for( auto& item : symbol->GetDrawItems() )
1429  {
1430  for( int i = 0; i < o.n_rots; i++ )
1431  item.Rotate( wxPoint(0, 0 ), true );
1432 
1433  if( o.mirror_x )
1434  item.MirrorVertical( wxPoint( 0, 0 ) );
1435 
1436  if( o.mirror_y )
1437  item.MirrorHorizontal( wxPoint( 0, 0 ) );
1438  }
1439 }
LIB_ITEMS_CONTAINER & GetDrawItems()
Return a reference to the draw item list.
Definition: lib_symbol.h:473

References flag, LIB_SYMBOL::GetDrawItems(), SYM_MIRROR_X, SYM_MIRROR_Y, SYM_ORIENT_0, SYM_ORIENT_180, SYM_ORIENT_270, and SYM_ORIENT_90.

Referenced by KIGFX::SCH_PAINTER::draw().

◆ to_json()

void KIGFX::to_json ( nlohmann::json aJson,
const COLOR4D aColor 
)

Definition at line 271 of file color4d.cpp.

272 {
273  aJson = nlohmann::json( aColor.ToWxString( wxC2S_CSS_SYNTAX ).ToStdString() );
274 }
nlohmann::json json
Definition: gerbview.cpp:41

Variable Documentation

◆ COLOR_OFFSET

constexpr size_t KIGFX::COLOR_OFFSET = offsetof(VERTEX, r)
static

◆ COLOR_SIZE

constexpr size_t KIGFX::COLOR_SIZE = sizeof(VERTEX::r) + sizeof(VERTEX::g) + sizeof(VERTEX::b) + sizeof(VERTEX::a)
static

Definition at line 75 of file vertex_common.h.

◆ COLOR_STRIDE

constexpr size_t KIGFX::COLOR_STRIDE = COLOR_SIZE / sizeof(GLubyte)
static

◆ COORD_OFFSET

constexpr size_t KIGFX::COORD_OFFSET = offsetof(VERTEX, x)
static

Definition at line 70 of file vertex_common.h.

Referenced by KIGFX::GPU_CACHED_MANAGER::EndDrawing().

◆ COORD_SIZE

constexpr size_t KIGFX::COORD_SIZE = sizeof(VERTEX::x) + sizeof(VERTEX::y) + sizeof(VERTEX::z)
static

Definition at line 71 of file vertex_common.h.

◆ COORD_STRIDE

constexpr size_t KIGFX::COORD_STRIDE = COORD_SIZE / sizeof(GLfloat)
static

◆ INDEX_SIZE

constexpr size_t KIGFX::INDEX_SIZE = sizeof(GLuint)
static

Definition at line 83 of file vertex_common.h.

◆ SHADER_OFFSET

constexpr size_t KIGFX::SHADER_OFFSET = offsetof(VERTEX, shader)
static

◆ SHADER_SIZE

constexpr size_t KIGFX::SHADER_SIZE = sizeof(VERTEX::shader)
static

Definition at line 80 of file vertex_common.h.

◆ SHADER_STRIDE

constexpr size_t KIGFX::SHADER_STRIDE = SHADER_SIZE / sizeof(GLfloat)
static

◆ VERTEX_SIZE

◆ VERTEX_STRIDE

constexpr size_t KIGFX::VERTEX_STRIDE = VERTEX_SIZE / sizeof(GLfloat)
static

Definition at line 68 of file vertex_common.h.