class DrawableImage
Description
This class encapsulates all of the features common to proxy nodes which need
to display images. This includes the
Image2DProxy,
Movie2DProxy and the
Background2DProxy nodes.
Proxy class hierarchy
DrawableImage
: DrawableNode
: Traversable
Implementation details
The DrawableImage class provides an implementation of the methods
derived from the DrawableNode and Traversable classes, which
are common to nodes which read images from the media decoders. As expected, the
Print() is not implemented. Derived classes can still override these
implementations if they need to, as is the case with the
Background2d node.
It is important to note that DrawableImage::PreRender() does not call
DrawableNode::UpdateBoundingRect(). This is left to the deriving class,
as it may need to change the bounding rectangle before registering the new
dimensions.