INTEGRATION: CWS presfixes12 (1.8.50); FILE MERGED
2007/03/08 21:37:18 thb 1.8.50.2: #i37778# Added extra setClip() method to be able to set no clip - setting a clip with zero polygons by definition clips everything 2007/02/20 22:29:26 thb 1.8.50.1: #i37778# Added XCanvas::clear() to all relevant interfaces
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
*
|
||||
* $RCSfile: canvas.hxx,v $
|
||||
*
|
||||
* $Revision: 1.8 $
|
||||
* $Revision: 1.9 $
|
||||
*
|
||||
* last change: $Author: kz $ $Date: 2005-11-02 13:38:25 $
|
||||
* last change: $Author: obo $ $Date: 2007-07-17 15:23:11 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
@@ -106,13 +106,20 @@ namespace cppcanvas
|
||||
virtual ::basegfx::B2DHomMatrix getTransformation() const = 0;
|
||||
|
||||
virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) = 0;
|
||||
virtual ::basegfx::B2DPolyPolygon getClip() const = 0;
|
||||
virtual void setClip() = 0;
|
||||
|
||||
/** Get current clip
|
||||
|
||||
@return NULL, if no clip is set, otherwise the current clip poly-polygon
|
||||
*/
|
||||
virtual ::basegfx::B2DPolyPolygon const* getClip() const = 0;
|
||||
|
||||
virtual FontSharedPtr createFont( const ::rtl::OUString& rFontName, const double& rCellSize ) const = 0;
|
||||
|
||||
virtual ColorSharedPtr createColor() const = 0;
|
||||
|
||||
virtual CanvasSharedPtr clone() const = 0;
|
||||
virtual void clear() const = 0;
|
||||
|
||||
// this should be considered private. if RTTI gets enabled
|
||||
// someday, remove that to a separate interface
|
||||
|
Reference in New Issue
Block a user