LibreOffice Module canvas (master)  1
Public Member Functions | List of all members
canvas::ISurfaceProxy Struct Referenceabstract

#include <isurfaceproxy.hxx>

Inheritance diagram for canvas::ISurfaceProxy:
[legend]

Public Member Functions

virtual ~ISurfaceProxy ()
 
virtual void setColorBufferDirty ()=0
 Notify the proxy that the color buffer has changed. More...
 
virtual bool draw (double fAlpha, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DHomMatrix &rTransform)=0
 Render the surface content to screen. More...
 
virtual bool draw (double fAlpha, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DRange &rArea, const ::basegfx::B2DHomMatrix &rTransform)=0
 Render the surface content to screen. More...
 
virtual bool draw (double fAlpha, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DPolyPolygon &rClipPoly, const ::basegfx::B2DHomMatrix &rTransform)=0
 Render the surface content to screen. More...
 

Detailed Description

Definition at line 33 of file isurfaceproxy.hxx.

Constructor & Destructor Documentation

virtual canvas::ISurfaceProxy::~ISurfaceProxy ( )
inlinevirtual

Definition at line 35 of file isurfaceproxy.hxx.

Member Function Documentation

virtual bool canvas::ISurfaceProxy::draw ( double  fAlpha,
const ::basegfx::B2DPoint rPos,
const ::basegfx::B2DHomMatrix rTransform 
)
pure virtual

Render the surface content to screen.

Parameters
fAlphaOverall alpha for content
rPosOutput position
rTransformOutput transformation (does not affect output position)

Implemented in canvas::SurfaceProxy.

virtual bool canvas::ISurfaceProxy::draw ( double  fAlpha,
const ::basegfx::B2DPoint rPos,
const ::basegfx::B2DRange rArea,
const ::basegfx::B2DHomMatrix rTransform 
)
pure virtual

Render the surface content to screen.

Parameters
fAlphaOverall alpha for content
rPosOutput position
rAreaSubset of the surface to render. Coordinate system are surface area pixel, given area will be clipped to the surface bounds.
rTransformOutput transformation (does not affect output position)

Implemented in canvas::SurfaceProxy.

virtual bool canvas::ISurfaceProxy::draw ( double  fAlpha,
const ::basegfx::B2DPoint rPos,
const ::basegfx::B2DPolyPolygon rClipPoly,
const ::basegfx::B2DHomMatrix rTransform 
)
pure virtual

Render the surface content to screen.

Parameters
fAlphaOverall alpha for content
rPosOutput position
rClipPolyClip polygon for the surface. The clip polygon is also subject to the output transformation.
rTransformOutput transformation (does not affect output position)

Implemented in canvas::SurfaceProxy.

virtual void canvas::ISurfaceProxy::setColorBufferDirty ( )
pure virtual

Notify the proxy that the color buffer has changed.

Implemented in canvas::SurfaceProxy.


The documentation for this struct was generated from the following file: