More additions about SdrView / SdrModel.
Change-Id: I2178d61af1f49c971ccec817852260020ec8f0aa
This commit is contained in:
committed by
Miklos Vajna
parent
f135e08636
commit
a595cf0fa7
+18
-2
@@ -32,8 +32,24 @@ SdrObject <- SdrAttrObj <- E3dObject <- E3dCompoundObject <- E3dCubeObj
|
||||
|
||||
The above is incomplete of course.
|
||||
|
||||
Associated are the SdrPaintView's - they have quite a deep chain of
|
||||
inheritance, where each new class adds a bit of functionality:
|
||||
== SdrModel / SdrView ==
|
||||
|
||||
Copied from svdview.hxx:
|
||||
|
||||
First of all the app creates a SdrModel.
|
||||
Then it opens a Win and creates a SdrView.
|
||||
ShowSdrPage() announces a page at SdrView.
|
||||
It's possible to show SdrView in any Wins at once.
|
||||
|
||||
SdrView can show as many Wins as it wants at once. Pages are announced
|
||||
or checked out with the help of ShowSdrPage()/HideSdrPage(). For every announced
|
||||
page there is a SdrPageView instance in container aPages. If more than one page
|
||||
is showed, you have to pay attention that the offset parameter of ShowSdrPage()
|
||||
is conformed to the size of the page (to prevent overlapping of two pages).
|
||||
|
||||
SdrView itself is inherited from many objects in a chain of inheritance (all
|
||||
that starts with SdrPaintView - that is itself inherited from few classes
|
||||
too):
|
||||
|
||||
SdrPaintView <- SdrSnapView <- SdrMarkView <- SdrEditView <- SdrPolyEditView
|
||||
^
|
||||
|
||||
Reference in New Issue
Block a user