ReactOS  0.4.15-dev-994-ga9f6032
Region Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for Region:
Collaboration diagram for Region:

Public Member Functions

 Region (const Rect &rect)
 
 Region ()
 
 Region (const BYTE *regionData, INT size)
 
 Region (const GraphicsPath *path)
 
 Region (HRGN hRgn)
 
 Region (const RectF &rect)
 
RegionClone ()
 
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 () const
 
HRGN GetHRGN (const Graphics *g) const
 
Status GetLastStatus ()
 
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 ()
 
Status MakeInfinite ()
 
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

GpRegionnativeRegion
 
Status lastStatus
 

Friends

class Graphics
 
class GraphicsPath
 
class Matrix
 
GpRegion *& getNat (const Region *region)
 

Detailed Description

Definition at line 1012 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ Region() [1/6]

Region::Region ( const Rect rect)
inline

Definition at line 1019 of file gdiplusheaders.h.

1020  {
1022  }
Status lastStatus
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *rect, GpRegion **region)
Definition: region.c:488
GpRegion * nativeRegion

◆ Region() [2/6]

Region::Region ( )
inline

Definition at line 1024 of file gdiplusheaders.h.

1025  {
1027  }
Status lastStatus
GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **region)
Definition: region.c:390
GpRegion * nativeRegion

Referenced by Clone(), and FromHRGN().

◆ Region() [3/6]

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

Definition at line 1029 of file gdiplusheaders.h.

1030  {
1032  }
Status lastStatus
GLsizeiptr size
Definition: glext.h:5919
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *data, INT size, GpRegion **region)
Definition: region.c:946

◆ Region() [4/6]

Region::Region ( const GraphicsPath path)
inline

Definition at line 1034 of file gdiplusheaders.h.

1035  {
1037  }
Status lastStatus
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *path, GpRegion **region)
Definition: region.c:425
friend GpRegion *& getNat(const Region *region)

◆ Region() [5/6]

Region::Region ( HRGN  hRgn)
inline

Definition at line 1039 of file gdiplusheaders.h.

1040  {
1042  }
Status lastStatus
static HRGN hRgn
Definition: mapping.c:33
GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN hrgn, GpRegion **region)
Definition: region.c:506
GpRegion * nativeRegion

◆ Region() [6/6]

Region::Region ( const RectF rect)
inline

Definition at line 1044 of file gdiplusheaders.h.

1045  {
1047  }
Status lastStatus
& rect
Definition: startmenu.cpp:1413
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *rect, GpRegion **region)
Definition: region.c:459

Member Function Documentation

◆ Clone()

Region* Region::Clone ( )
inline

Definition at line 1050 of file gdiplusheaders.h.

1051  {
1052  Region *cloneRegion = new Region();
1053  cloneRegion->lastStatus =
1054  DllExports::GdipCloneRegion(nativeRegion, cloneRegion ? &cloneRegion->nativeRegion : NULL);
1055  return cloneRegion;
1056  }
Status lastStatus
GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *region, GpRegion **clone)
Definition: region.c:211
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion

◆ Complement() [1/4]

Status Region::Complement ( const GraphicsPath path)
inline

Definition at line 1059 of file gdiplusheaders.h.

1060  {
1061  GpPath *thePath = path ? getNat(path) : NULL;
1063  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Complement() [2/4]

Status Region::Complement ( const Region region)
inline

Definition at line 1066 of file gdiplusheaders.h.

1067  {
1068  GpRegion *theRegion = region ? getNat(region) : NULL;
1070  }
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346
friend GpRegion *& getNat(const Region *region)

◆ Complement() [3/4]

Status Region::Complement ( const Rect rect)
inline

Definition at line 1073 of file gdiplusheaders.h.

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

◆ Complement() [4/4]

Status Region::Complement ( const RectF rect)
inline

Definition at line 1079 of file gdiplusheaders.h.

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

◆ Equals()

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

Definition at line 1085 of file gdiplusheaders.h.

1086  {
1087  BOOL result;
1088  SetStatus(
1089  DllExports::GdipIsEqualRegion(nativeRegion, region ? getNat(region) : NULL, g ? getNat(g) : NULL, &result));
1090  return result;
1091  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ Exclude() [1/4]

Status Region::Exclude ( const GraphicsPath path)
inline

Definition at line 1094 of file gdiplusheaders.h.

1095  {
1096  return SetStatus(
1098  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Exclude() [2/4]

Status Region::Exclude ( const RectF rect)
inline

Definition at line 1101 of file gdiplusheaders.h.

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

◆ Exclude() [3/4]

Status Region::Exclude ( const Rect rect)
inline

Definition at line 1107 of file gdiplusheaders.h.

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

◆ Exclude() [4/4]

Status Region::Exclude ( const Region region)
inline

Definition at line 1113 of file gdiplusheaders.h.

1114  {
1115  return SetStatus(
1117  }
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346
friend GpRegion *& getNat(const Region *region)

◆ FromHRGN()

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

Definition at line 1120 of file gdiplusheaders.h.

1121  {
1122  return new Region(hRgn);
1123  }
static HRGN hRgn
Definition: mapping.c:33

◆ GetBounds() [1/2]

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

Definition at line 1126 of file gdiplusheaders.h.

1127  {
1129  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ GetBounds() [2/2]

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

Definition at line 1132 of file gdiplusheaders.h.

1133  {
1135  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ GetData()

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

Definition at line 1138 of file gdiplusheaders.h.

1139  {
1140  return SetStatus(DllExports::GdipGetRegionData(nativeRegion, buffer, bufferSize, sizeFilled));
1141  }
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
GpRegion * nativeRegion

◆ GetDataSize()

UINT Region::GetDataSize ( ) const
inline

Definition at line 1144 of file gdiplusheaders.h.

1145  {
1146  UINT bufferSize;
1148  return bufferSize;
1149  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *region, UINT *needed)
Definition: region.c:985
GpRegion * nativeRegion
unsigned int UINT
Definition: ndis.h:50

◆ GetHRGN()

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

Definition at line 1152 of file gdiplusheaders.h.

1153  {
1154  HRGN hRgn;
1156  return hRgn;
1157  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ GetLastStatus()

Status Region::GetLastStatus ( )
inline

Definition at line 1160 of file gdiplusheaders.h.

1161  {
1162  return lastStatus;
1163  }
Status lastStatus

◆ GetRegionScans() [1/2]

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

Definition at line 1166 of file gdiplusheaders.h.

1167  {
1169  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ GetRegionScans() [2/2]

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

Definition at line 1172 of file gdiplusheaders.h.

1173  {
1175  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
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 1178 of file gdiplusheaders.h.

1179  {
1180  UINT count;
1182  return count;
1183  }
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
GpRegion * nativeRegion
unsigned int UINT
Definition: ndis.h:50
friend GpRegion *& getNat(const Region *region)

◆ Intersect() [1/4]

Status Region::Intersect ( const Rect rect)
inline

Definition at line 1186 of file gdiplusheaders.h.

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

◆ Intersect() [2/4]

Status Region::Intersect ( const GraphicsPath path)
inline

Definition at line 1192 of file gdiplusheaders.h.

1193  {
1194  GpPath *thePath = path ? getNat(path) : NULL;
1196  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Intersect() [3/4]

Status Region::Intersect ( const RectF rect)
inline

Definition at line 1199 of file gdiplusheaders.h.

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

◆ Intersect() [4/4]

Status Region::Intersect ( const Region region)
inline

Definition at line 1205 of file gdiplusheaders.h.

1206  {
1207  return SetStatus(
1209  }
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346
friend GpRegion *& getNat(const Region *region)

◆ IsEmpty()

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

Definition at line 1212 of file gdiplusheaders.h.

1213  {
1214  BOOL result;
1216  return result;
1217  }
GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *region, GpGraphics *graphics, BOOL *res)
Definition: region.c:1204
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsInfinite()

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

Definition at line 1220 of file gdiplusheaders.h.

1221  {
1222  BOOL result;
1224  return result;
1225  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [1/8]

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

Definition at line 1228 of file gdiplusheaders.h.

1229  {
1230  BOOL result;
1232  return result;
1233  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [2/8]

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

Definition at line 1236 of file gdiplusheaders.h.

1237  {
1238  BOOL result;
1240  nativeRegion, rect.X, rect.Y, rect.Width, rect.Height, g ? getNat(g) : NULL, &result));
1241  return result;
1242  }
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
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipIsVisibleRegionRect(GpRegion *region, REAL x, REAL y, REAL w, REAL h, GpGraphics *graphics, BOOL *res)
Definition: region.c:1277
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [3/8]

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

Definition at line 1245 of file gdiplusheaders.h.

1246  {
1247  BOOL result;
1249  nativeRegion, rect.X, rect.Y, rect.Width, rect.Height, g ? getNat(g) : NULL, &result));
1250  return result;
1251  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [4/8]

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

Definition at line 1254 of file gdiplusheaders.h.

1255  {
1256  BOOL result;
1258  return result;
1259  }
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
GpRegion * nativeRegion
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [5/8]

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

Definition at line 1262 of file gdiplusheaders.h.

1263  {
1264  BOOL result;
1266  return result;
1267  }
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
GpRegion * nativeRegion
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
friend GpRegion *& getNat(const Region *region)
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 1270 of file gdiplusheaders.h.

1271  {
1272  BOOL result;
1273  SetStatus(
1275  return result;
1276  }
GLint GLint GLsizei width
Definition: gl.h:1546
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
GpRegion * nativeRegion
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ IsVisible() [7/8]

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

Definition at line 1279 of file gdiplusheaders.h.

1280  {
1281  BOOL result;
1283  return result;
1284  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)
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 1287 of file gdiplusheaders.h.

1288  {
1289  BOOL result;
1290  SetStatus(
1292  return result;
1293  }
GLint GLint GLsizei width
Definition: gl.h:1546
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
GpRegion * nativeRegion
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
friend GpRegion *& getNat(const Region *region)
GLuint64EXT * result
Definition: glext.h:11304

◆ MakeEmpty()

Status Region::MakeEmpty ( )
inline

Definition at line 1296 of file gdiplusheaders.h.

1297  {
1299  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region)
Definition: region.c:1359
GpRegion * nativeRegion

◆ MakeInfinite()

Status Region::MakeInfinite ( )
inline

Definition at line 1302 of file gdiplusheaders.h.

1303  {
1305  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *region)
Definition: region.c:1374
GpRegion * nativeRegion

◆ SetStatus()

Status Region::SetStatus ( Status  status) const
inlineprivate

Definition at line 1380 of file gdiplusheaders.h.

1381  {
1382  if (status != Ok)
1383  lastStatus = status;
1384  return status;
1385  }
Status lastStatus
static SERVICE_STATUS status
Definition: service.c:31
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 1308 of file gdiplusheaders.h.

1309  {
1311  }
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
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Translate() [1/2]

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

Definition at line 1314 of file gdiplusheaders.h.

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

◆ Translate() [2/2]

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

Definition at line 1320 of file gdiplusheaders.h.

1321  {
1323  }
GLint dy
Definition: linetemp.h:97
Status SetStatus(Status status) const
GpRegion * nativeRegion
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 1326 of file gdiplusheaders.h.

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

◆ Union() [2/4]

Status Region::Union ( const Region region)
inline

Definition at line 1332 of file gdiplusheaders.h.

1333  {
1334  return SetStatus(
1336  }
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346
friend GpRegion *& getNat(const Region *region)

◆ Union() [3/4]

Status Region::Union ( const RectF rect)
inline

Definition at line 1339 of file gdiplusheaders.h.

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

◆ Union() [4/4]

Status Region::Union ( const GraphicsPath path)
inline

Definition at line 1345 of file gdiplusheaders.h.

1346  {
1348  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Xor() [1/4]

Status Region::Xor ( const GraphicsPath path)
inline

Definition at line 1351 of file gdiplusheaders.h.

1352  {
1354  }
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, CombineMode mode)
Definition: region.c:232
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
friend GpRegion *& getNat(const Region *region)

◆ Xor() [2/4]

Status Region::Xor ( const RectF rect)
inline

Definition at line 1357 of file gdiplusheaders.h.

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

◆ Xor() [3/4]

Status Region::Xor ( const Rect rect)
inline

Definition at line 1363 of file gdiplusheaders.h.

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

◆ Xor() [4/4]

Status Region::Xor ( const Region region)
inline

Definition at line 1369 of file gdiplusheaders.h.

1370  {
1371  return SetStatus(
1373  }
Status SetStatus(Status status) const
smooth NULL
Definition: ftsmooth.c:416
GpRegion * nativeRegion
GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, GpRegion *region2, CombineMode mode)
Definition: region.c:346
friend GpRegion *& getNat(const Region *region)

Friends And Related Function Documentation

◆ getNat

GpRegion*& getNat ( const Region region)
friend

Definition at line 1389 of file gdiplusheaders.h.

1390  {
1391  return const_cast<Region *>(region)->nativeRegion;
1392  }

Referenced by Complement(), Equals(), Exclude(), GetBounds(), GetHRGN(), GetRegionScans(), GetRegionScansCount(), Intersect(), IsEmpty(), IsInfinite(), IsVisible(), Region(), Transform(), Union(), and Xor().

◆ Graphics

friend class Graphics
friend

Definition at line 1015 of file gdiplusheaders.h.

◆ GraphicsPath

friend class GraphicsPath
friend

Definition at line 1016 of file gdiplusheaders.h.

◆ Matrix

friend class Matrix
friend

Definition at line 1017 of file gdiplusheaders.h.

Member Data Documentation

◆ lastStatus

Status Region::lastStatus
mutableprivate

Definition at line 1377 of file gdiplusheaders.h.

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

◆ nativeRegion


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