Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GMGraphicsMBS.PathArcAbs(c as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathArcAbs(c() as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathArcAbs(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.strokeColor = new GMColorRGBMBS("red") // Outline color
image.fillColor = new GMColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics

// Draw an arc

draw.PathMovetoAbs 100,100
draw.PathArcAbs(100,100, 0, false, false, 200,200)
draw.DrawPath
draw.Draw

Backdrop=image.CopyPicture
Notes: The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathArcRel(c as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathArcRel(c() as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathArcRel(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes: The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathClosePath
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Close the current subpath by drawing a straight line from the current point to current subpath's most recent starting point (usually, the most recent moveto point).

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoAbs(c as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoAbs(c() as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoAbs(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes: PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoRel(c as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoRel(c() as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathCurvetoRel(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes: PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoAbs(c as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoAbs(c() as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoAbs(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoHorizontalAbs(v as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a horizontal line from the current point (cpx, cpy) to (x, cpy). PathLinetoHorizontalAbs indicates that absolute coordinates are supplied; PathLinetoHorizontalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoHorizontalRel(v as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a horizontal line from the current point (cpx, cpy) to (x, cpy). PathLinetoHorizontalAbs indicates that absolute coordinates are supplied; PathLinetoHorizontalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoRel(c as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoRel(c() as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoRel(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Example:
// new picture, 500x500 and filled with white
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)


dim draw as GMGraphicsMBS = image.Graphics

// Draw path

dim cr as new GMColorRGBMBS("red")
dim gr as new GMColorRGBMBS("green")
draw.StrokeColor cr
draw.FillColor gr
draw.PathMovetoAbs(30,10)
draw.PathLinetoAbs(20,55)
draw.PathLinetoAbs(70,50)
draw.PathLinetoAbs(80,5)
draw.DrawPath

draw.Draw

// show picture
image.type = image.TrueColorType // make sure it's a bitmap
Backdrop=image.CopyPicture
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoVerticalAbs(v as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a vertical line from the current point (cpx, cpy) to (cpx, y). PathLinetoVerticalAbs indicates that absolute coordinates are supplied; PathLinetoVerticalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y.

Feedback, Comments & Corrections

GMGraphicsMBS.PathLinetoVerticalRel(v as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a vertical line from the current point (cpx, cpy) to (cpx, y). PathLinetoVerticalAbs indicates that absolute coordinates are supplied; PathLinetoVerticalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y.

Feedback, Comments & Corrections

GMGraphicsMBS.PathMovetoAbs(c as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathMovetoAbs(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathMovetoRel(c as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathMovetoRel(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathQuadraticCurvetoAbs(c as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes:
PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathQuadraticCurvetoAbs(c() as GMPathArgsMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes:
PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x and y.

See also:

Feedback, Comments & Corrections

GMGraphicsMBS.PathQuadraticCurvetoAbs(x1 as Double, y1 as Double, x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes: PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

See also:

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS GraphicsMagick Plugin.

The biggest plugin in space...




Links
MBS Xojo PDF Plugins