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:
Custom GDI+ class
GdipDrawRectangle
..msdn    Add comment     W32 Constants      Translate this page
Uses a pen to draw a rectangle.
Code examples:
Custom GDI+ class
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-28 08:43:32
Modified: 2004-07-28 08:50:29
Visited in last 7 days: 11
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.231.109)
2 sec.Function: 'MAPISendDocuments'
Function group: 'Simple MAPI'
5 sec.Example: 'Retrieving the state of your Internet connection'
10 sec.Function: 'MAPISendMail'
3 day(s)Function: 'DeleteObject'
 
Function group: 'GDI+ Graphics'
 Example: 'Reading and setting system access privileges for the current process'
 Function: 'GetTickCount'
 Function: 'DrawIcon'
 Example: 'How to retrieve the number of print jobs queued for the printer'
 Example: 'How to delete a service object'
Google
Advertise here!