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
This commit is contained in:
Oliver Bolte 2005-04-18 08:58:24 +00:00
parent e811f40924
commit 9c85b81b35

View file

@ -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;
};
}