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 32 of file isurfaceproxy.hxx.

Constructor & Destructor Documentation

◆ ~ISurfaceProxy()

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

Definition at line 34 of file isurfaceproxy.hxx.

Member Function Documentation

◆ draw() [1/3]

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.

◆ draw() [2/3]

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.

◆ draw() [3/3]

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.

◆ setColorBufferDirty()

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: