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:
GDI+: Drawing a Pie Chart
GdipDrawPieI
..msdn    Add comment     W32 Constants      Translate this page
Draws a pie.
Code examples:
GDI+: Drawing a Pie Chart
Declaration:
GpStatus WINGDIPAPI GdipDrawPieI(
    GpGraphics *graphics,
    GpPen *pen,
    INT x,
    INT y,
    INT width,
    INT height,
    REAL startAngle,
    REAL sweepAngle
)

FoxPro declaration:
DECLARE INTEGER GdipDrawPieI IN gdiplus;
    INTEGER graphics,;
    INTEGER pen,;
    INTEGER x,;
    INTEGER y,;
    INTEGER width,;
    INTEGER height,;
    SINGLE startAngle,;
    SINGLE sweepAngle
Parameters:
graphics
[in] Handle of a Graphics object.

pen
[in] Handle of a pen that is used to draw the pie.

x
[in] Integer that specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.

y
[in] Integer that specifies the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.

width
[in] Integer that specifies the width of the rectangle that bounds the ellipse in which to draw the pie.

height
[in] Integer that specifies the height of the rectangle that bounds the ellipse in which to draw the pie.

startAngle
[in] Real number that specifies the angle, in degrees, between the x-axis and the starting point of the arc that defines the pie. A positive value specifies clockwise rotation.

sweepAngle
[in] Real number that specifies the angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation.
Return value:
If the function succeeds, it returns Ok (0).
My comment:
See also: GdipFillPieI.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-05-12 16:48:52
Modified: 2006-05-12 16:58:28
Visited in last 7 days: 19
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.80.132.10)
7 sec.Function: 'recvfrom'
13 sec.Function: 'TaskDialogIndirect'
21 sec.Function: 'GlobalMemoryStatus'
29 sec.Function: 'IsValidURL'
39 sec.Function: 'GetDeviceDriverBaseName'
46 sec.Function: 'GetTokenInformation'
53 sec.Function: 'MAPIFindNext'
1 min.Function: 'SwitchDesktop'
1.12 min.Function: 'RegSetValueEx'
1.2 min.Function: 'ScreenToClient'
Google
Advertise here!