|
wxArt2D
|
the a2dDrawingPart is a a2dView specially designed for displaying parts of a a2dDrawing. 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/dnd.h"#include "wx/dataobj.h"#include "wx/clipbrd.h"#include "wx/metafile.h"#include <wx/wfstream.h>#include <wx/stdstream.h>#include "wx/image.h"#include "wx/geometry.h"#include "wx/artbase/drawer2d.h"#include "wx/artbase/dcdrawer.h"#include "wx/canvas/candefs.h"#include "wx/canvas/tools.h"#include "wx/canvas/edit.h"#include "wx/canvas/drawing.h"#include "wx/canvas/algos.h"#include <vector>#include <wx/listimpl.cpp>#include "wx/prntbase.h"

Go to the source code of this file.
Classes | |
| class | a2dCursorStack |
| class | a2dPushInStack |
| class | a2dUpdateArea |
| record in update list of a2dDrawingPart. 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 | a2dLayerView |
| Used by a2dDrawingPart to decide what layers are to be rendered. More... | |
| class | a2dDrawingPart |
| Display Part of a a2dDrawing, in which a2dCanvasObjects are shown. More... | |
| class | a2dPrintFactory |
| class | a2dDrawingPrintOut |
| to print what is displayed on a a2dDrawingPart or the whole document as seen from the showobject of the drawer. More... | |
Macros | |
| #define | a2d_TILESHIFT 8 |
| #define | a2d_TILESIZE 256 |
| #define | a2d_INIT_TILES 100 |
Typedefs | |
| typedef std::vector< a2dLayerView > | a2dLayerViewList |
Functions | |
| WX_DECLARE_LIST_WITH_DECL (a2dUpdateArea, a2dUpdateListBase, class) | |
| Holds all updateareas within a a2dDrawingPart. | |
the a2dDrawingPart is a a2dView specially designed for displaying parts of a a2dDrawing. 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.
Copyright: 2000-2004 (c) Klaas Holwerda
Licence: wxWidgets Licence
RCS-ID:
Definition in file drawer.h.