|
KiCad PCB EDA Suite
|
Specifies the position and size of a field overlaid on a constraint bitmap. More...
#include <drc_re_overlay_types.h>
Public Member Functions | |
| DRC_RE_FIELD_POSITION () | |
| DRC_RE_FIELD_POSITION (int aXStart, int aXEnd, int aYCenter, const wxString &aLabelText=wxEmptyString, LABEL_POSITION aLabelPos=LABEL_POSITION::NONE, const wxString &aPrefixText=wxEmptyString) | |
Public Attributes | |
| int | xStart |
| Left edge X coordinate where the field starts. | |
| int | xEnd |
| Right edge X coordinate where the field ends. | |
| int | yCenter |
| Vertical center Y coordinate of the field. | |
| wxString | labelText |
| Optional label text (empty for no label) | |
| LABEL_POSITION | labelPosition |
| Position of label relative to field. | |
| wxString | prefixText |
| Optional text placed on the left. | |
Specifies the position and size of a field overlaid on a constraint bitmap.
All coordinates are in 1x bitmap pixels. When the system selects a higher-resolution bitmap (1.5x or 2x), these values are automatically scaled at runtime.
yCenter is the vertical center of the field.
Definition at line 47 of file drc_re_overlay_types.h.
|
inline |
Definition at line 57 of file drc_re_overlay_types.h.
References labelPosition, labelText, NONE, prefixText, xEnd, xStart, and yCenter.
|
inline |
Definition at line 67 of file drc_re_overlay_types.h.
References labelPosition, labelText, NONE, prefixText, xEnd, xStart, and yCenter.
| LABEL_POSITION DRC_RE_FIELD_POSITION::labelPosition |
Position of label relative to field.
Definition at line 54 of file drc_re_overlay_types.h.
Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::AddCheckbox(), DRC_RE_FIELD_POSITION(), DRC_RE_FIELD_POSITION(), and DRC_RE_BITMAP_OVERLAY_PANEL::PositionLabel().
| wxString DRC_RE_FIELD_POSITION::labelText |
Optional label text (empty for no label)
Definition at line 53 of file drc_re_overlay_types.h.
Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::AddCheckbox(), DRC_RE_FIELD_POSITION(), and DRC_RE_FIELD_POSITION().
| wxString DRC_RE_FIELD_POSITION::prefixText |
Optional text placed on the left.
Definition at line 55 of file drc_re_overlay_types.h.
Referenced by DRC_RE_FIELD_POSITION(), and DRC_RE_FIELD_POSITION().
| int DRC_RE_FIELD_POSITION::xEnd |
Right edge X coordinate where the field ends.
Definition at line 50 of file drc_re_overlay_types.h.
Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::AddControl(), DRC_RE_FIELD_POSITION(), DRC_RE_FIELD_POSITION(), and DRC_RE_BITMAP_OVERLAY_PANEL::PositionFields().
| int DRC_RE_FIELD_POSITION::xStart |
Left edge X coordinate where the field starts.
Definition at line 49 of file drc_re_overlay_types.h.
Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::AddControl(), DRC_RE_FIELD_POSITION(), DRC_RE_FIELD_POSITION(), and DRC_RE_BITMAP_OVERLAY_PANEL::PositionFields().
| int DRC_RE_FIELD_POSITION::yCenter |
Vertical center Y coordinate of the field.
Definition at line 51 of file drc_re_overlay_types.h.
Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::AddControl(), DRC_RE_FIELD_POSITION(), DRC_RE_FIELD_POSITION(), and DRC_RE_BITMAP_OVERLAY_PANEL::PositionFields().