KiCad PCB EDA Suite
PART_DRAW_OPTIONS Struct Reference

#include <class_libentry.h>

Static Public Member Functions

static PART_DRAW_OPTIONS Default ()
 

Public Attributes

TRANSFORM transform
 Coordinate adjustment settings. More...
 
bool draw_visible_fields
 Whether to draw "visible" fields. More...
 
bool draw_hidden_fields
 Whether to draw "hidden" fields. More...
 
bool show_elec_type
 Whether to show the pin electrical type. More...
 

Detailed Description

Definition at line 66 of file class_libentry.h.

Member Function Documentation

◆ Default()

static PART_DRAW_OPTIONS PART_DRAW_OPTIONS::Default ( )
inlinestatic

Definition at line 73 of file class_libentry.h.

74  {
77  def.draw_visible_fields = true;
78  def.draw_hidden_fields = true;
79  def.show_elec_type = false;
80  return def;
81  }
TRANSFORM DefaultTransform
bool draw_hidden_fields
Whether to draw "hidden" fields.
bool show_elec_type
Whether to show the pin electrical type.
bool draw_visible_fields
Whether to draw "visible" fields.
TRANSFORM transform
Coordinate adjustment settings.

References DefaultTransform, draw_hidden_fields, draw_visible_fields, show_elec_type, and transform.

Referenced by DIALOG_LIB_EDIT_PIN::OnPaintShowPanel(), SCH_COMPONENT::Print(), and LIB_EDIT_FRAME::PrintPage().

Member Data Documentation

◆ draw_hidden_fields

bool PART_DRAW_OPTIONS::draw_hidden_fields

Whether to draw "hidden" fields.

Definition at line 70 of file class_libentry.h.

Referenced by Default(), DIALOG_LIB_EDIT_PIN::OnPaintShowPanel(), LIB_PIN::print(), and LIB_PART::Print().

◆ draw_visible_fields

bool PART_DRAW_OPTIONS::draw_visible_fields

Whether to draw "visible" fields.

Definition at line 69 of file class_libentry.h.

Referenced by Default(), and LIB_PART::Print().

◆ show_elec_type

bool PART_DRAW_OPTIONS::show_elec_type

Whether to show the pin electrical type.

Definition at line 71 of file class_libentry.h.

Referenced by Default(), and LIB_PIN::print().

◆ transform

TRANSFORM PART_DRAW_OPTIONS::transform

Coordinate adjustment settings.

Definition at line 68 of file class_libentry.h.

Referenced by Default(), and LIB_PART::Print().


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