[Libreoffice-commits] core.git: svx/README
svx/README | 12 1 file changed, 8 insertions(+), 4 deletions(-) New commits: commit bb8d731c1a5d1acbab95b2db0dcf7ce09e0a1df3 Author: Miklos VajnaDate: Wed Jul 13 17:52:10 2016 +0200 svx: extend README about VC/VOC/OC Change-Id: I48f47e203fb6b5c7adf553b33b26eb2ffef1f926 Reviewed-on: https://gerrit.libreoffice.org/27190 Tested-by: Jenkins Reviewed-by: Thorsten Behrens diff --git a/svx/README b/svx/README index 022f112..debe0d7 100644 --- a/svx/README +++ b/svx/README @@ -72,7 +72,7 @@ http://www.openoffice.org/marketing/ooocon2006/presentations/wednesday_g11.odp, slide number 6. .--- Model --. .--- View -. -| SdrObject - ViewContact| 1..* | ViewObjectContact 1..* | +| SdrObject - ViewContact| 1..* | ViewObjectContact | | getChild()|--|getPrimitiveList() -> Object(s) ---> SdrView | | getVOC() | |getRecPrimitiveList() Contact | | getViewInd... | ||_| @@ -92,6 +92,10 @@ 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 :-)] +If the number of visualizable objects (e.g. SdrObjects) is X, and the number of +SdrViews is Y, then: + +- there are X ViewContact instances (1:1 relation with a visualizable object) +- there are Y ObjectContact instances (1:1 relation with an SdrView) +- there are X*Y ViewObjecContact instances (1:N relation to both + visualizable objects and SdrViews) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: svx/README
svx/README |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 828263c759928dbe12f56d18cbe302101b604d12 Author: Tor Lillqvist t...@collabora.com Date: Mon Apr 7 07:58:56 2014 +0300 Huh? Change-Id: I71527cd33d7d2bcef10dd7e7c9c7c661acb4875e diff --git a/svx/README b/svx/README index d4a2a20..c953e78 100644 --- a/svx/README +++ b/svx/README @@ -1,7 +1,7 @@ Contains graphics related helper code. Lots of the draw and impress code is in this shared library. xoutdev -this is where a lot of wht work would happen to move to the canvas. +this is where a lot of wht work would happen to move to the canvas. (what does that mean?) svdraw transparent gradient stuff. ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: svx/README
svx/README | 17 + 1 file changed, 17 insertions(+) New commits: commit dc09132ca06d0eaa6e5bbe34c29a260520b1f4c0 Author: Michael Meeks michael.me...@collabora.com Date: Wed Oct 2 18:02:48 2013 +0100 Attempt at an ascii-art reproduction of DrawingLayer design. As inspired by Thorsten Behren's slides FOSDEM 2009 on the topic. Change-Id: Ifdb9388550ce82af0f8015be460fa22335a3c0cf diff --git a/svx/README b/svx/README index a7fd2e2..b1cd2e0 100644 --- a/svx/README +++ b/svx/README @@ -7,3 +7,20 @@ svdraw transparent gradient stuff. Lots of the draw and impress code is in this shared library. + + +Drawing Layer Object diagram: + +.--- Model . .--- View -. +| SdrObject - ViewContact | 1.* | ViewObjectContact1.* | +| getChild() |-|getPrimitiveList() - Object(s) --- SdrView | +| getVOC()| |getRecPrimitiveList() Contact | +| getViewIn...| |___|__| +| dependantPrimitiveList() | | +|_ | generates __ + | / | + .--.| + | basePrimitive|| + | getRange() |` + | getDecomposition() | + |__| ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits