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

#include <isurface.hxx>

Public Member Functions

virtual ~ISurface ()
 
virtual bool selectTexture ()=0
 Select texture behind this interface to be the current one for primitive output. More...
 
virtual bool isValid ()=0
 Tells whether the surface is valid or not. More...
 
virtual bool update (const ::basegfx::B2IPoint &rDestPos, const ::basegfx::B2IRange &rSourceRect, IColorBuffer &rSource)=0
 Update surface content from given IColorBuffer. More...
 

Detailed Description

Definition at line 32 of file isurface.hxx.

Constructor & Destructor Documentation

◆ ~ISurface()

virtual canvas::ISurface::~ISurface ( )
inlinevirtual

Definition at line 34 of file isurface.hxx.

Member Function Documentation

◆ isValid()

virtual bool canvas::ISurface::isValid ( )
pure virtual

Tells whether the surface is valid or not.

◆ selectTexture()

virtual bool canvas::ISurface::selectTexture ( )
pure virtual

Select texture behind this interface to be the current one for primitive output.

◆ update()

virtual bool canvas::ISurface::update ( const ::basegfx::B2IPoint rDestPos,
const ::basegfx::B2IRange rSourceRect,
IColorBuffer rSource 
)
pure virtual

Update surface content from given IColorBuffer.

This method updates the given subarea of the surface from the given color buffer bits.

Parameters
rDestPosPosition in the surface, where the subset update should have its left, top edge
rSourceRectSize and position of the rectangular subset update in the source color buffer
rSourceSource bits to use for the update
Returns
true, if the update was successful

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