Another new variable and method.

From: <msevior_at_physics.unimelb.edu.au>
Date: Wed May 02 2007 - 14:20:03 CEST

Hi everyone,
            I'd like to implment a new member variable for FV_View.
GR_Image * m_pBackingImage

This variable holds a pointer to a GR_Image of the currently drawn page.
If this variable is non-null, a call to FV_View::draw redraws this image.
I need this to handle expose events on the presentation program.

It may also be useful as a way to improve performance for visual drags of
images and text since the graphics class need only blit the image inside
the espose rectangle to screen rather than redraw the whole screen.

My plan is for FV_View to own m_pBackingImage so that a call to
FV_View::setBackingImage(GR_Image * pImage)
{
DELETEP(m_pBackingImage)
Received on Wed May 2 14:19:15 2007

This archive was generated by hypermail 2.1.8 : Wed May 02 2007 - 14:19:15 CEST