|
|
|
Graphics Functions (GDI+) |
|
The Graphics functions provide methods for drawing lines, curves, figures, images, and text. A Graphics object stores attributes of the display device and attributes of the items to be drawn.
Return Values
|
|
GdipDeleteGraphics |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
|
|
GdipDrawArc |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
startAngle
sweepAngle
|
|
GdipDrawArcI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
startAngle
sweepAngle
|
|
GdipDrawBezier |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x1
y1
x2
y2
x3
y3
x4
y4
Remarks
|
|
GdipDrawBezierI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x1
y1
x2
y2
x3
y3
x4
y4
Remarks
|
|
GdipDrawBeziers |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawBeziersI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawClosedCurve |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawClosedCurve2 |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
tension
Remarks
|
|
GdipDrawClosedCurve2I |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
tension
Remarks
|
|
GdipDrawClosedCurveI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawCurve |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawCurve2 |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
tension
Remarks
|
|
GdipDrawCurve2I |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
tension
Remarks
|
|
GdipDrawCurve3 |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
offset
numberOfSegments
tension
Remarks
|
|
GdipDrawCurve3I |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
offset
numberOfSegments
tension
Remarks
|
|
GdipDrawCurveI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawEllipse |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
|
|
GdipDrawEllipseI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
|
|
GdipDrawImage |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
|
|
GdipDrawImageI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
|
|
GdipDrawImagePointRect |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
srcx
srcy
srcwidth
srcheight
srcunit
|
|
GdipDrawImagePointRectI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
srcx
srcy
srcwidth
srcheight
srcunit
|
|
GdipDrawImagePoints |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
dstpoints
count
Remarks
|
|
GdipDrawImagePointsI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
dstpoints
count
Remarks
|
|
GdipDrawImagePointsRect |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
points
count
srcx
srcy
srcwidth
srcheight
srcunit
imageAttributes
callback
callbackData
Remarks
|
|
GdipDrawImagePointsRectI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
points
count
srcx
srcy
srcwidth
srcheight
srcunit
imageAttributes
callback
callbackData
Remarks
|
|
GdipDrawImageRect |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
width
height
|
|
GdipDrawImageRectI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
x
y
width
height
|
|
GdipDrawImageRectRect |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
dstx
dsty
dstwidth
dstheight
srcwidth
srcheight
srcunit
imageAttributes
callback
callbackData
Remarks
|
|
GdipDrawImageRectRectI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
image
dstx
dsty
dstwidth
dstheight
srcwidth
srcheight
srcunit
imageAttributes
callback
callbackData
Remarks
|
|
GdipDrawLine |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x1
y1
x2
y2
|
|
GdipDrawLineI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x1
y1
x2
y2
|
|
GdipDrawLines |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawLinesI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawPath |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
path
|
|
GdipDrawPie |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
startAngle
sweepAngle
|
|
GdipDrawPieI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
startAngle
sweepAngle
|
|
GdipDrawPolygon |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawPolygonI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
points
count
Remarks
|
|
GdipDrawRectangle |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
|
|
GdipDrawRectangleI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
x
y
width
height
|
|
GdipDrawRectangles |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
rects
count
|
|
GdipDrawRectanglesI |
|
Description
Syntax
PowerBASIC Syntax
Parameters
graphics
pen
rects
count
|
Page last updated on Monday, 11 December 2006 11:02:46 +0100