LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
SalClipRegion Class Reference

#include <salobj.h>

Public Member Functions

 SalClipRegion ()
 
 ~SalClipRegion ()
 
void BeginSetClipRegion (sal_uInt32 nRects)
 
void UnionClipRegion (long nX, long nY, long nWidth, long nHeight)
 
XRectangle * EndSetClipRegion ()
 
void ResetClipRegion ()
 
int GetRectangleCount () const
 

Private Attributes

std::unique_ptr< XRectangle[]> ClipRectangleList
 
int numClipRectangles
 
int maxClipRectangles
 

Detailed Description

Definition at line 30 of file unx/salobj.h.

Constructor & Destructor Documentation

SalClipRegion::SalClipRegion ( )
SalClipRegion::~SalClipRegion ( )

Member Function Documentation

void SalClipRegion::BeginSetClipRegion ( sal_uInt32  nRects)
XRectangle* SalClipRegion::EndSetClipRegion ( )
inline

Definition at line 41 of file unx/salobj.h.

References ClipRectangleList.

int SalClipRegion::GetRectangleCount ( ) const
inline

Definition at line 45 of file unx/salobj.h.

References numClipRectangles.

void SalClipRegion::ResetClipRegion ( )
inline

Definition at line 43 of file unx/salobj.h.

References numClipRectangles.

void SalClipRegion::UnionClipRegion ( long  nX,
long  nY,
long  nWidth,
long  nHeight 
)

Member Data Documentation

std::unique_ptr<XRectangle[]> SalClipRegion::ClipRectangleList
private

Definition at line 51 of file unx/salobj.h.

Referenced by EndSetClipRegion().

int SalClipRegion::maxClipRectangles
private

Definition at line 53 of file unx/salobj.h.

int SalClipRegion::numClipRectangles
private

Definition at line 52 of file unx/salobj.h.

Referenced by GetRectangleCount(), and ResetClipRegion().


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