Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GMGraphicsMBS.PathQuadraticCurvetoRel(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.PathQuadraticCurvetoRel(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.PathQuadraticCurvetoRel(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

GMGraphicsMBS.PathSmoothCurvetoAbs(c as GMCoordinateMBS)
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).
Notes:
The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothCurvetoAbs(c() as GMCoordinateMBS)
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).
Notes:
The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothCurvetoAbs(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).
Notes: The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothCurvetoRel(c as GMCoordinateMBS)
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).
Notes:
The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothCurvetoRel(c() as GMCoordinateMBS)
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).
Notes:
The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothCurvetoRel(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).
Notes: The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurvetoAbs, PathCurvetoRel, PathSmoothCurvetoAbs or PathSmoothCurvetoRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). PathSmoothCurvetoAbs indicates that absolute coordinates will follow; PathSmoothCurvetoRel 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.PathSmoothQuadraticCurvetoAbs(c as GMCoordinateMBS)
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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.PathSmoothQuadraticCurvetoAbs(c() as GMCoordinateMBS)
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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.PathSmoothQuadraticCurvetoAbs(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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.PathSmoothQuadraticCurvetoRel(c as GMCoordinateMBS)
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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.PathSmoothQuadraticCurvetoRel(c() as GMCoordinateMBS)
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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.PathSmoothQuadraticCurvetoRel(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).
Notes:
The control point is assumed to be the reflection of the control point on the previous
command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurvetoAbs, PathQuadraticCurvetoRel, PathSmoothQuadraticCurvetoAbs or PathSmoothQuadraticCurvetoRel, assume the control point is coincident with the current point.) PathSmoothQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathSmoothQuadraticCurvetoRel indicates that relative coordinates will follow. 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.Point(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: Draw a point using stroke color and thickness at coordinate.
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.fillColor = new GMColorRGBMBS("red") // set color

dim draw as GMGraphicsMBS = image.Graphics

// draw cross with pixels
for x as Integer = 240 to 260
draw.Point(x, 250)
next
for y as Integer = 240 to 260
draw.Point(250,y)
next
draw.Draw

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GMGraphicsMBS.PointSize(pointSize as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Set font point size.

Feedback, Comments & Corrections

GMGraphicsMBS.Polygon(values() as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draw an arbitrary polygon using stroke color and thickness consisting of three or more coordinates contained in an array.
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.fillColor = new GMColorRGBMBS("red") // set color
image.strokeColor = new GMColorRGBMBS("green") // set color

dim draw as GMGraphicsMBS = image.Graphics
dim coordinates(-1) as GMCoordinateMBS

coordinates.Append new GMCoordinateMBS(70,70)
coordinates.Append new GMCoordinateMBS(100,340)
coordinates.Append new GMCoordinateMBS(380,200)
coordinates.Append new GMCoordinateMBS(70,70)

draw.Polygon coordinates
draw.Draw

Backdrop=image.CopyPicture
Notes: If a fill color is specified, then the object is filled.

Feedback, Comments & Corrections

GMGraphicsMBS.Polyline(values() as GMCoordinateMBS)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draw an arbitrary polyline using stroke color and thickness consisting of three or more coordinates contained in an array.
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("green") // set color

dim draw as GMGraphicsMBS = image.Graphics
dim coordinates(-1) as GMCoordinateMBS

coordinates.Append new GMCoordinateMBS(70,70)
coordinates.Append new GMCoordinateMBS(100,340)
coordinates.Append new GMCoordinateMBS(380,200)

draw.Polyline coordinates
draw.Draw

Backdrop=image.CopyPicture
Notes: If a fill color is specified, then the object is filled.

Feedback, Comments & Corrections

GMGraphicsMBS.PopClipPath
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Pop (terminate) clip path definition started by PushClipPath.

Feedback, Comments & Corrections

GMGraphicsMBS.PopGraphicContext
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Pop Graphic Context.
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 GMColorMBS() // transparent fillcolor
image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics

// Draw a Rectangle
draw.PushGraphicContext
draw.Translation(250,250)
draw.Rotation(50)
draw.Rectangle(0, 0, 100, 100) // rotated
draw.PopGraphicContext
draw.Rectangle(0, 0, 100, 100) // not rotated
draw.Draw

Backdrop=image.CopyPicture
Notes: Removing the current graphic context from the graphic context stack restores the options to the values they had prior to the preceding PushGraphicContext operation.

Feedback, Comments & Corrections

GMGraphicsMBS.PopPattern
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Terminate a pattern definition started via PushPattern.

Feedback, Comments & Corrections

GMGraphicsMBS.PushClipPath(id as string)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Push (create) clip path definition with id.
Notes: Clip patch definition consists of subsequent drawing commands, terminated by PopClipPath.

Feedback, Comments & Corrections

GMGraphicsMBS.PushGraphicContext
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Push Graphic Context.
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 GMColorMBS() // transparent fillcolor
image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics

// Draw a Rectangle
draw.PushGraphicContext
draw.Translation(250,250)
draw.Rotation(50)
draw.Rectangle(0, 0, 100, 100) // rotated
draw.PopGraphicContext
draw.Rectangle(0, 0, 100, 100) // not rotated
draw.Draw

Backdrop=image.CopyPicture
Notes: When a graphic context is pushed, options set after the context is pushed (such as coordinate transformations, color settings, etc.) are saved to a new graphic context. This allows related options to be saved on a graphic context "stack" in order to support heirarchical nesting of options. When PopGraphicContext is used to pop the current graphic context, the options in effect during the last PushGraphicContext operation are restored.

Feedback, Comments & Corrections

GMGraphicsMBS.PushPattern(id as string, x as Integer, y as Integer, width as Integer, height as Integer)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Start a pattern definition with arbitrary pattern name specified by id, pattern offset specified by x and y, and pattern size specified by width and height.
Notes: The pattern is defined within the coordinate system defined by the specified offset and size. Arbitrary drawing objects (including DrawableCompositeImage) may be specified between PushPattern and PopPattern in order to draw the pattern. Normally the pair PushGraphicContext & PopGraphicContext are used to enclose a pattern definition. Pattern definitions are terminated by a PopPattern object.

Feedback, Comments & Corrections

GMGraphicsMBS.Rectangle(upperLeftX as Double, upperLeftY as Double, lowerRightX as Double, lowerRightY as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draw a rectangle using stroke color and thickness from upper-left coordinates to lower-right coordinates.
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 a rectangle
draw.Rectangle(250, 250, 100, 100)
draw.Draw

Backdrop=image.CopyPicture
Notes: If a fill color is specified, then the object is filled.

Feedback, Comments & Corrections

GMGraphicsMBS.Rotation(angle as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Set rotation to use when drawing (coordinate transformation).
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics

draw.StrokeColor new GMColorRGBMBS("red")
draw.Line(100,100,400,400)
draw.Rotation 5
draw.StrokeColor new GMColorRGBMBS("blue")
draw.Line(100,100,400,400)
draw.Draw

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GMGraphicsMBS.RoundRectangle(centerX as Double, centerY as Double, width as Double, height as Double, cornerWidth as Double, cornerHeight as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draw a rounded rectangle using stroke color and thickness, with specified center coordinate, specified width and height, and specified corner width and height.
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 a round rectangle
draw.RoundRectangle(250, 250, 100, 100,20,20)
draw.Draw

Backdrop=image.CopyPicture
Notes: If a fill color is specified, then the object is filled.

Feedback, Comments & Corrections

GMGraphicsMBS.Scaling(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: Apply scaling in x and y direction while drawing objects (coordinate transformation).
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics
draw.FillColor new GMColorRGBMBS("red")

draw.StrokeColor new GMColorRGBMBS("red")
draw.Line(100,100,400,400)
draw.StrokeColor new GMColorRGBMBS("blue")
draw.Scaling 1.2,1.1
draw.Line(100,100,400,400)
draw.Draw

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GMGraphicsMBS.SkewX(angle as Double)
Type Topic Plugin Version macOS Windows Linux Targets
method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Apply Skew in X direction (coordinate transformation)
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

image.strokeWidth = 5

dim draw as GMGraphicsMBS = image.Graphics

draw.StrokeColor new GMColorRGBMBS("red")
draw.Line(100,100,400,400)
draw.SkewX 5
draw.StrokeColor new GMColorRGBMBS("blue")
draw.Line(100,100,400,400)
draw.Draw

Backdrop=image.CopyPicture

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 blog