commit: Fix image resizing.

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Feb 26 2002 - 02:13:52 GMT

  • Next message: Martin Sevior: "commit: Fix cut/copy/paste of reszied images."

    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/xap/unix/xap_UnixDlg_Image.cpp
    CVS: src/af/xap/unix/xap_UnixDlg_Image.h
    CVS: src/af/xap/xp/xap_Dlg_Image.cpp src/af/xap/xp/xap_Dlg_Image.h
    CVS: src/af/xap/xp/xap_String_Id.h src/text/fmt/xp/fg_Graphic.cpp
    CVS: src/text/fmt/xp/fg_Graphic.h
    CVS: src/text/fmt/xp/fg_GraphicRaster.cpp
    CVS: src/text/fmt/xp/fg_GraphicRaster.h
    CVS: src/text/fmt/xp/fg_GraphicVector.cpp
    CVS: src/text/fmt/xp/fg_GraphicVector.h
    CVS: src/text/fmt/xp/fl_BlockLayout.cpp src/text/fmt/xp/fp_Run.cpp
    CVS: src/text/fmt/xp/fp_Run.h src/wp/ap/xp/ap_EditMethods.cpp
    CVS: ----------------------------------------------------------------------
    Fix image reszie dialog. Also implemented "preserve aspect ratio".

    This builds on Dom and Hub's work by making a number of fixes
    around the code. The dialog now shows the size of the image in the
    users prefered dimensions and updates it correctly after apllying
    changes. It also does preserve aspect ratio by default through a
    simple checkbox.

    There is a fair bit of platform code but nothing too major. Lots of it is
    cut and paste from the Columns dialog.

    To resize an image right click on it. and choose "format image" from
    the context menu.

    This should be un-debugged for the next release.

    Enjoy our new feature :-)

    Martin



    This archive was generated by hypermail 2.1.4 : Mon Feb 25 2002 - 21:18:47 GMT