Gdi |
[Missing <summary> documentation for "T:Altaxo.Graph.Gdi.GdiExtensionMethods"]
public static class GdiExtensionMethods
The GdiExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
Add | ||
AddScaled | ||
Center | Calculates the center of the provided rectangle. | |
ClosedCardinalSplineToBezierSegments(PointF, Int32) | Converts a closed cardinal spline, given by the points in points, to Bezier segments. | |
ClosedCardinalSplineToBezierSegments(PointF, Int32, Single) | Converts a closed cardinal spline, given by the points in points, to Bezier segments. | |
DistanceSquaredTo | ||
DistanceTo | ||
DotProduct | ||
ExpandToInclude | Expands the rectangle r, so that is contains the point p. | |
FlattenBezierSegment | Flattens a bezier segment, using only an absolute tolerance. The flattened points are stored together with their curve parameter t. | |
FlipSign | ||
FlipXY | ||
GetFractionalIndexFromDistanceFromEndOfBezierCurve | ||
GetFractionalIndexFromDistanceFromEndOfPartialPolylineCurve | Gets the fractional index into points of a partial polyline by searching a point along the partial polyline that has a specified distance to the end point of the partial polyline. | |
GetFractionalIndexFromDistanceFromEndOfPolylineCurve | Gets the fractional index into points of a polyline by searching a point along the polyline that has a specified distance to the end point of the polyline. | |
GetFractionalIndexFromDistanceFromStartOfBezierCurve | ||
GetFractionalIndexFromDistanceFromStartOfPartialPolylineCurve | Gets the fractional index into points of a partial polyline by searching a point along the partial polyline that has a specified distance to the start point of the partial polyline. | |
GetFractionalIndexFromDistanceFromStartOfPolylineCurve | Gets the fractional index into points of a polyline by searching a point along the polyline that has a specified distance to the start point of the polyline. | |
GetParameterOnLineSegmentFromDistanceToPoint | If a line segment is given by this parametric equation: p(t)=(1-t)*p0 + t*p1, this function calculates the parameter t at which the point p(t) has a squared distance dsqr from the pivot point pivot. The argument chooseFarSolution determines which of two possible solutions is choosen. | |
Half | Calculates the half of the original size. | |
Interpolate | Interpolates between the points p0 and p1. | |
IsPointIntoDistance(PointF, Double, IEnumerablePointF) | Determines whether or not a given point is into a certain distance of a polyline. | |
IsPointIntoDistance(PointF, Double, PointF, PointF) | Determines whether or not a given point (point) is into a distance to a finite line, that is spanned between two points lineOrg and lineEnd. | |
LengthBetween | ||
Normalize | ||
OpenCardinalSplineToBezierSegments(PointF, Int32) | Converts an open cardinal spline, given by the points in points, to Bezier segments. | |
OpenCardinalSplineToBezierSegments(PointF, Int32, Single) | Converts an open cardinal spline, given by the points in points, to Bezier segments. | |
Rotate90Degree | ||
Scale(PointF, Double) | Multiply a PointF structure with a factor. | |
Scale(RectangleF, Double) | Multiply a RectangleF structure with a factor. | |
Scale(SizeF, Double) | Multiply a size structure with a factor. | |
ShortenBezierCurve | ||
ShortenBezierSegment | Shortens a Bezier segment and returns the Bezier points of the shortened segment. | |
ShortenedBy(PointF, RADouble, RADouble) | Returns a new, shortened polyline. If the shortened line would have zero or negative length, null is returned. | |
ShortenedBy(PointF, Int32, Int32, RADouble, RADouble) | Returns a new, shortened polyline. If the shortened line would have zero or negative length, null is returned. | |
ShortenLineSegment | Shortens a line segment and returns the line points of the shortened segment. | |
ShortenPartialPolylineByDistanceFromStartAndEnd | Shortens a partial polyline, given by the first point at index startIndex and the last index endIndex, at both sides in such a way that the new start has a distance distanceFromStart to the original start of the polyline, and the new end has a distance distanceFromEnd to the original end of the polyline. If the shortening leads to a polyline of zero length, then null is returned. | |
ShortenPolylineByDistanceFromStartAndEnd | Shortens a polyline at both sides in such a way that the new start has a distance distanceFromStart to the original start of the polyline, and the new end has a distance distanceFromEnd to the original end of the polyline. If the shortening leads to a polyline of zero length, then null is returned. | |
SquareDistanceLineToPoint | Calculates the squared distance between a finite line and a point. | |
Subtract | ||
ToAltaxo | ||
ToGdi | ||
TotalLineLength(PointF) | Calculates the total length of a polyline. | |
TotalLineLength(PointF, Int32, Int32) | Calculates the total length of a polyline. | |
VectorLength | ||
VectorLengthSquared |