 |
GdipFillRectangle ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Uses a brush to fill the interior of a rectangle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipFillRectangle(
GpGraphics *graphics,
GpBrush *brush,
REAL x,
REAL y,
REAL width,
REAL height
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipFillRectangle IN gdiplus;
INTEGER graphics,;
INTEGER brush,;
SINGLE x,;
SINGLE y,;
SINGLE width,;
SINGLE height
|
 |
 |
 |
| Parameters: |
 |
graphics
[in] Pointer to a Graphics object.
brush
[in] Pointer to a Brush that is used to paint the interior of the rectangle.
x
[in] Real number that specifies the x-coordinate of the upper-left corner of the rectangle to be filled.
y
[in] Real number that specifies the y-coordinate of the upper-left corner of the rectangle to be filled.
width
[in] Real number that specifies the width of the rectangle to be filled.
height
[in] Real number that specifies the height of the rectangle to be filled. |
 |
 |
| Return value: |
 |
| If the method succeeds, it returns Ok (0), which is an element of the Status enumeration. |
 |
 |
| My comment: |
 |
| Create Brush object using functions GdipCreateSolidFill, GdipCreateHatchBrush, GdipCreateTexture etc. |
 |
 |
| Word Index links for the GdipFillRectangle : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-28 08:33:30 | | Modified: | 2004-07-28 08:39:05 | Visited in last 7 days: 18 |