diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-09-05 10:24:58 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-09-05 10:30:02 +0200 |
commit | 6341628054019298ced4ed23dcf7962a47e594ea (patch) | |
tree | 0736c221c6ebe0d33c15bb833ec202c4a2c503a5 /svx/README | |
parent | 3e8cf5c409af7651e49079ce8b1c272f82c96aa5 (diff) |
svx: Update the README wrt. the SdrObject(s).
Change-Id: I3803b46a999a0c796b5cbc3da9c39c67d608bc0c
Diffstat (limited to 'svx/README')
-rw-r--r-- | svx/README | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/svx/README b/svx/README index e78bb84f6bc2..a3574dde90de 100644 --- a/svx/README +++ b/svx/README @@ -6,18 +6,35 @@ this is where a lot of wht work would happen to move to the canvas. (what does t svdraw transparent gradient stuff. -Drawing Layer Object diagram: - -.------- Model ------------. .------- View -----------------------------------------. -| SdrObject - ViewContact | 1.* | ViewObjectContact 1.* | -| getChild() |-----| getPrimitiveList() -----> Object(s) ---> SdrView | -| getVOC() | | getRecPrimitiveList() Contact | -| getViewIn...| |___________|__________________________________________| -| dependentPrimitiveList() | | -|_________________________ | generates ______ - | / | +== Drawing Layer / SdrObject(s) == + +See drawinglayer/README for general information about drawinglayer. + +Below is the class diagram that comes from +http://www.openoffice.org/marketing/ooocon2006/presentations/wednesday_g11.odp, +slide number 6. + +.------- Model --------------. .------- View -----------------------------------------. +| SdrObject - ViewContact | 1..* | ViewObjectContact 1..* | +| getChild() |------| getPrimitiveList() -----> Object(s) ---> SdrView | +| getVOC() | | getRecPrimitiveList() Contact | +| getViewInd... | |________|_____________________________________________| +| ...ependentPrimitiveList() | | +|____________________________| generates + | ______ + V / | .----------------------. | | basePrimitive | | - | getRange() |----` + | getRange() |<---' | getDecomposition() | |______________________| + +For SdrObjects, there are own DrawingLayer primitives in +svx/source/sdr/primitive2d + +The ViewContact / ViewObject / ViewObjectContact are in svx/source/sdr/contact +Decomposes the SdrObjects, and does all sort of operations on them. + +[So far I haven't found a definition / concept what are supposed to be the +ViewContact / ViewObject / ViewObjectContact. If you find that out, please +fix this README :-)] |