plot2d ~master (2018-04-16T18:21:42Z)
Dub
Repo
Trtor.toCh
plot2d
trtor
Trtor
transform coord from drawing area to chart
Point
toCh
(
double
x
,
double
y
)
class
Trtor
const pure nothrow @
nogc
@
safe
Point
toCh
(
double
x
,
double
y
)
Point
toCh
(
Point
p
)
double
toChX
(
double
x
)
double
toChY
(
double
y
)
Meta
Source
See Implementation
plot2d
trtor
Trtor
constructors
this
functions
calcScale
correctGridOffset
optimizeGridStep
recalc
recalcOffset
setSMPV
toCh
toChX
toChY
toDA
toDAX
toDAY
properties
gridOffset
gridStep
inMargin
inPadding
margin
offset
padding
scale
size
viewport
static functions
roundStepFunc
variables
calcXGridStep
calcYGridStep
transform coord from drawing area to chart