Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfx_cliprgn.h>
Public Types | |
enum | ClipType : bool { kRectI , kMaskF } |
Public Member Functions | |
CFX_ClipRgn (int device_width, int device_height) | |
CFX_ClipRgn (const CFX_ClipRgn &src) | |
~CFX_ClipRgn () | |
ClipType | GetType () const |
const FX_RECT & | GetBox () const |
RetainPtr< CFX_DIBitmap > | GetMask () const |
void | IntersectRect (const FX_RECT &rect) |
void | IntersectMaskF (int left, int top, RetainPtr< CFX_DIBitmap > Mask) |
Definition at line 15 of file cfx_cliprgn.h.
enum CFX_ClipRgn::ClipType : bool |
Enumerator | |
---|---|
kRectI | |
kMaskF |
Definition at line 17 of file cfx_cliprgn.h.
CFX_ClipRgn::CFX_ClipRgn | ( | int | device_width, |
int | device_height ) |
Definition at line 18 of file cfx_cliprgn.cpp.
References FX_RECT::FX_RECT().
|
default |
|
default |
|
inline |
Definition at line 24 of file cfx_cliprgn.h.
Referenced by CFX_DIBitmap::CompositeBitmap(), CFX_DIBitmap::CompositeMask(), and CFX_DIBBase::GetOverlapRect().
|
inline |
Definition at line 25 of file cfx_cliprgn.h.
|
inline |
Definition at line 23 of file cfx_cliprgn.h.
Referenced by CFX_DIBitmap::CompositeBitmap(), and CFX_DIBitmap::CompositeMask().
void CFX_ClipRgn::IntersectMaskF | ( | int | left, |
int | top, | ||
RetainPtr< CFX_DIBitmap > | Mask ) |
Definition at line 58 of file cfx_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().
Definition at line 24 of file cfx_cliprgn.cpp.
References FX_RECT::Intersect(), and kRectI.