Group: GDI+ Graphics - Library: gdiplus
Custom GDI+ class
Adding a background image to VFP report (VFP9, ReportListener)
GpStatus WINGDIPAPI GdipFillRectangle(
GpGraphics *graphics,
GpBrush *brush,
REAL x,
REAL y,
REAL width,
REAL height
)
DECLARE INTEGER GdipFillRectangle IN gdiplus;
INTEGER graphics,;
INTEGER brush,;
SINGLE x,;
SINGLE y,;
SINGLE width,;
SINGLE height 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.
If the method succeeds, it returns Ok (0), which is an element of the Status enumeration.
Create Brush object using functions GdipCreateSolidFill, GdipCreateHatchBrush, GdipCreateTexture etc.
Home