Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_AggClipRgn Class Reference

#include <cfx_agg_cliprgn.h>

Collaboration diagram for CFX_AggClipRgn:

Public Types

enum  ClipType : bool { kRectI , kMaskF }

Public Member Functions

 CFX_AggClipRgn (int device_width, int device_height)
 CFX_AggClipRgn (const CFX_AggClipRgn &src)
 ~CFX_AggClipRgn ()
ClipType GetType () const
const FX_RECTGetBox () const
RetainPtr< CFX_DIBitmapGetMask () const
void IntersectRect (const FX_RECT &rect)
void IntersectMaskF (int left, int top, RetainPtr< CFX_DIBitmap > Mask)

Detailed Description

Definition at line 15 of file cfx_agg_cliprgn.h.

Member Enumeration Documentation

◆ ClipType

Enumerator
kRectI 
kMaskF 

Definition at line 17 of file cfx_agg_cliprgn.h.

Constructor & Destructor Documentation

◆ CFX_AggClipRgn() [1/2]

CFX_AggClipRgn::CFX_AggClipRgn ( int device_width,
int device_height )

Definition at line 18 of file cfx_agg_cliprgn.cpp.

References FX_RECT::FX_RECT().

Here is the call graph for this function:

◆ CFX_AggClipRgn() [2/2]

CFX_AggClipRgn::CFX_AggClipRgn ( const CFX_AggClipRgn & src)
default

◆ ~CFX_AggClipRgn()

CFX_AggClipRgn::~CFX_AggClipRgn ( )
default

Member Function Documentation

◆ GetBox()

const FX_RECT & CFX_AggClipRgn::GetBox ( ) const
inline

Definition at line 24 of file cfx_agg_cliprgn.h.

Referenced by CFX_DIBitmap::CompositeBitmap(), CFX_DIBitmap::CompositeMask(), and CFX_DIBBase::GetOverlapRect().

Here is the caller graph for this function:

◆ GetMask()

RetainPtr< CFX_DIBitmap > CFX_AggClipRgn::GetMask ( ) const
inline

Definition at line 25 of file cfx_agg_cliprgn.h.

◆ GetType()

ClipType CFX_AggClipRgn::GetType ( ) const
inline

Definition at line 23 of file cfx_agg_cliprgn.h.

Referenced by CFX_AggBitmapComposer::Compose(), CFX_DIBitmap::CompositeBitmap(), and CFX_DIBitmap::CompositeMask().

Here is the caller graph for this function:

◆ IntersectMaskF()

void CFX_AggClipRgn::IntersectMaskF ( int left,
int top,
RetainPtr< CFX_DIBitmap > Mask )

Definition at line 59 of file cfx_agg_cliprgn.cpp.

References FX_RECT::bottom, FX_RECT::Height(), FX_RECT::Intersect(), FX_RECT::IsEmpty(), k8bppMask, kRectI, FX_RECT::left, FX_RECT::operator=(), FX_RECT::right, FX_RECT::top, and FX_RECT::Width().

Here is the call graph for this function:

◆ IntersectRect()

void CFX_AggClipRgn::IntersectRect ( const FX_RECT & rect)

Definition at line 25 of file cfx_agg_cliprgn.cpp.

References FX_RECT::Intersect(), and kRectI.

Here is the call graph for this function:

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