commit: fix image size distortion visible in html export

From: Tomas Frydrych (
Date: Mon Apr 01 2002 - 09:43:14 EST

  • Next message: Dom Lachowicz: "Re: New Build Failure"

    I added two new methods to GR_Graphic: static
    s_getScreenResolution() which is used in ut_units for conversions
    from and to pixels, and setStaticScreenResolution(), which is used
    to set the resolution returned by the former.

    All derived graphic classes that do not have a hardcoded screen
    resolution, but rather obtain it from the system have to call the
    latter method in their constructor -- I have done this for Win32; on
    Unix this is not needed as resolution is hardcoded at 100.

    files: gr_Graphics.h/cpp, gr_Win32Graphics.cpp, ut_units.cpp


    This archive was generated by hypermail 2.1.4 : Mon Apr 01 2002 - 09:47:43 EST