 |
GdipDrawRectangle ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Uses a pen to draw a rectangle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipDrawRectangle(
GpGraphics *graphics,
GpPen *pen,
REAL x,
REAL y,
REAL width,
REAL height
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipDrawRectangle IN gdiplus;
INTEGER graphics,;
INTEGER gdipen,;
SINGLE x,;
SINGLE y,;
SINGLE width,;
SINGLE height
|
 |
 |
 |
| Parameters: |
 |
graphics
[in] Pointer to a Graphics object.
pen
[in] Pointer to a Pen that is used to draw the rectangle.
x
[in] Real number that specifies the x-coordinate of the upper-left corner of the rectangle.
y
[in] Real number that specifies the y-coordinate of the upper-left corner of the rectangle.
width
[in] Real number that specifies the width of the rectangle.
height
[in] Real number that specifies the height of the rectangle. |
 |
 |
| Return value: |
 |
| If the method succeeds, it returns Ok (0), which is an element of the Status enumeration. |
 |
 |
| My comment: |
 |
| Create Pen object with GdipCreatePen1, GdipCreatePen2 or GdipClonePen function. |
 |
 |
| Word Index links for the GdipDrawRectangle : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-28 08:43:32 | | Modified: | 2004-07-28 08:50:29 | Visited in last 7 days: 22 |