diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-18 08:58:24 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-18 08:58:24 +0000 |
commit | 9c85b81b35636c2bef85a97bf4cac95758bd8236 (patch) | |
tree | c391914147ead893272a953cc913e1aaedc26301 | |
parent | e811f409245578e1fe305ac55f54f9d9433b627c (diff) |
INTEGRATION: CWS presfixes03 (1.7.2); FILE MERGED
2005/04/01 16:09:42 thb 1.7.2.1: #i36190#, #i39245# Changed uno::Sequence::operator[] for nonconst sequences to use naked ptr; added support for true bezier polygons (and removed subdivision, where it was added because of that canvas deficiency); overhauled mtf renderer to provide faithful bounds also for subsetted meta files
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 1c89eb525526..1e82a5c41e2a 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -2,9 +2,9 @@ * * $RCSfile: implrenderer.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-03-30 08:24:58 $ + * last change: $Author: obo $ $Date: 2005-04-18 09:58:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -110,9 +110,12 @@ namespace cppcanvas virtual ~ImplRenderer(); - virtual bool draw() const; - virtual bool drawSubset( sal_Int32 nStartIndex, - sal_Int32 nEndIndex ) const; + virtual bool draw() const; + virtual bool drawSubset( sal_Int32 nStartIndex, + sal_Int32 nEndIndex ) const; + virtual ::basegfx::B2DRange getSubsetArea( sal_Int32 nStartIndex, + sal_Int32 nEndIndex ) const; + // element of the Renderer's action vector. Need to be // public, since some functors need it, too. @@ -129,6 +132,11 @@ namespace cppcanvas sal_Int32 mnOrigIndex; }; + // prefetched and prepared canvas actions + // (externally not visible) + typedef ::std::vector< MtfAction > ActionVector; + + private: // default: disabled copy/assignment ImplRenderer(const ImplRenderer&); @@ -191,9 +199,12 @@ namespace cppcanvas bool bSubsettable, sal_Int32& io_rCurrActionIndex ); - // prefetched and prepared canvas actions - // (externally not visible) - typedef ::std::vector< MtfAction > ActionVector; + bool getSubsetIndices( sal_Int32& io_rStartIndex, + sal_Int32& io_rEndIndex, + ActionVector::const_iterator& o_rRangeBegin, + ActionVector::const_iterator& o_rRangeEnd ) const; + + ActionVector maActions; }; } |