INTEGRATION: CWS presfixes12 (1.5.50); FILE MERGED

2007/03/08 21:37:18 thb 1.5.50.1: #i37778# Added extra setClip() method to be able to set no clip - setting a clip with zero polygons by definition clips everything
This commit is contained in:
Oliver Bolte
2007-07-17 14:23:23 +00:00
parent cf6a48e7c6
commit e36d17ae50

View File

@@ -4,9 +4,9 @@
*
* $RCSfile: canvasgraphic.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: kz $ $Date: 2005-11-02 13:38:39 $
* last change: $Author: obo $ $Date: 2007-07-17 15:23:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -139,31 +139,36 @@ namespace cppcanvas
/** Set object transformation matrix
*/
virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) = 0;
virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) = 0;
/** Get object transformation matrix
*/
virtual ::basegfx::B2DHomMatrix getTransformation() const = 0;
virtual ::basegfx::B2DHomMatrix getTransformation() const = 0;
/** Set object clipping polygon
*/
virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) = 0;
/** Get object clipping polygon
virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) = 0;
/** Clear object clipping polygon
*/
virtual ::basegfx::B2DPolyPolygon getClip() const = 0;
virtual void setClip() = 0;
/** Get object clipping polygon
@return NULL, if no clip is set; otherwise, the current clip poly-polygon is returned
*/
virtual ::basegfx::B2DPolyPolygon const* getClip() const = 0;
/** Set object color
*/
virtual void setRGBAColor( Color::IntSRGBA ) = 0;
virtual void setRGBAColor( Color::IntSRGBA ) = 0;
/** Get object color
*/
virtual Color::IntSRGBA getRGBAColor() const = 0;
virtual Color::IntSRGBA getRGBAColor() const = 0;
/** Set object composite mode
*/
virtual void setCompositeOp( CompositeOp aOp ) = 0;
virtual void setCompositeOp( CompositeOp aOp ) = 0;
/** Get object composite mode
*/
virtual CompositeOp getCompositeOp() const = 0;
virtual CompositeOp getCompositeOp() const = 0;
/** Render to parent canvas