
AdjointRSMatrix(TRSMatrix)

Modifies the input matrix to return the its adjunct. The adjunct of a square matrix is the transpose of its cofactor matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



Arc(Double,Double,Double,Double,Double)

Overloaded. Returns a path string that describes a donutlike arc


Arc(TRSPathData,Double,Double,Double,Double,Double)

Overloaded. Creates a donutlike Arc in the path.


BezierPolygonPoints(TPoints,Boolean,Boolean,Integer)

Overloaded. Creates a polygonal shape based on bezier control points.


BezierPolygonPoints(TRSPoints,Boolean,Boolean,Integer)

Overloaded. Creates a polygonal shape based on bezier control points.


CanvasCenterPoint(TCanvasRect)

Returns the center point of the canvas rectangle.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasColorToIdent(Longint,String)

Converts the canvas color to an identifier. Returns true if the Color can be converted to an identifier.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasColorToString(TCanvasColor)

Converts the canvas color to a string. If the color is one of the color labels (e.g., clWhite or claWhite), the function will return the label. Otherwise, it will return the hexidecimal representation of the color.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasDiv(Double,Double)

Overloaded. Divides X by Y. In VCL, CanvasDiv returns round(X / Y). In FMX, CanvasDiv returns X/Y.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasDiv(Int64,Int64)

Overloaded. Divides X by Y. In VCL, CanvasDiv returns X div Y. In FMX, CanvasDiv returns X/Y.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasMax(TCanvasPixel[])

Returns the maximum value from the array of TCanvasPixel.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasMin(TCanvasPixel[])

Returns the minimum value from the array of TCanvasPixel.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasPoint(Integer,Integer)

Overloaded. Creates a TCanvasPoint from the input coordinates.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasPoint(Single,Single)

Overloaded. Creates a TCanvasPoint from the input coordinates.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasRect(Integer,Integer,Integer,Integer)

Overloaded. Creates a TCanvasRect from the input coordinates.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasRect(Single,Single,Single,Single)

Overloaded. Creates a TCanvasRect from the input coordinates.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasRect(TRect)

Overloaded. Returns a TCanvasRect version of the input rectangle.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasRect(TRSRect)

Overloaded. Returns a TCanvasRect version of the input rectangle.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasRound(Double)

Truncates the input doubleprecision floating point number to the TCanvasPixel precision. In FMX, there is no rounding, just conversion to Single. In VCL, the input number is truncated to the nearest integer.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CanvasTrunc(Double)

Rounds the input doubleprecision floating point number to the TCanvasPixel precision. In FMX, there is no rounding, just conversion to Single. In VCL, the input number is rounded to an integer.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



CenterRect(Integer,Integer,Integer,Integer)

Overloaded. Returns a rectangle centered around point specified by X and Y


CenterRect(TPoint,Integer,Integer)

Overloaded. Returns a rectangle centered around point


CenterRect(TRect,TRect)

Overloaded. Modifies the input rectangle R to be centered within the bounding rectangle. The modified R rectangle is returned.


CenterRect(TRSGfxFloat,TRSGfxFloat,TRSGfxFloat,TRSGfxFloat)

Overloaded. Returns a rectangle centered around point


CenterRect(TRSPoint,TRSGfxFloat,TRSGfxFloat)

Overloaded. Returns a rectangle centered around point


CenterRect(TRSRect,TRSRect)

Overloaded. Modifies the input rectangle R to be centered within the bounding rectangle. The modified R rectangle is returned.


CopyCanvasState(TCanvas,TCanvas)

Copies the canvas brush, pen, and font from one canvas to another.
Note

FMX also copies the transformation matrix.



CreateRotationRSMatrix(Single)

Overloaded. Returns a rotation matrix for rotating an object by Angle degrees. The rotation is around the origin.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



CreateRotationRSMatrix(TRSPoint,Single)

Overloaded. Returns a rotation matrix for rotating an object by Angle degrees. The rotation is around the input point.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



CreateScaleRSMatrix(Single,Single)

Returns a scaling matrix for scaling an object by the input factors. The scaling is from the origin.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



CreateTranslateRSMatrix(Single,Single)

Returns a translation matrix for translating or moving an object by the change in X and Y.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



DirectionGradient(TCanvas,TCanvasRect,TCanvasColor[],TGradientDirection,Integer,Single)

Paints a rectangular portion of the canvas with a linear gradient specified by the colors array


DoubleToByte(Double)

Returns the floating point number bounded between 0 and 255.


DrawArcWithBezier(TRSPathData,Single,Single,Single,Single,Single,Single,Boolean)

Represents method DrawArcWithBezier(TRSPathData,Single,Single,Single,Single,Single,Single,Boolean).


DrawArrow(TCanvas,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,String,TArrowOptions,TCanvasPixel,Single)

Overloaded. Draws a line segment with an arrow heads.


DrawArrow(TCanvas,TPoints,TCanvasPixel,String,TArrowOptions,TCanvasPixel,TCanvasPixel,Single)

Overloaded. Draws a polygon with arrow heads


DrawArrow(TCanvas,TRSPoints,TCanvasPixel,String,TArrowOptions,TCanvasPixel,TCanvasPixel,Single)

Overloaded. Draws a polygon with arrow heads


DrawBezierPolygon(TCanvas,TPoints,Boolean,Boolean,Boolean,Integer,Single)

Overloaded. Draw and optionally fill a bezier polygon shape


DrawBezierPolygon(TCanvas,TRSPoints,Boolean,Boolean,Boolean,Integer,Single)

Overloaded. Draw and optionally fill a bezier polygon shape


DrawDonutSlice(TCanvas,TCanvasRect,Double,Double,Integer,Double,Double,Single)

Draws and fills a donut arc or slice on the canvas


DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Double,Integer,Single)

Overloaded. Draws and fills a pie slice on the canvas


DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Integer,Single)

Overloaded. Draws and fills a pie slice on the canvas


DrawShape(TCanvas,TCanvasRect,TBitmap,TRSShapeStyle,Boolean,TCanvasColor,TCanvasColor,TCanvasPixel,Single)

Overloaded. Draws the specified Shape to the canvas.


DrawShape(TCanvas,TCanvasRect,TRSShapeType,TRSShapeOrientation,Boolean,TCanvasPixel)

Overloaded. Draws the specified Shape to the canvas.


EllipseGradient(TCanvas,TCanvasRect,Single,Single,TCanvasColor[],Single,Single)

Overloaded. Paints a rectangular portion of the canvas with a radial gradient specified by the Colors array.


EllipseGradient(TCanvas,TCanvasRect,TCanvasColor[],Integer,Single)

Overloaded. Paints a rectangular portion of the canvas with a radial gradient specified by the Colors array.


EqualsRect(TRect,TRect)

Overloaded. Returns true if the two rectangles equal


EqualsRect(TRSRect,TRSRect)

Overloaded. Returns true if the two rectangles equal


FitRect(TRect,TRect,Boolean)

Overloaded. Scales and translates the input rectangle, aRect, so that it fits into the boundaries of the BoundsRect. The function returns the ratio the input rectangle needed to grow to fit within the boundary rectangle.


FitRect(TRSMatrix,TRSRect,TRSRect)

Overloaded. Returns the input rectangle, aRect, modified so that aRect fits into the target rectangle. Both aRect and TargetRect are modified by the input matrix.


FitRect(TRSRect,TRSRect,Boolean)

Overloaded. Scales and translates the input rectangle, aRect, so that it fits into the boundaries of the BoundsRect. The function returns the ratio the input rectangle needed to grow to fit within the boundary rectangle.


FixRect(TRect)

Overloaded. Returns a rectangle where the TopLeft coordinate of the rectangle is above and to the left of the BottomRight coordinate of the rectangle.


FixRect(TRSRect)

Overloaded. Returns a rectangle where the TopLeft coordinate of the rectangle is above and to the left of the BottomRight coordinate of the rectangle.


Frame3DEllipse(TCanvas,TCanvasRect,TCanvasColor,TCanvasColor,TCanvasPixel)

Fills an ellipse on the canvas with a bevel to give the appearance of a 3D shape or 3D button


Frame3DExt(TCanvas,TCanvasRect,TCanvasColor,TCanvasColor,TCanvasPixel,Boolean,TCanvasPixel,TCanvasPixel)

Draws a 3D rectangular button with bevels


GetCanvasPointOnRect(TCanvasRect,TConnectionPoint)

Returns the point on the input rectangle at the specified connection point.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



GetMultilineTextHeight(TCanvas,string)

Returns the height in pixels of a multiline text string.


GetPointOnRect(TRect,TConnectionPoint)

Returns the point on the input rectangle at the specified connection point.


GetRotatedTextExtent(TCanvas,Integer,String,TPoint)

Overloaded. Returns size and origin of a rotated string


GetRotatedTextExtent(TCanvas,Integer,String,TRSPoint)

Overloaded. Returns size and origin of a rotated string


GetRSPointOnRSRect(TRSRect,TConnectionPoint)

Returns the point on the input rectangle at the specified connection point.


GetToken(string,string,string)

Represents method GetToken(string,string,string).


IdentToCanvasColor(String,Integer)

Converts the string identifier to a canvas color. Returns true if the string can be converted to an identifier.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



InCenterPoint(TPoint,TPoint,TPoint)

Overloaded. Returns the center point of the triangle specified by the A, B, C points.


InCenterPoint(TRSPoint,TRSPoint,TRSPoint)

Overloaded. Returns the center point of the triangle specified by the A, B, C points.


IndexToColor(Integer,Integer,TColors)

Converts a position in a range of numbers to a color


InvertRSMatrix(TRSMatrix)

Inverts the matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



IsIdentityMatrix(TRSMatrix)

Returns True if the input matrix equals the identity matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



LineGradient(TCanvas,TCanvasRect,TCanvasColor[],Integer,TGradientOrientation,Single)

Paints a rectangular portion of the canvas with a linear gradient specified by the colors array, either updown or leftright.
Tip

LineGradient looks like a progress bar and can be used as such.



Matrix(TRSMatrix)

Creates a matrix from the input RiverSoftAVG TRSMatrix


OffsetPoint(TPoint,Integer,Integer)

Overloaded. Offsets the point by X and Y and returns the moved point.


OffsetPoint(TPoint,TPoint,TRSGfxFloat)

Overloaded. Offsets the point in the direction specified by LineEndPt. The Dist parameters specifies the distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point. The moved point is returned.


OffsetPoint(TRSPoint,Single,Single)

Overloaded. Offsets the point by X and Y and returns the moved point.


OffsetPoint(TRSPoint,TRSPoint,TRSGfxFloat)

Overloaded. Offsets the point in the direction specified by LineEndPt. The Dist parameters specifies the distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point. The moved point is returned.


OffsetRSRect(TRSRect,Single,Single)

Overloaded. Offsets or moves the rectangle by DX and DY. Returns true if the rectangle can be moved.


PointInPath(TPoint,TPoints)

Overloaded. Returns true if the input point, Pt, is within the input polygon, Points.


PointInPath(TPoints,Integer,Integer)

Overloaded. Returns true if the point specified by the X and Y coordinates is within the input polygon, Points.


PointInPath(TRSPoint,TRSPoints)

Overloaded. Returns true if the input point, Pt, is within the input polygon, Points.


PointInPath(TRSPoints,Single,Single)

Overloaded. Returns true if the point specified by the X and Y coordinates is within the input polygon, Points.


PointsEqual(TRSPoint,TRSPoint)

Overloaded. Returns true if the two points equal


PointsToRSPoints(TPoints)

Converts the input integer based polygon to a floating point based polygon.


PointToRSPoint(TPoint)

Converts the input TPoint to a TRSPoint.


ProgressCircle(TCanvas,TCanvasRect,Integer,Integer,Integer,Integer,TColors,Boolean,Integer,TRSShapeType,TRSShapeOrientation,Boolean,Integer,Integer,TProgressDirection,TProgressDisplayType)

Draws a circular progress "bar" using a gradient. Similar to a progress bar, but in a circular orientation. Shapes are drawn on the perimeter of the circle up to the current progress position.


ProgressPie(TCanvas,TCanvasRect,Integer,Integer,Integer,Integer,TColors,Boolean,Integer,Integer,TProgressDirection,TProgressDisplayType)

Draws a pieshaped progress "bar" using a gradient. Similar to a progress bar, but in a Pie shape. Pie slices are drawn up to the current progress position.


ProgressRect(TCanvas,TCanvasRect,Integer,Integer,Integer,Integer,TColors,Boolean,Integer,TRSShapeType,TRSShapeOrientation,Boolean,Integer,Integer,TProgressOrientation,TProgressDirection,TProgressDisplayType)

Draws a rectangular progress bar using a gradient. Similar to a progress bar, either in vertical or horizontal orientation. Shapes are drawn up to the current progress position.


PtInRSRect(TPoint,TRSRect)

Overloaded. Returns true if the input point is inside the rectangle.


PtInRSRect(TRSPoint,TRSRect)

Overloaded. Returns true if the input point is inside the rectangle.


RectGradient(TCanvas,TCanvasRect,TCanvasColor[],Integer,Single)

Paints a rectangular portion of the canvas with a gradient specified by the Colors array.


RectToRSRect(TRect)

Converts the integerbased rectangle into a floating pointbased rectangle.


RSCenterPoint(TPoints)

Overloaded. Returns the center point of the input polygon


RSCenterPoint(TRect)

Overloaded. Returns the center point of the input rectangle.


RSCenterPoint(TRSPoint,TRSPoint,Single)

Overloaded. Returns a point of on the input line segment. The Midpoint parameter specifies the percentage distance along the line segment to return a point. By default, the function returns the midpoint.


RSCenterPoint(TRSPoints)

Overloaded. Returns the center point of the input polygon


RSCenterPoint(TRSRect)

Overloaded. Returns the center point of the input rectangle.


RSDistance(TRSPoint,TRSPoint)

Returns the distance between two points or, equivalently, the length of the line segment specified by the two points.


RSInflateRect(TRect,Integer,Integer)

Overloaded. Inflates the rectangle width and height by DX and DY. The rectangle is not moved and the center point stays the same.


RSInflateRect(TRSRect,Single,Single)

Overloaded. Inflates the rectangle width and height by DX and DY. The rectangle is not moved and the center point stays the same.


RSIntersectLine(TRSPoint,TRSPoint,TRSPoint,TRSPoint,TRSPoint)

Returns the intersection of two line segments in the IntersectionPt parameter: v1, v2 are first line segment v3, v4 are other line segment. The function returns true if the two line segments intersect.


RSIntersectRect(TRect,TRect)

Overloaded. Returns true if the two input rectangles, R1 and R2, intersect or overlap.


RSIntersectRect(TRect,TRect,TRect)

Overloaded. Returns true if the two input rectangles, R1 and R2, intersect or overlap.


RSIntersectRect(TRSPoint,TRSPoint,TRSRect,TRSPoints)

Overloaded. Returns true if line segment inside the rectangle R or intersects a side of the rectangle. The line segment inside the rectangle is returned in the Pts parameter.


RSIntersectRect(TRSRect,TRSRect)

Overloaded. Returns true if the two input rectangles, R1 and R2, intersect or overlap.


RSIntersectRect(TRSRect,TRSRect,TRSRect)

Overloaded. Returns true if the two input rectangles, R1 and R2, intersect or overlap.


RSMatrix(TMatrix)

Creates a RiverSoftAVG matrix from the input TMatrix


RSMatrixDeterminant(TRSMatrix)

Computes the determinant value for a square TRSMatrix in 2Dspace.
The implementation of the linear algebraic expression for the determinant corresponds with the Laplace expansion formula.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixEquals(TRSMatrix,TRSMatrix,Single)

Returns True if all the values of M1 and M2 matrices are the same, using the specified epsilon error threshold; it returns False otherwise.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixEulerAngles(TRSMatrix)

Returns euler angles in radians.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixMultiply(Single,TRSMatrix)

Overloaded. Multiplies the value by the matrix, returning the transformed value.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixMultiply(TRSMatrix,TRSMatrix)

Overloaded. Multiples the M1 matrix by the M2 matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixMultiply(TRSPoint,TRSMatrix)

Overloaded. Multiplies the point by the matrix, returning the transformed point.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixMultiply(TRSVector,TRSMatrix)

Overloaded. Multiplies the vector by the matrix, returning the transformed vector.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixRotationAngle(TRSMatrix)

Returns rotation angle in degrees.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixScaleVector(TRSMatrix)

Returns the scaling values of the input matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixTransform(TRSMatrix,TRSRect)

Overloaded. Transforms the rectangle by the input matrix and returns the new rectangle.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixTransform(TRSMatrix,TRSVector)

Overloaded. Transforms the vector by the matrix and returns the new vector
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSMatrixTranslationVector(TRSMatrix)

Returns translation values of the input matrix.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSNormalizeRect(TRect)

Overloaded. Fixes the input rectangle so that the TopLeft coordinate of the rectangle is above and to the left of the BottomRight coordinate of the rectangle.


RSNormalizeRect(TRSRect)

Overloaded. Fixes the input rectangle so that the TopLeft coordinate of the rectangle is above and to the left of the BottomRight coordinate of the rectangle.


RSPoint(TPoint)

Overloaded. Returns a point based on the input integerbased point.


RSPoint(TRSGfxFloat,TRSGfxFloat)

Overloaded. Returns a point based on the input X and Y.


RSPoint(TRSVector)

Overloaded. Creates a point from the input vector.


RSPointsToPoints(TRSPoints)

Converts the input floating point based polygon to an integer based polygon. The input points are rounded to the nearest integer coordinates.


RSPointToCanvasPoint(TRSPoint)

Converts the input TRSPoint to a TCanvasPoint.


RSPointToPoint(TRSPoint)

Converts the input TRSPoint to a TPoint.


RSPointToString(TRSPoint,String)

Returns string representation of a point


RSRect(TRect)

Overloaded. Returns a rectangle created from the integerbased rectangle.


RSRect(TRSGfxFloat,TRSGfxFloat,TRSGfxFloat,TRSGfxFloat)

Overloaded. Returns a rectangle created from the Left, Top, Right, and Bottom coordinates.


RSRect(TRSPoint,TRSPoint)

Overloaded. Returns a rectangle created from two points that specify the Top/Left and Bottom/Right of the rectangle.


RSRect(TRSRect)

Overloaded. Returns a copy of the rectangle.


RSRectHeight(TRect)

Overloaded. Returns the height of the rectangle


RSRectHeight(TRSRect)

Overloaded. Returns the height of the rectangle


RSRectToRect(TRSRect)

Converts the floating pointbased rectangle into a integerbased rectangle.


RSRectWidth(TRect)

Overloaded. Returns the width of the rectangle


RSRectWidth(TRSRect)

Overloaded. Returns the width of the rectangle


RSVector(Single,Single,Single)

Overloaded. Creates a vector from the point specified by X and Y, and the weight


RSVector(TRSPoint,Single)

Overloaded. Creates a vector from the specified point and the weight


RSVector(TVector)

Overloaded. Creates a RiverSoftAVG vector from the input TVector


RSVectorAdd(TRSVector,TRSVector)

Adds two given vectors. The vector given through the AFirstVector parameter is added to the vector given through the ASecondVector parameter.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorAngle(TRSVector,TRSVector)

Returns the arc cosine angle of the RSVectorAngleCosine of the two vectors.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorAngleCosine(TRSVector,TRSVector)

Returns the scalar product of the two vectors. If the dot product would be greater than 1, the function returns 1.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorCrossProductZ(TRSVector,TRSVector)

Returns the cross product of two vectors. Given two linearly independent vectors v1 and v2, the cross product, v1 × v2, is a vector that is perpendicular to both v1 and v2 and therefore normal to the plane containing them.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorDivide(TRSVector,Single)

Divides the vector by a value.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorDotProduct(TRSVector,TRSVector)

Returns the scalar product of the two vectors.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorLength(TRSVector)

Returns the length of the current vector. The length is computed as square root of the norm of the vector.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorMultiply(Single,TRSVector)

Overloaded. Multiples the components of the vector by a number.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorMultiply(TRSVector,Single)

Overloaded. Multiples two given vectors. The vector given through the AFirstVector parameter is multipled by the vector given through the ASecondVector parameter.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorNorm(TRSVector)

Returns the norm of the current vector. The length is computed as sum of the squares of the vector components (i.e., X*X + Y*Y).
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorNormalize(TRSVector)

Returns the normalized instance of the input vector.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorReflect(TRSVector,TRSVector)

Returns the reflection of the two vectors, i.e., V1 + V2 * (2 * V1 . V2);
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



RSVectorSubtract(TRSVector,TRSVector)

Subtracts two given vectors. The vector given through the ASecondVector parameter is subtracted from the vector given through the AFirstVector parameter.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



ScalePoints(TPoints,Single,Single)

Overloaded. Scale the Points, or polygon, from the weighted center. The scaled polygon is returned.


ScalePoints(TRSPoints,Single,Single)

Overloaded. Scale the Points, or polygon, from the weighted center. The scaled polygon is returned.


ScaleRect(TRect,Single,Single)

Overloaded. Inflates the rectangle width and height by DX and DY. The rectangle is not moved and the center point stays the same.


ScaleRect(TRSRect,Single,Single)

Overloaded. Inflates the rectangle width and height by DX and DY. The rectangle is not moved and the center point stays the same.


ScaleRSMatrix(TRSMatrix,Single)

Scales the matrix by a factor.
Note

This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.



StringToCanvasColor(String)

Converts the string label or hexidecimal string to a canvas color.
Note

This function eases crosslibrary graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.



StringToRSPoint(string)

Returns a point based on string representation


Vector(TRSVector)

Creates a vector from the input RiverSoftAVG TRSVector


WrapCanvasText(TCanvas,string,string,TSysCharSet,TRSGfxFloat)

Overloaded. Draws multiline text string to canvas, wrapping the text based on the delimiters specifed by BreakChars. The MaxWidth specifies the maximum width of each line.


WrapCanvasText(TCanvas,string,TRSGfxFloat)

Overloaded. Draws multiline text string to canvas, wrapping the text on word boundaries. The MaxWidth specifies the maximum width of each line.
