28#ifndef EASYPC_CLASSES_STYLES_H
29#define EASYPC_CLASSES_STYLES_H
One archive load stream; it owns every object it creates.
A loader coroutine. Awaiting one queues it on its archive's frame stack instead of nesting the call.
SPACING_ITEM
Item kind bits; a spacing key is (a << 16) | b.
constexpr char THERMAL_RULE_SET[]
A thermal rule set as SkipFields ops: owner, four thermal rules (owner and an int array),...
LAYER_USAGE
Layer usage bits.
@ LAYER_USAGE_NON_ELECTRICAL
@ LAYER_USAGE_SET
pseudo layer [All], [Top] or [Bottom]
LAYER_OVERSIZE_TYPE
How a layer type grows pads.
@ FIXED
not ABSOLUTE, which wingdi.h defines
PAD_SHAPE
Pad style shape, also the drill and exception shape.
Root of every deserialized object.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
SOURCE_ATTRIBUTE_NAME * AttributeName
The base of nearly every class.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
int ItemFormat(const ARCHIVE &aAr) const override
The version this object gates on; the base is the archive's current read format.
OBJECT * Attributes
attribute array
void LoadOldFormat(ARCHIVE &aAr, int &aFormat) const
An older item format, stored only while the format is still 0.
OBJECT * Parent
null is the document in a design, nothing in a library item
static void LoadFormatted(ARCHIVE &aAr, int &aFormat)
An item format, stored only from object schema 2, which governs what follows.
A list: owner tag, then the items.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
Item order is the physical stack order.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
A via span from top_layer to bottom_layer inclusive, in stack order.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
SOURCE_LAYER * BottomLayer
Layer type names determine silk, mask and paste roles.
bool SurfacePadInstancesEnabled
bool AllLayerPadInstancesEnabled
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
LAYER_OVERSIZE_TYPE OversizeType
std::unique_ptr< SOURCE_LAYER_TYPE > ConvertedType
The type made from type_name.
OBJECT * Net
net of a power plane
SOURCE_LAYER_TYPE * Type
null for the layer sets
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
int32_t EffectiveUsage() const
The usage of the layer's type, or its own for a layer set.
wxString TypeName
below v3000 the type is stored by name
OBJECT * Terminals
copper terminal array
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
SOURCE_PAD_STYLE * ViaStyle
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
SOURCE_TRACK_STYLE * TrackStyle1
the narrower of the two is the minimum width
SOURCE_TRACK_STYLE * TrackStyle2
int32_t Type
0 signal, 1 power
int32_t TentedVias
0 none, 1 all, 2 per via
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
OBJECT * Exceptions
pad style exception list
int32_t DrillCornerRadius
int32_t Length
Y extent for shapes that have one.
values maps (a << 16) | b of SPACING_ITEM bits to a clearance
std::map< int32_t, int32_t > Values
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
OBJECT * Font
type or barcode font, or null for the stroke font
int32_t Height
the accessor is GetWidth but it is the text height
int32_t InterlineHeightPercent
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
A TrueType font, which the importers cannot measure.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.