casa
$Rev:20696$
|
Default WorldCanvas SizeControl handler. More...
#include <DefaultWCSizeControlHandler.h>
Public Member Functions | |
DefaultWCSizeControlHandler () | |
Default Constructor Required. | |
virtual Bool | executeSizeControl (WorldCanvas *wc) |
apply modifies the world canvas parameters through the passed pointer. | |
virtual | ~DefaultWCSizeControlHandler () |
Destructor. |
Default WorldCanvas SizeControl handler.
DefaultWCSizeControlHandler - Default WorldCanvas Size Control Handler.
This class implements default functionality for the size control handler that the WorldCanvas creates for itself when the WorldCanvas constructor is called.
Presently the default size control handler does nothing, relying on the WCResampleHandler to fit output images to the screen pixel array when images are supposed to be drawn.
Wanted to have default functionality for this to make it easier on the user of this class and to avoid having to check all the time in the WorldCanvas to see if a size control handler has been registered.
Definition at line 72 of file DefaultWCSizeControlHandler.h.
Default Constructor Required.
virtual casa::DefaultWCSizeControlHandler::~DefaultWCSizeControlHandler | ( | ) | [virtual] |
Destructor.
virtual Bool casa::DefaultWCSizeControlHandler::executeSizeControl | ( | WorldCanvas * | wc | ) | [virtual] |
apply modifies the world canvas parameters through the passed pointer.
Implements casa::WCSizeControlHandler.