Group: GDI+ Pen - Library: gdiplus
GpStatus WINGDIPAPI GdipCreatePen1(
ARGB color,
REAL width,
GpUnit unit,
GpPen **pen
)
DECLARE INTEGER GdipCreatePen1 IN gdiplus;
INTEGER color,;
SINGLE penwidth,;
INTEGER unit,;
INTEGER @ gdipen
color [in] ARGB color value.
width [in] Real number that specifies the width of this pen"s stroke.
unit [in] Member of the Unit enumeration.
gdipen [out] Handle to the Pen object.
Returns 0 on success.
When you no longer need the Pen handle, call the GdipDeletePen function.
Home