Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Graphics
..msdn
GdipCreateFromHDC
GdipCreateFromHDC2
GdipCreateFromHWND
GdipDeleteGraphics
GdipDrawImageI
GdipDrawImageRectI
GdipDrawImageRectRectI
GdipDrawLineI
GdipDrawPieI
GdipDrawRectangle
GdipFillPieI
GdipFillRectangle
GdipGetDC
GdipGetDpiX
GdipGetDpiY
GdipGetPageScale
GdipGetPageUnit
GdipGetSmoothingMode
GdipReleaseDC
GdipResetWorldTransform
GdipRotateWorldTransform
GdipSetClipRectI
GdipSetPageScale
GdipSetPageUnit
GdipSetSmoothingMode
GdipSetTextRenderingHint
GdipSetWorldTransform
GdipTranslateWorldTransform
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
Custom GDI+ class
GdipFillRectangle
..msdn    Add comment     W32 Constants      Translate this page
Uses a brush to fill the interior of a rectangle.
Code examples:
Custom GDI+ class
Adding a background image to VFP report (VFP9, ReportListener)
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-28 08:33:30
Modified: 2004-07-28 08:39:05
Visited in last 7 days: 27
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.212.93)
12 sec.Function: 'GdipGetSmoothingMode'
23 sec.Function: 'SQLGetConnectAttr'
36 sec.Function: 'SQLNativeSql'
47 sec.
Function group: 'System Shutdown'
57 sec.Function: 'Sleep'
1.15 min.Function: 'GetWindowContextHelpId'
1.35 min.Function: 'GetMonitorInfo'
1.55 min.Function: 'GdipRemovePropertyItem'
1.75 min.Function: 'ImageList_Remove'
1.95 min.Function: 'BringWindowToTop'
Google
Advertise here!