Like to implement GR_Image * m_pBackingImage in FV_View

From: <msevior_at_physics.unimelb.edu.au>
Date: Wed May 02 2007 - 15:18:49 CEST

Hi everyone,
            I'd like to implement a new member variable for FV_View. It's
a GR_Image * m_pBackingImage. It's a pointer to an image of
the currently drawn page. FV_View will own the image and is
responsible for deleting it.

The idea is that if m_pBackingImage is ever non-NULL it is drawn wheneveer
the FV_View::Draw(..) methods are called. This will enable the regular
expose methods to work if we are doing fancy page animations. Expose
events are generated from context menu's during a presentation. In this
case a clip is set over the expose area and the image in the rectangle is
blitted to the screen.

We may also use m_pBackingImage for visual drag of images and text instead
of doing a page redraw. It should be substantially faster and so give
better results. However the main use and immediate use is to handle expose
events from whole page drawings.

What people's opinions?

Cheers

Martin
Received on Wed May 2 15:17:54 2007

This archive was generated by hypermail 2.1.8 : Wed May 02 2007 - 15:17:54 CEST