Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Pen
..msdn
GdipCreatePen1
GdipDeletePen
Code examples:
Custom GDI+ class
GdipCreatePen1
..msdn    Add comment     W32 Constants      Translate this page
Creates a Pen object that uses a specified color and width.
Code examples:
Custom GDI+ class
Declaration:
GpStatus WINGDIPAPI GdipCreatePen1(
    ARGB color,
    REAL width,
    GpUnit unit,
    GpPen **pen
)

FoxPro declaration:
DECLARE INTEGER GdipCreatePen1 IN gdiplus;
    INTEGER   color,;
    SINGLE    penwidth,;
    INTEGER   unit,;
    INTEGER @ gdipen

Parameters:
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.
Return value:
Returns 0 on success.
My comment:
When you no longer need the Pen handle, call the GdipDeletePen function.
Word Index links for the GdipCreatePen1 :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-26 17:41:42
Modified: 2004-07-26 17:47:23
Visited in last 7 days: 20
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.196.72.162)
4 sec.Function: 'DragDetect'
8 sec.Function: 'PathCompactPathEx'
12 sec.Function: 'IsWellKnownSid'
16 sec.Function: 'WinHttpQueryDataAvailable'
19 sec.
Function group: 'Icon'
22 sec.Function: 'NetUserAdd'
26 sec.Function: 'FreeLibrary'
30 sec.Function: 'DrawDibDraw'
34 sec.Function: 'WinHttpAddRequestHeaders'
38 sec.Function: 'NetShareEnum'
Google
Advertise here!