scale_get_tick_points() function
Get points for ticks In order to draw ticks we need two points, this interface returns both points for all scale modes.
Arguments
obj
pointer to a scale object
tick_idx
index of the current tick
is_major_tick
true if tick_idx is a major tick
tick_point_a
pointer to point 'a' of the tick
tick_point_b
pointer to point 'b' of the tick