commit (HEAD): rulers

From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Fri Nov 14 2003 - 19:29:15 EST

  • Next message: Pierre Abbat: "Re: Valencian version and one more question"

    do not change size of numbers on rulers with zoom

    I have done the xp and win32 work, adding two new methods to
    GR_Graphics:
        void setDoNotZoomText(bool) and
          bool getDoNotZoomText()

    the code in derived graphics classes that loads actual font into
    device context should test getDoNotZoomText() and ignore zoom factor
    when calculating actual font size when true.

    files: gr_Graphics.h/cpp, gr_Win32Graphics.h/cpp, ap_LeftRuler.cpp,
    ap_TopRuler.cpp

    Tomas



    This archive was generated by hypermail 2.1.4 : Fri Nov 14 2003 - 19:30:37 EST