drawer.h File Reference

the a2dCanvasView is a a2dView specially designed for displaying parts of a a2dCanvasDocument. It uses a a2dDrawer2D to actually redraw things from the document, by giving that a2dDrawer2D as drawing context to the document, and telling the document to redraw a certain rectangular area. At that last is what this class is for. It optimizes the areas to be redrawn after object in the document were changed. To do that it combines redraw areas to a minimal set of redrawing areas. All the administration for this and the way things will be redrawn is from this view. More...

#include "wx/wx.h"
#include "wx/image.h"
#include "wx/geometry.h"
#include "wx/prntbase.h"
#include "wx/docview/docviewref.h"
#include "wx/artbase/drawer2d.h"
#include "wx/canvas/candefs.h"
#include "wx/canvas/tools.h"
#include <vector>
#include <wx/listimpl.cpp>

Include dependency graph for drawer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  a2dCursorStack
class  a2dUpdateArea
 record in update list of a2dCanvasView. More...
class  a2dUpdateList
 maintains a list of areas on a view to be redrawn. More...
class  a2dTileBox
 a2dTileBox is a subarea of a tile. More...
class  a2dTiles
 a storage for a a tiled area More...
class  a2dViewPrintout
 to print what is displayed on a a2dCanvasView or the whole document as seen from the showobject of the drawer. More...
class  a2dLayerView
 Used by a2dCanvasView to decide what layers are to be rendered. More...
class  a2dCanvasView
 View on a a2dCanvasDocument, in which a2dCanvasObjects are shown. More...
class  a2dZoomedView
 view to display the size of a2dCanvasView compared to the whole of the a2dCanvasDocument that is viewed. More...

Enumerations

enum  a2dCanViewUpdateFlags {
  a2dCANVIEW_UPDATE_OLDNEW = 0x0001, a2dCANVIEW_UPDATE_PENDING = 0x0002, a2dCANVIEW_UPDATE_ALL = a2dVIEW_UPDATE_ALL, a2dCANVIEW_UPDATE_AREAS = 0x0008,
  a2dCANVIEW_UPDATE_AREAS_NOBLIT = 0x0010, a2dCANVIEW_UPDATE_BLIT = 0x0020, a2dCANVIEW_UPDATE_VIEWDEPENDENT = 0x0040, a2dCANVIEW_UPDATE_VIEWDEPENDENT_RIGHTNOW = 0x0080,
  a2dCANVIEW_UPDATE_SYNC_DRAWERS = a2dCANVIEW_UPDATE_OLDNEW |a2dCANVIEW_UPDATE_AREAS | a2dCANVIEW_UPDATE_BLIT
}
 mask flags for a2dCanvasView::OnUpdate More...

Functions

 WX_DECLARE_LIST_WITH_DECL (a2dUpdateArea, a2dUpdateListBase, class)
 Holds all updateareas within a a2dCanvasView.


Detailed Description

the a2dCanvasView is a a2dView specially designed for displaying parts of a a2dCanvasDocument. It uses a a2dDrawer2D to actually redraw things from the document, by giving that a2dDrawer2D as drawing context to the document, and telling the document to redraw a certain rectangular area. At that last is what this class is for. It optimizes the areas to be redrawn after object in the document were changed. To do that it combines redraw areas to a minimal set of redrawing areas. All the administration for this and the way things will be redrawn is from this view.

Author:
Klaas Holwerda
Copyright: 2000-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

RCS-ID:

Id
drawer.h,v 1.49 2008/10/21 21:48:30 titato Exp

Definition in file drawer.h.

drawer.h File Reference -- Tue Aug 31 18:02:00 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation