From: Martin Sevior (msevior@seviorpc.ph.unimelb.edu.au)
Date: Wed Oct 01 2003 - 22:46:34 EDT
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/gr/unix/gr_UnixImage.cpp src/af/gr/xp/gr_Graphics.cpp
CVS: src/text/fmt/xp/fg_Graphic.cpp 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_SectionLayout.cpp
CVS: src/text/fmt/xp/fl_SectionLayout.h
CVS: src/text/fmt/xp/fp_ContainerObject.cpp
CVS: src/text/fmt/xp/fp_ContainerObject.h
CVS: src/text/fmt/xp/fp_FootnoteContainer.cpp
CVS: src/text/fmt/xp/fp_Page.cpp src/text/fmt/xp/fp_Run.cpp
CVS: src/text/fmt/xp/fv_View.h src/text/fmt/xp/fv_View_cmd.cpp
CVS: src/wp/ap/xp/ap_EditMethods.cpp
CVS: src/wp/ap/xp/ap_Menu_ActionSet.cpp
CVS: src/wp/ap/xp/ap_Menu_Id_List.h
CVS: src/wp/ap/xp/ap_Menu_Layouts_MainMenu.h
CVS: src/wp/ap/xp/ap_String_Id.h
CVS:
----------------------------------------------------------------------
Set background images to pages. Can type on top of images. Not perfect
but the basis is there now.
In particular TAB runs screw things up. I will fix this soon.
Also the current implementation is very inefficient. Each page gets own
huge image. I will fix this also.
You can get this out by selecting Format->page background->page image in
the menu structure.
Windows and other platform developers will need to implement two new
methods on their platform.
GR_Graphics::fillRect(GR_Image *, UT_Rect & src, UT_Rect & dest)
and
GR_Image::scaleTo(GR_Graphics *, UT_Rect & size)
Their are nice comments in the code in these classes as to what these
methods should do.
Cheers
Martin
(Enjoy our new feature :-)
This archive was generated by hypermail 2.1.4 : Wed Oct 01 2003 - 22:00:37 EDT