KiCad PCB EDA Suite
KIGFX Namespace Reference

Class CAIRO_GAL is the cairo implementation of the graphics abstraction layer. More...

Namespaces

 BUILTIN_FONT
 
 BUILTIN_SHADERS
 
 DETAIL
 
 PREVIEW
 

Classes

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  COLOR4D
 Class COLOR4D is the color representation with 4 components: red, green, blue, alpha. More...
 
class  COMPOSITOR
 
class  GAL
 Class GAL is the abstract interface for drawing on a 2D-surface. More...
 
class  GAL_CONTEXT_LOCKER
 
class  GAL_DISPLAY_OPTIONS
 
class  GAL_DISPLAY_OPTIONS_OBSERVER
 
class  GERBVIEW_PAINTER
 Class GERBVIEW_PAINTER Contains methods for drawing GerbView-specific items. More...
 
class  GERBVIEW_RENDER_SETTINGS
 Class GERBVIEW_RENDER_SETTINGS Stores 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
 Class OpenGL_GAL is the OpenGL implementation of the Graphics Abstraction Layer. More...
 
class  OPENGL_PRESENTOR
 
class  ORIGIN_VIEWITEM
 
class  PAINTER
 Class PAINTER contains all the knowledge about how to draw graphical object onto any particular output device. More...
 
class  PCB_PAINTER
 Class PCB_PAINTER Contains methods for drawing PCB-specific items. More...
 
class  PCB_RENDER_SETTINGS
 Class PCB_RENDER_SETTINGS Stores PCB specific render settings. More...
 
class  PCB_VIEW
 
struct  queryVisitor
 
class  RATSNEST_VIEWITEM
 
class  RENDER_SETTINGS
 Class RENDER_SETTINGS Contains all the knowledge about how graphical objects are drawn on any output surface/device. More...
 
class  SCH_PAINTER
 Class SCH_PAINTER Contains methods for drawing schematic-specific items. More...
 
class  SCH_RENDER_SETTINGS
 Class SCH_RENDER_SETTINGS Stores schematic-specific render settings. More...
 
class  SCH_VIEW
 
class  SHADER
 Class SHADER provides the access to the OpenGL shaders. More...
 
class  STROKE_FONT
 Class STROKE_FONT implements stroke font drawing. More...
 
struct  VC_SETTINGS
 

Structure to keep VIEW_CONTROLS settings for easy store/restore operations

More...
 
struct  VERTEX
 

Data structure for vertices {X,Y,Z,R,G,B,A,shader&param}

More...
 
class  VERTEX_CONTAINER
 
class  VERTEX_ITEM
 
class  VERTEX_MANAGER
 
class  VIEW
 Class VIEW. More...
 
class  VIEW_CONTROLS
 Class VIEW_CONTROLS is an interface for classes handling user events controlling the view behaviour (such as zooming, panning, mouse grab, etc.) More...
 
class  VIEW_GROUP
 
class  VIEW_ITEM
 Class VIEW_ITEM - is 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
 Class VIEW_RTREE - Implements an R-tree for fast spatial indexing of VIEW items. More...
 
class  WORKSHEET_VIEWITEM
 
class  WX_VIEW_CONTROLS
 Class WX_VIEW_CONTROLS is a specific implementation of class VIEW_CONTROLS for wxWidgets library. More...
 

Typedefs

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

Enumerations

enum  SUPERSAMPLING_MODE { SUPERSAMPLING_MODE::X2, SUPERSAMPLING_MODE::X4 }
 
enum  SMAA_QUALITY { SMAA_QUALITY::HIGH, SMAA_QUALITY::ULTRA }
 
enum  RENDER_TARGET { TARGET_CACHED = 0, TARGET_NONCACHED, TARGET_OVERLAY, 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::SUBSAMPLE_HIGH, OPENGL_ANTIALIASING_MODE::SUBSAMPLE_ULTRA, OPENGL_ANTIALIASING_MODE::SUPERSAMPLING_X2,
  OPENGL_ANTIALIASING_MODE::SUPERSAMPLING_X4
}
 
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, APPEARANCE = 0x01, COLOR = 0x02,
  GEOMETRY = 0x04, LAYERS = 0x08, INITIAL_ADD = 0x10, REPAINT = 0x20,
  ALL = 0xef
}
 Enum VIEW_UPDATE_FLAGS. More...
 
enum  VIEW_VISIBILITY_FLAGS { VISIBLE = 0x01, HIDDEN = 0x02 }
 Enum VIEW_VISIBILITY_FLAGS. More...
 

Functions

static COLOR4D selectedBrightening (const COLOR4D &aColor)
 
static LIB_PARTdummy ()
 Used when a LIB_PART is not found in library to draw a dummy shape. More...
 
static VECTOR2D mapCoords (const wxPoint &aCoord)
 
static int InternalPinDecoSize (const LIB_PIN &aPin)
 
static int ExternalPinDecoSize (const LIB_PIN &aPin)
 
static void drawPinDanglingSymbol (GAL *aGal, const VECTOR2I &aPos, const COLOR4D &aColor)
 
static void drawDanglingSymbol (GAL *aGal, const wxPoint &aPos)
 
static void orientComponent (LIB_PART *part, int orientation)
 
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...
 
std::ostream & operator<< (std::ostream &aStream, COLOR4D const &aColor)
 Syntactic sugar for outputting colors to strings. More...
 

Variables

static const LAYER_NUM SCH_LAYER_ORDER []
 
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

Class CAIRO_GAL is the cairo implementation of the graphics abstraction layer.

Class ORIGIN_VIEWITEM.

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.

View item to draw an origin marker.

Typedef Documentation

typedef std::deque< std::deque<VECTOR2D> > KIGFX::GLYPH

Definition at line 43 of file stroke_font.h.

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

Definition at line 46 of file stroke_font.h.

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

Definition at line 34 of file view_rtree.h.

Enumeration Type Documentation

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 37 of file gal_display_options.h.

38  {
39  DOTS,
40  LINES,
42  };
Use lines for the grid.
Use dots for the grid.
Use small cross instead of dots for the grid.

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)

TARGETS_NUMBER 

Number of available rendering targets.

Definition at line 39 of file definitions.h.

40 {
41  TARGET_CACHED = 0,
45 };
Number of available rendering targets.
Definition: definitions.h:44
Auxiliary rendering target (noncached)
Definition: definitions.h:42
Items that may change while the view stays the same (noncached)
Definition: definitions.h:43
Main rendering target (cached)
Definition: definitions.h:41

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 41 of file vertex_common.h.

Type definition for the shader.

Enumerator
SHADER_TYPE_VERTEX 

Vertex shader.

SHADER_TYPE_FRAGMENT 

Fragment shader.

SHADER_TYPE_GEOMETRY 

Geometry shader.

Definition at line 42 of file shader.h.

43 {
44  SHADER_TYPE_VERTEX = GL_VERTEX_SHADER,
45  SHADER_TYPE_FRAGMENT = GL_FRAGMENT_SHADER,
46  SHADER_TYPE_GEOMETRY = GL_GEOMETRY_SHADER
47 };
Fragment shader.
Definition: shader.h:45
Vertex shader.
Definition: shader.h:44
Geometry shader.
Definition: shader.h:46
enum KIGFX::SMAA_QUALITY
strong
Enumerator
HIGH 
ULTRA 

Definition at line 105 of file antialiasing.h.

Enumerator
X2 
X4 

Definition at line 73 of file antialiasing.h.

Enum VIEW_UPDATE_FLAGS.

Defines the how severely the shape/appearance of the item has been changed:

  • NONE: TODO
  • APPEARANCE: shape or layer set of the item have not been affected, only colors or visibility.
  • COLOR:
  • GEOMETRY: shape or layer set of the item have changed, VIEW may need to reindex it.
  • LAYERS: TODO
  • ALL: all the flags above
Enumerator
NONE 
NONE 
APPEARANCE 

No updates are required.

COLOR 

Visibility flag has changed.

GEOMETRY 

Color has changed.

LAYERS 

Position or shape has changed.

INITIAL_ADD 

Layers have changed.

REPAINT 

Item is being added to the view.

ALL 

Item needs to be redrawn.

Definition at line 53 of file view_item.h.

53  {
54  NONE = 0x00,
55  APPEARANCE = 0x01,
56  COLOR = 0x02,
57  GEOMETRY = 0x04,
58  LAYERS = 0x08,
59  INITIAL_ADD = 0x10,
60  REPAINT = 0x20,
61  ALL = 0xef
62 };
Layers have changed.
Definition: view_item.h:59
No updates are required.
Definition: view_item.h:55
Visibility flag has changed.
Definition: view_item.h:56
Item is being added to the view.
Definition: view_item.h:60
Definition: hash_eda.h:46
Position or shape has changed.
Definition: view_item.h:58
Color has changed.
Definition: view_item.h:57

Enum VIEW_VISIBILITY_FLAGS.

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

Enumerator
VISIBLE 
HIDDEN 

Item is visible (in general)

Definition at line 68 of file view_item.h.

68  {
69  VISIBLE = 0x01,
70  HIDDEN = 0x02
71 };
Item is visible (in general)
Definition: view_item.h:70

Function Documentation

static void KIGFX::drawDanglingSymbol ( GAL aGal,
const wxPoint aPos 
)
static

Definition at line 873 of file sch_painter.cpp.

References DANGLING_SYMBOL_SIZE, KIGFX::GAL::DrawRectangle(), KIGFX::GAL::SetIsFill(), KIGFX::GAL::SetIsStroke(), and KIGFX::GAL::SetLineWidth().

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

874 {
876 
877  aGal->SetIsStroke( true );
878  aGal->SetIsFill( false );
879  aGal->SetLineWidth ( 1.0 );
880 
881  aGal->DrawRectangle( aPos - radius, aPos + radius );
882 }
#define DANGLING_SYMBOL_SIZE
Definition: general.h:43
static void KIGFX::drawPinDanglingSymbol ( GAL aGal,
const VECTOR2I aPos,
const COLOR4D aColor 
)
static

Definition at line 505 of file sch_painter.cpp.

References KIGFX::GAL::DrawCircle(), KIGFX::GAL::SetIsFill(), KIGFX::GAL::SetIsStroke(), KIGFX::GAL::SetLineWidth(), KIGFX::GAL::SetStrokeColor(), and TARGET_PIN_RADIUS.

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

506 {
507  aGal->SetIsStroke( true );
508  aGal->SetIsFill( false );
509  aGal->SetStrokeColor( aColor );
510 
511  aGal->SetLineWidth ( 1.0 );
512  aGal->DrawCircle( aPos, TARGET_PIN_RADIUS );
513 }
#define TARGET_PIN_RADIUS
Definition: lib_pin.h:43
static LIB_PART* KIGFX::dummy ( )
static

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

This component 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 105 of file sch_painter.cpp.

References LIB_PART::AddDrawItem(), LIB_RECTANGLE::Move(), LIB_RECTANGLE::SetEndPosition(), LIB_TEXT::SetText(), and EDA_TEXT::SetTextSize().

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

106 {
107  static LIB_PART* part;
108 
109  if( !part )
110  {
111  part = new LIB_PART( wxEmptyString );
112 
113  LIB_RECTANGLE* square = new LIB_RECTANGLE( part );
114 
115  square->Move( wxPoint( -200, 200 ) );
116  square->SetEndPosition( wxPoint( 200, -200 ) );
117 
118  LIB_TEXT* text = new LIB_TEXT( part );
119 
120  text->SetTextSize( wxSize( 150, 150 ) );
121  text->SetText( wxString( wxT( "??" ) ) );
122 
123  part->AddDrawItem( square );
124  part->AddDrawItem( text );
125  }
126 
127  return part;
128 }
Define a symbol library graphical text item.
Definition: lib_text.h:44
void SetTextSize(const wxSize &aNewSize)
Definition: eda_text.h:227
void AddDrawItem(LIB_ITEM *aItem)
Add a new draw aItem to the draw object list.
Define a library symbol object.
void SetEndPosition(const wxPoint &aPosition)
Definition: lib_rectangle.h:67
void Move(const wxPoint &aPosition) override
Move a draw object to aPosition.
void SetText(const wxString &aText) override
Sets the text item string to aText.
Definition: lib_text.cpp:343
static int KIGFX::ExternalPinDecoSize ( const LIB_PIN aPin)
static

Definition at line 497 of file sch_painter.cpp.

References LIB_PIN::GetNumberTextSize().

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

498 {
499  return aPin.GetNumberTextSize() / 2;
500 }
int GetNumberTextSize() const
Definition: lib_pin.h:219
static int KIGFX::InternalPinDecoSize ( const LIB_PIN aPin)
static

Definition at line 489 of file sch_painter.cpp.

References LIB_PIN::GetNameTextSize(), and LIB_PIN::GetNumberTextSize().

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

490 {
491  return aPin.GetNameTextSize() != 0 ? aPin.GetNameTextSize() / 2 : aPin.GetNumberTextSize() / 2;
492 }
int GetNameTextSize() const
Definition: lib_pin.h:192
int GetNumberTextSize() const
Definition: lib_pin.h:219
static VECTOR2D KIGFX::mapCoords ( const wxPoint aCoord)
static

Definition at line 274 of file sch_painter.cpp.

References wxPoint::x, and wxPoint::y.

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

275 {
276  return VECTOR2D( aCoord.x, -aCoord.y );
277 }
VECTOR2< double > VECTOR2D
Definition: vector2d.h:586
const bool KIGFX::operator!= ( const COLOR4D lhs,
const COLOR4D rhs 
)

Not equality operator, are two colors not equal.

Definition at line 259 of file color4d.cpp.

260 {
261  return !( lhs == rhs );
262 }
std::ostream & KIGFX::operator<< ( std::ostream &  aStream,
COLOR4D const &  aColor 
)

Syntactic sugar for outputting colors to strings.

Definition at line 264 of file color4d.cpp.

Referenced by EDA_ITEM::GetMenuImage().

265 {
266  return aStream << aColor.ToWxString( wxC2S_CSS_SYNTAX );
267 }
const bool KIGFX::operator== ( const COLOR4D lhs,
const COLOR4D rhs 
)

Equality operator, are two colors equal.

Definition at line 253 of file color4d.cpp.

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

254 {
255  return lhs.a == rhs.a && lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b;
256 }
double g
Green component.
Definition: color4d.h:292
double b
Blue component.
Definition: color4d.h:293
double a
Alpha component.
Definition: color4d.h:294
double r
Red component.
Definition: color4d.h:291
static void KIGFX::orientComponent ( LIB_PART part,
int  orientation 
)
static

Definition at line 1022 of file sch_painter.cpp.

References CMP_MIRROR_X, CMP_MIRROR_Y, CMP_ORIENT_0, CMP_ORIENT_180, CMP_ORIENT_270, CMP_ORIENT_90, LIB_PART::GetDrawItems(), and i.

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

1023 {
1024  struct ORIENT
1025  {
1026  int flag;
1027  int n_rots;
1028  int mirror_x;
1029  int mirror_y;
1030  }
1031  orientations[] =
1032  {
1033  { CMP_ORIENT_0, 0, 0, 0 },
1034  { CMP_ORIENT_90, 1, 0, 0 },
1035  { CMP_ORIENT_180, 2, 0, 0 },
1036  { CMP_ORIENT_270, 3, 0, 0 },
1037  { CMP_MIRROR_X + CMP_ORIENT_0, 0, 1, 0 },
1038  { CMP_MIRROR_X + CMP_ORIENT_90, 1, 1, 0 },
1039  { CMP_MIRROR_Y, 0, 0, 1 },
1040  { CMP_MIRROR_X + CMP_ORIENT_270, 3, 1, 0 },
1041  { CMP_MIRROR_Y + CMP_ORIENT_0, 0, 0, 1 },
1042  { CMP_MIRROR_Y + CMP_ORIENT_90, 1, 0, 1 },
1043  { CMP_MIRROR_Y + CMP_ORIENT_180, 2, 0, 1 },
1044  { CMP_MIRROR_Y + CMP_ORIENT_270, 3, 0, 1 }
1045  };
1046 
1047  ORIENT o = orientations[ 0 ];
1048 
1049  for( auto& i : orientations )
1050  {
1051  if( i.flag == orientation )
1052  {
1053  o = i;
1054  break;
1055  }
1056  }
1057 
1058  for( auto& item : part->GetDrawItems() )
1059  {
1060  for( int i = 0; i < o.n_rots; i++ )
1061  item.Rotate( wxPoint(0, 0 ), true );
1062 
1063  if( o.mirror_x )
1064  item.MirrorVertical( wxPoint( 0, 0 ) );
1065 
1066  if( o.mirror_y )
1067  item.MirrorHorizontal( wxPoint( 0, 0 ) );
1068  }
1069 }
LIB_ITEMS_CONTAINER & GetDrawItems()
Return a reference to the draw item list.
size_t i
Definition: json11.cpp:597
static COLOR4D KIGFX::selectedBrightening ( const COLOR4D aColor)
static

Definition at line 87 of file sch_painter.cpp.

References KIGFX::COLOR4D::Brightened().

Referenced by KIGFX::SCH_PAINTER::draw(), and KIGFX::SCH_PAINTER::setColors().

88 {
89  return aColor.Brightened( 0.5 );
90 }
COLOR4D Brightened(double aFactor) const
Function Brightened Returns a color that is brighter by a given factor, without modifying object...
Definition: color4d.h:205

Variable Documentation

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

Definition at line 71 of file vertex_common.h.

constexpr size_t KIGFX::COLOR_STRIDE = COLOR_SIZE / sizeof(GLubyte)
static
constexpr size_t KIGFX::COORD_OFFSET = offsetof(VERTEX, x)
static

Definition at line 66 of file vertex_common.h.

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

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

Definition at line 67 of file vertex_common.h.

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

Definition at line 79 of file vertex_common.h.

const LAYER_NUM KIGFX::SCH_LAYER_ORDER[]
static
Initial value:

Definition at line 55 of file sch_view.cpp.

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

Definition at line 76 of file vertex_common.h.

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

Definition at line 64 of file vertex_common.h.