 |
GdipDrawLineI ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Uses a pen to draw a line. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipDrawLineI(
GpGraphics *graphics,
GpPen *pen,
INT x1, INT y1,
INT x2, INT y2)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipDrawLineI IN gdiplus;
INTEGER graphics,;
INTEGER gdipen,;
INTEGER x1,;
INTEGER y1,;
INTEGER x2,;
INTEGER y2
|
 |
 |
 |
| Parameters: |
 |
graphics
[in] Pointer to a Graphics object.
pen
[in] Pointer to a Pen that is used to draw the line.
x1
[in] Integer that specifies the x-coordinate of the starting point of the line.
y1
[in] Integer that specifies the y-coordinate of the starting point of the line.
x2
[in] Integer that specifies the x-coordinate of the ending point of the line.
y2
[in] Integer that specifies the y-coordinate of the ending point of the line |
 |
 |
| 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 GdipDrawLineI : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2009-01-15 15:51:51 | | Modified: | 2009-01-15 15:58:44 | Visited in last 7 days: 72 |