19 const int mLength = context.
mLength;
26 for (
int ii = 0; ii < 3; ii++) {
30 wxFont font = (ii == 0) ? mFonts.
major :
34 int numLabel = labs.size();
36 for (
int i = 0; (i < numLabel) && (i <= mLength); ++i)
virtual bool TickCustom(wxDC &dc, int labelIdx, wxFont font, TickOutputs outputs, const RulerStruct &context) const =0
RulerUpdater::Labels mMajorLabels
~CustomUpdater() override
RulerUpdater::Labels mMinorLabels
RulerUpdater::Labels mMinorMinorLabels
void Update(wxDC &dc, const Envelope *envelope, UpdateOutputs &allOutputs, const RulerStruct &context) const final
Piecewise linear or piecewise exponential function from double to double.
std::vector< Label > Labels
void BoxAdjust(UpdateOutputs &allOutputs, const RulerStruct &context) const
std::unique_ptr< Fonts > mpFonts
Labels & minorMinorLabels