ReactOS  0.4.13-dev-563-g0561610
Region Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for Region:
Collaboration diagram for Region:

Public Member Functions

 Region (const Rect &rect)
 
 Region (VOID)
 
 Region (const BYTE *regionData, INT size)
 
 Region (const GraphicsPath *path)
 
 Region (HRGN hRgn)
 
 Region (const RectF &rect)
 
RegionClone (VOID)
 
Status Complement (const GraphicsPath *path)
 
Status Complement (const Region *region)
 
Status Complement (const Rect &rect)
 
Status Complement (const RectF &rect)
 
BOOL Equals (const Region *region, const Graphics *g) const
 
Status Exclude (const GraphicsPath *path)
 
Status Exclude (const RectF &rect)
 
Status Exclude (const Rect &rect)
 
Status Exclude (const Region *region)
 
Status GetBounds (Rect *rect, const Graphics *g) const
 
Status GetBounds (RectF *rect, const Graphics *g) const
 
Status GetData (BYTE *buffer, UINT bufferSize, UINT *sizeFilled) const
 
UINT GetDataSize (VOID) const
 
HRGN GetHRGN (const Graphics *g) const
 
Status GetLastStatus (VOID)
 
Status GetRegionScans (const Matrix *matrix, Rect *rects, INT *count) const
 
Status GetRegionScans (const Matrix *matrix, RectF *rects, INT *count) const
 
UINT GetRegionScansCount (const Matrix *matrix) const
 
Status Intersect (const Rect &rect)
 
Status Intersect (const GraphicsPath *path)
 
Status Intersect (const RectF &rect)
 
Status Intersect (const Region *region)
 
BOOL IsEmpty (const Graphics *g) const
 
BOOL IsInfinite (const Graphics *g) const
 
BOOL IsVisible (const PointF &point, const Graphics *g) const
 
BOOL IsVisible (const RectF &rect, const Graphics *g) const
 
BOOL IsVisible (const Rect &rect, const Graphics *g) const
 
BOOL IsVisible (INT x, INT y, const Graphics *g) const
 
BOOL IsVisible (REAL x, REAL y, const Graphics *g) const
 
BOOL IsVisible (INT x, INT y, INT width, INT height, const Graphics *g) const
 
BOOL IsVisible (const Point &point, const Graphics *g) const
 
BOOL IsVisible (REAL x, REAL y, REAL width, REAL height, const Graphics *g) const
 
Status MakeEmpty (VOID)
 
Status MakeInfinite (VOID)
 
Status Transform (const Matrix *matrix)
 
Status Translate (REAL dx, REAL dy)
 
Status Translate (INT dx, INT dy)
 
Status Union (const Rect &rect)
 
Status Union (const Region *region)
 
Status Union (const RectF &rect)
 
Status Union (const GraphicsPath *path)
 
Status Xor (const GraphicsPath *path)
 
Status Xor (const RectF &rect)
 
Status Xor (const Rect &rect)
 
Status Xor (const Region *region)
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Static Public Member Functions

static RegionFromHRGN (HRGN hRgn)
 

Private Member Functions

Status SetStatus (Status status) const
 

Private Attributes

Status status
 
GpRegionregion
 

Friends

class Graphics
 
class GraphicsPath
 
class Matrix
 

Detailed Description

Definition at line 760 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ Region() [1/6]

Region::Region ( const Rect rect)
inline

Definition at line 767 of file gdiplusheaders.h.

768  {
770  }
GpRegion * region
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *rect, GpRegion **region)
Definition: region.c:488
Definition: ps.c:97

Referenced by Clone(), and FromHRGN().

◆ Region() [2/6]

Region::Region ( VOID  )
inline

Definition at line 772 of file gdiplusheaders.h.

773  {
775  }
GpRegion * region
GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **region)
Definition: region.c:390
Definition: ps.c:97

◆ Region() [3/6]

Region::Region ( const BYTE regionData,
INT  size 
)
inline

Definition at line 777 of file gdiplusheaders.h.

778  {
780  }
GpRegion * region
GLsizeiptr size
Definition: glext.h:5919
GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *data, INT size, GpRegion **region)
Definition: region.c:946
Definition: ps.c:97

◆ Region() [4/6]

Region::Region ( const GraphicsPath path)
inline

Definition at line 782 of file gdiplusheaders.h.

783  {
785  }
GpRegion * region
GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *path, GpRegion **region)
Definition: region.c:425
Definition: services.c:325
Definition: ps.c:97

◆ Region() [5/6]

Region::Region ( HRGN  hRgn)
inline

Definition at line 787 of file gdiplusheaders.h.

788  {
790  }
GpRegion * region
static HRGN hRgn
Definition: mapping.c:33
GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN hrgn, GpRegion **region)
Definition: region.c:506
Definition: ps.c:97

◆ Region() [6/6]

Region::Region ( const RectF rect)
inline

Definition at line 792 of file gdiplusheaders.h.

793  {
795  }
GpRegion * region
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *rect, GpRegion **region)
Definition: region.c:459
Definition: ps.c:97

Member Function Documentation

◆ Clone()

Region* Region::Clone ( VOID  )
inline

Definition at line 797 of file gdiplusheaders.h.

798  {
799  Region *cloneRegion = new Region();
800  cloneRegion->status = DllExports::GdipCloneRegion(region, cloneRegion ? &cloneRegion->region : NULL);
801  return cloneRegion;
802  }
GpRegion * region
GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *region, GpRegion **clone)
Definition: region.c:211
smooth NULL
Definition: ftsmooth.c:416
Status status
Region(const Rect &rect)

◆ Complement() [1/4]

Status Region::Complement ( const GraphicsPath path)
inline

Definition at line 804 of file gdiplusheaders.h.

805  {
807  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
Definition: services.c:325

◆ Complement() [2/4]

Status Region::Complement ( const Region region)
inline

Definition at line 809 of file gdiplusheaders.h.

810  {
812  }
GpRegion * region
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346

◆ Complement() [3/4]

Status Region::Complement ( const Rect rect)
inline

Definition at line 814 of file gdiplusheaders.h.

815  {
817  }
GpRegion * region
GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *region, GDIPCONST GpRect *rect, CombineMode mode)
Definition: region.c:325
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Complement() [4/4]

Status Region::Complement ( const RectF rect)
inline

Definition at line 819 of file gdiplusheaders.h.

820  {
822  }
GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region, GDIPCONST GpRectF *rect, CombineMode mode)
Definition: region.c:278
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Equals()

BOOL Region::Equals ( const Region region,
const Graphics g 
) const
inline

Definition at line 824 of file gdiplusheaders.h.

825  {
826  BOOL result;
827  SetStatus(DllExports::GdipIsEqualRegion(this->region, region ? region->region : NULL, g ? g->graphics : NULL, &result));
828  return result;
829  }
GpRegion * region
GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *region, GpRegion *region2, GpGraphics *graphics, BOOL *res)
Definition: region.c:1226
Status SetStatus(Status status) const
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLuint64EXT * result
Definition: glext.h:11304

◆ Exclude() [1/4]

Status Region::Exclude ( const GraphicsPath path)
inline

Definition at line 831 of file gdiplusheaders.h.

832  {
834  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
Definition: services.c:325

◆ Exclude() [2/4]

Status Region::Exclude ( const RectF rect)
inline

Definition at line 836 of file gdiplusheaders.h.

837  {
839  }
GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region, GDIPCONST GpRectF *rect, CombineMode mode)
Definition: region.c:278
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Exclude() [3/4]

Status Region::Exclude ( const Rect rect)
inline

Definition at line 841 of file gdiplusheaders.h.

842  {
844  }
GpRegion * region
GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *region, GDIPCONST GpRect *rect, CombineMode mode)
Definition: region.c:325
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Exclude() [4/4]

Status Region::Exclude ( const Region region)
inline

Definition at line 846 of file gdiplusheaders.h.

847  {
849  }
GpRegion * region
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346

◆ FromHRGN()

static Region* Region::FromHRGN ( HRGN  hRgn)
inlinestatic

Definition at line 851 of file gdiplusheaders.h.

852  {
853  return new Region(hRgn);
854  }
static HRGN hRgn
Definition: mapping.c:33
Region(const Rect &rect)

◆ GetBounds() [1/2]

Status Region::GetBounds ( Rect rect,
const Graphics g 
) const
inline

Definition at line 856 of file gdiplusheaders.h.

857  {
858  return SetStatus(DllExports::GdipGetRegionBoundsI(region, g ? g->graphics : NULL, rect));
859  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *region, GpGraphics *graphics, GpRect *rect)
Definition: region.c:629
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204

◆ GetBounds() [2/2]

Status Region::GetBounds ( RectF rect,
const Graphics g 
) const
inline

Definition at line 861 of file gdiplusheaders.h.

862  {
863  return SetStatus(DllExports::GdipGetRegionBounds(region, g ? g->graphics : NULL, rect));
864  }
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *region, GpGraphics *graphics, GpRectF *rect)
Definition: region.c:587

◆ GetData()

Status Region::GetData ( BYTE buffer,
UINT  bufferSize,
UINT sizeFilled 
) const
inline

Definition at line 866 of file gdiplusheaders.h.

867  {
868  return SetStatus(DllExports::GdipGetRegionData(region, buffer, bufferSize, sizeFilled));
869  }
GpRegion * region
GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *region, BYTE *buffer, UINT size, UINT *needed)
Definition: region.c:747
Status SetStatus(Status status) const
GLuint buffer
Definition: glext.h:5915

◆ GetDataSize()

UINT Region::GetDataSize ( VOID  ) const
inline

Definition at line 871 of file gdiplusheaders.h.

872  {
873  UINT bufferSize;
875  return bufferSize;
876  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *region, UINT *needed)
Definition: region.c:985
unsigned int UINT
Definition: ndis.h:50

◆ GetHRGN()

HRGN Region::GetHRGN ( const Graphics g) const
inline

Definition at line 878 of file gdiplusheaders.h.

879  {
880  HRGN hRgn;
882  return hRgn;
883  }
GpRegion * region
GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *region, GpGraphics *graphics, HRGN *hrgn)
Definition: region.c:1194
Status SetStatus(Status status) const
static HRGN hRgn
Definition: mapping.c:33
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204

◆ GetLastStatus()

Status Region::GetLastStatus ( VOID  )
inline

Definition at line 885 of file gdiplusheaders.h.

886  {
887  return status;
888  }
Status status

◆ GetRegionScans() [1/2]

Status Region::GetRegionScans ( const Matrix matrix,
Rect rects,
INT count 
) const
inline

Definition at line 890 of file gdiplusheaders.h.

891  {
893  }
GpRegion * region
GLuint GLenum matrix
Definition: glext.h:9407
GpStatus WINGDIPAPI GdipGetRegionScansI(GpRegion *region, GpRect *scans, INT *count, GpMatrix *matrix)
Definition: region.c:1622
GLuint GLuint GLsizei count
Definition: gl.h:1545
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416

◆ GetRegionScans() [2/2]

Status Region::GetRegionScans ( const Matrix matrix,
RectF rects,
INT count 
) const
inline

Definition at line 895 of file gdiplusheaders.h.

896  {
897  return SetStatus(DllExports::GdipGetRegionScans(region, rects, count, matrix ? matrix->matrix : NULL));
898  }
GpRegion * region
GLuint GLenum matrix
Definition: glext.h:9407
GLuint GLuint GLsizei count
Definition: gl.h:1545
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipGetRegionScans(GpRegion *region, GpRectF *scans, INT *count, GpMatrix *matrix)
Definition: region.c:1656

◆ GetRegionScansCount()

UINT Region::GetRegionScansCount ( const Matrix matrix) const
inline

Definition at line 900 of file gdiplusheaders.h.

901  {
902  UINT count;
904  return count;
905  }
GpRegion * region
GLuint GLenum matrix
Definition: glext.h:9407
GLuint GLuint GLsizei count
Definition: gl.h:1545
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetRegionScansCount(GpRegion *region, UINT *count, GpMatrix *matrix)
Definition: region.c:1601
smooth NULL
Definition: ftsmooth.c:416
unsigned int UINT
Definition: ndis.h:50

◆ Intersect() [1/4]

Status Region::Intersect ( const Rect rect)
inline

Definition at line 907 of file gdiplusheaders.h.

908  {
910  }
GpRegion * region
GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *region, GDIPCONST GpRect *rect, CombineMode mode)
Definition: region.c:325
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Intersect() [2/4]

Status Region::Intersect ( const GraphicsPath path)
inline

Definition at line 912 of file gdiplusheaders.h.

913  {
915  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
Definition: services.c:325

◆ Intersect() [3/4]

Status Region::Intersect ( const RectF rect)
inline

Definition at line 917 of file gdiplusheaders.h.

918  {
920  }
GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region, GDIPCONST GpRectF *rect, CombineMode mode)
Definition: region.c:278
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Intersect() [4/4]

Status Region::Intersect ( const Region region)
inline

Definition at line 922 of file gdiplusheaders.h.

923  {
925  }
GpRegion * region
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346

◆ IsEmpty()

BOOL Region::IsEmpty ( const Graphics g) const
inline

Definition at line 927 of file gdiplusheaders.h.

928  {
929  BOOL result;
931  return result;
932  }
GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *region, GpGraphics *graphics, BOOL *res)
Definition: region.c:1204
GpRegion * region
Status SetStatus(Status status) const
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLuint64EXT * result
Definition: glext.h:11304

◆ IsInfinite()

BOOL Region::IsInfinite ( const Graphics g) const
inline

Definition at line 934 of file gdiplusheaders.h.

935  {
936  BOOL result;
938  return result;
939  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *region, GpGraphics *graphics, BOOL *res)
Definition: region.c:1261
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [1/8]

BOOL Region::IsVisible ( const PointF point,
const Graphics g 
) const
inline

Definition at line 941 of file gdiplusheaders.h.

942  {
943  BOOL result;
945  return result;
946  }
GpRegion * region
GpStatus WINGDIPAPI GdipIsVisibleRegionPoint(GpRegion *region, REAL x, REAL y, GpGraphics *graphics, BOOL *res)
Definition: region.c:1320
Status SetStatus(Status status) const
POINTL point
Definition: edittest.c:50
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [2/8]

BOOL Region::IsVisible ( const RectF rect,
const Graphics g 
) const
inline

Definition at line 948 of file gdiplusheaders.h.

949  {
950  BOOL result;
951  SetStatus(DllExports::GdipIsVisibleRegionRect(region, rect.X, rect.Y, rect.Width, rect.Height, g ? g->graphics : NULL, &result));
952  return result;
953  }
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisibleRegionRect(GpRegion *region, REAL x, REAL y, REAL w, REAL h, GpGraphics *graphics, BOOL *res)
Definition: region.c:1277
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [3/8]

BOOL Region::IsVisible ( const Rect rect,
const Graphics g 
) const
inline

Definition at line 955 of file gdiplusheaders.h.

956  {
957  BOOL result;
958  SetStatus(DllExports::GdipIsVisibleRegionRectI(region, rect.X, rect.Y, rect.Width, rect.Height, g ? g->graphics : NULL, &result));
959  return result;
960  }
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisibleRegionRectI(GpRegion *region, INT x, INT y, INT w, INT h, GpGraphics *graphics, BOOL *res)
Definition: region.c:1308
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [4/8]

BOOL Region::IsVisible ( INT  x,
INT  y,
const Graphics g 
) const
inline

Definition at line 962 of file gdiplusheaders.h.

963  {
964  BOOL result;
966  return result;
967  }
GpRegion * region
Status SetStatus(Status status) const
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisibleRegionPointI(GpRegion *region, INT x, INT y, GpGraphics *graphics, BOOL *res)
Definition: region.c:1349
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [5/8]

BOOL Region::IsVisible ( REAL  x,
REAL  y,
const Graphics g 
) const
inline

Definition at line 969 of file gdiplusheaders.h.

970  {
971  BOOL result;
973  return result;
974  }
GpRegion * region
GpStatus WINGDIPAPI GdipIsVisibleRegionPoint(GpRegion *region, REAL x, REAL y, GpGraphics *graphics, BOOL *res)
Definition: region.c:1320
Status SetStatus(Status status) const
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [6/8]

BOOL Region::IsVisible ( INT  x,
INT  y,
INT  width,
INT  height,
const Graphics g 
) const
inline

Definition at line 976 of file gdiplusheaders.h.

977  {
978  BOOL result;
980  return result;
981  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpRegion * region
Status SetStatus(Status status) const
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisibleRegionRectI(GpRegion *region, INT x, INT y, INT w, INT h, GpGraphics *graphics, BOOL *res)
Definition: region.c:1308
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [7/8]

BOOL Region::IsVisible ( const Point point,
const Graphics g 
) const
inline

Definition at line 983 of file gdiplusheaders.h.

984  {
985  BOOL result;
987  return result;
988  }
GpRegion * region
Status SetStatus(Status status) const
POINTL point
Definition: edittest.c:50
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GpStatus WINGDIPAPI GdipIsVisibleRegionPointI(GpRegion *region, INT x, INT y, GpGraphics *graphics, BOOL *res)
Definition: region.c:1349
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [8/8]

BOOL Region::IsVisible ( REAL  x,
REAL  y,
REAL  width,
REAL  height,
const Graphics g 
) const
inline

Definition at line 990 of file gdiplusheaders.h.

991  {
992  BOOL result;
994  return result;
995  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpRegion * region
Status SetStatus(Status status) const
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
GLboolean GLboolean g
Definition: glext.h:6204
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipIsVisibleRegionRect(GpRegion *region, REAL x, REAL y, REAL w, REAL h, GpGraphics *graphics, BOOL *res)
Definition: region.c:1277
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLuint64EXT * result
Definition: glext.h:11304

◆ MakeEmpty()

Status Region::MakeEmpty ( VOID  )
inline

Definition at line 997 of file gdiplusheaders.h.

998  {
1000  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region)
Definition: region.c:1359

◆ MakeInfinite()

Status Region::MakeInfinite ( VOID  )
inline

Definition at line 1002 of file gdiplusheaders.h.

1003  {
1005  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *region)
Definition: region.c:1374

◆ SetStatus()

Status Region::SetStatus ( Status  status) const
inlineprivate

Definition at line 1066 of file gdiplusheaders.h.

1067  {
1068  if (status == Ok)
1069  return status;
1070  this->status = status;
1071  return status;
1072  }
Status status
Definition: ps.c:97

Referenced by Complement(), Equals(), Exclude(), GetBounds(), GetData(), GetDataSize(), GetHRGN(), GetRegionScans(), GetRegionScansCount(), Intersect(), IsEmpty(), IsInfinite(), IsVisible(), MakeEmpty(), MakeInfinite(), Transform(), Translate(), Union(), and Xor().

◆ Transform()

Status Region::Transform ( const Matrix matrix)
inline

Definition at line 1007 of file gdiplusheaders.h.

1008  {
1010  }
GpRegion * region
GLuint GLenum matrix
Definition: glext.h:9407
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *region, GpMatrix *matrix)
Definition: region.c:1480

◆ Translate() [1/2]

Status Region::Translate ( REAL  dx,
REAL  dy 
)
inline

Definition at line 1012 of file gdiplusheaders.h.

1013  {
1015  }
GpRegion * region
GLint dy
Definition: linetemp.h:97
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *region, REAL dx, REAL dy)
Definition: region.c:1520
GLint dx
Definition: linetemp.h:97

◆ Translate() [2/2]

Status Region::Translate ( INT  dx,
INT  dy 
)
inline

Definition at line 1017 of file gdiplusheaders.h.

1018  {
1020  }
GpRegion * region
GLint dy
Definition: linetemp.h:97
Status SetStatus(Status status) const
GLint dx
Definition: linetemp.h:97
GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *region, INT dx, INT dy)
Definition: region.c:1535

◆ Union() [1/4]

Status Region::Union ( const Rect rect)
inline

Definition at line 1022 of file gdiplusheaders.h.

1023  {
1025  }
GpRegion * region
GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *region, GDIPCONST GpRect *rect, CombineMode mode)
Definition: region.c:325
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Union() [2/4]

Status Region::Union ( const Region region)
inline

Definition at line 1027 of file gdiplusheaders.h.

1028  {
1030  }
GpRegion * region
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346

◆ Union() [3/4]

Status Region::Union ( const RectF rect)
inline

Definition at line 1032 of file gdiplusheaders.h.

1033  {
1035  }
GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region, GDIPCONST GpRectF *rect, CombineMode mode)
Definition: region.c:278
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Union() [4/4]

Status Region::Union ( const GraphicsPath path)
inline

Definition at line 1037 of file gdiplusheaders.h.

1038  {
1040  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
Definition: services.c:325

◆ Xor() [1/4]

Status Region::Xor ( const GraphicsPath path)
inline

Definition at line 1042 of file gdiplusheaders.h.

1043  {
1045  }
GpRegion * region
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
Definition: services.c:325

◆ Xor() [2/4]

Status Region::Xor ( const RectF rect)
inline

Definition at line 1047 of file gdiplusheaders.h.

1048  {
1050  }
GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region, GDIPCONST GpRectF *rect, CombineMode mode)
Definition: region.c:278
GpRegion * region
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Xor() [3/4]

Status Region::Xor ( const Rect rect)
inline

Definition at line 1052 of file gdiplusheaders.h.

1053  {
1055  }
GpRegion * region
GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *region, GDIPCONST GpRect *rect, CombineMode mode)
Definition: region.c:325
Status SetStatus(Status status) const
& rect
Definition: startmenu.cpp:1413

◆ Xor() [4/4]

Status Region::Xor ( const Region region)
inline

Definition at line 1057 of file gdiplusheaders.h.

1058  {
1059  return SetStatus(DllExports::GdipCombineRegionRegion(this->region, region ? region->region : NULL, CombineModeXor));
1060  }
GpRegion * region
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346

Friends And Related Function Documentation

◆ Graphics

friend class Graphics
friend

Definition at line 763 of file gdiplusheaders.h.

◆ GraphicsPath

friend class GraphicsPath
friend

Definition at line 764 of file gdiplusheaders.h.

◆ Matrix

friend class Matrix
friend

Definition at line 765 of file gdiplusheaders.h.

Member Data Documentation

◆ region

◆ status

Status Region::status
mutableprivate

Definition at line 1063 of file gdiplusheaders.h.

Referenced by Clone(), GetLastStatus(), and SetStatus().


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