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
 multiple from the last scale More...
 
int majorStep
 ticks between major ticks More...
 
int midStep
 ticks between medium ticks (0 if no medium 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 99 of file ruler_item.cpp.

Member Data Documentation

◆ divisionBase

double TICK_FORMAT::divisionBase

multiple from the last scale

Definition at line 101 of file ruler_item.cpp.

Referenced by getTickFormatForScale().

◆ majorStep

int TICK_FORMAT::majorStep

ticks between major ticks

Definition at line 102 of file ruler_item.cpp.

Referenced by drawTicksAlongLine().

◆ midStep

int TICK_FORMAT::midStep

ticks between medium ticks (0 if no medium ticks)

Definition at line 103 of file ruler_item.cpp.

Referenced by drawTicksAlongLine().


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