KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIPTRACE::DCH_SHAPE Struct Reference

A graphical shape primitive (polyline) in a component. More...

#include <diptrace_sch_parser.h>

Public Attributes

uint8_t flags [3] = {}
 
int shapeField = 0
 
int lineWidth = 0
 
std::vector< VECTOR2Ipoints
 Points in DipTrace coord units.
 
int fontX = 0
 
int fontY = 0
 
int kindCode = 0
 Leading kind int3: 1 line, 3 arrow, 4 rect, 6 obround, 8 filled polygon, 9 outline polygon/polyline.
 
int kindFlag = 0
 Leading kind int3; observed 0 for decoded drawing shapes.
 

Detailed Description

A graphical shape primitive (polyline) in a component.

Definition at line 106 of file diptrace_sch_parser.h.

Member Data Documentation

◆ flags

uint8_t DIPTRACE::DCH_SHAPE::flags[3] = {}

Definition at line 108 of file diptrace_sch_parser.h.

Referenced by DIPTRACE::SCH_PARSER::parseShape().

◆ fontX

int DIPTRACE::DCH_SHAPE::fontX = 0

◆ fontY

int DIPTRACE::DCH_SHAPE::fontY = 0

◆ kindCode

int DIPTRACE::DCH_SHAPE::kindCode = 0

Leading kind int3: 1 line, 3 arrow, 4 rect, 6 obround, 8 filled polygon, 9 outline polygon/polyline.

Definition at line 116 of file diptrace_sch_parser.h.

Referenced by makeDipTraceShape(), DIPTRACE::SCH_PARSER::parseFontBearingShape(), and DIPTRACE::SCH_PARSER::parseShape().

◆ kindFlag

int DIPTRACE::DCH_SHAPE::kindFlag = 0

Leading kind int3; observed 0 for decoded drawing shapes.

Definition at line 118 of file diptrace_sch_parser.h.

Referenced by makeDipTraceShape(), DIPTRACE::SCH_PARSER::parseFontBearingShape(), and DIPTRACE::SCH_PARSER::parseShape().

◆ lineWidth

int DIPTRACE::DCH_SHAPE::lineWidth = 0

◆ points

std::vector<VECTOR2I> DIPTRACE::DCH_SHAPE::points

Points in DipTrace coord units.

Definition at line 111 of file diptrace_sch_parser.h.

Referenced by makeDipTraceShape(), DIPTRACE::SCH_PARSER::parseFontBearingShape(), and DIPTRACE::SCH_PARSER::parseShape().

◆ shapeField

int DIPTRACE::DCH_SHAPE::shapeField = 0

The documentation for this struct was generated from the following file: