KiCad PCB EDA Suite
TICK_FORMAT Struct Reference

Description of a "tick format" for a scale factor - how many ticks there are between medium/major ticks and how each scale relates to the last one. More...

Public Attributes

double divisionBase
 
int majorStep
 

multiple from the last scale

More...
 
int midStep
 

ticks between major ticks

More...
 

Detailed Description

Description of a "tick format" for a scale factor - how many ticks there are between medium/major ticks and how each scale relates to the last one.

Definition at line 67 of file ruler_item.cpp.

Member Data Documentation

double TICK_FORMAT::divisionBase

Definition at line 69 of file ruler_item.cpp.

Referenced by getTickFormatForScale().

int TICK_FORMAT::majorStep

multiple from the last scale

Definition at line 70 of file ruler_item.cpp.

Referenced by drawTicksAlongLine().

int TICK_FORMAT::midStep

ticks between major ticks

Definition at line 71 of file ruler_item.cpp.

Referenced by drawTicksAlongLine().


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