SKPath.ConvertConicToQuads Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, Int32) |
Chop a conic into a number of quads. |
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, SKPoint[], Int32) |
Chop a conic into a number of quads. |
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, SKPoint[], Int32) |
Chop a conic into a number of quads. |
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, Int32)
Chop a conic into a number of quads.
public static SkiaSharp.SKPoint[] ConvertConicToQuads (SkiaSharp.SKPoint p0, SkiaSharp.SKPoint p1, SkiaSharp.SKPoint p2, float w, int pow2);
Parameters
- p0
- SKPoint
The coordinates of the starting point of the conic curve.
- p1
- SKPoint
The coordinates of the control point of the conic curve.
- p2
- SKPoint
The coordinates of the end point of the conic curve.
- w
- Single
The weight of the conic curve.
- pow2
- Int32
The tolerance to use (1 << pow2).
Returns
Returns the collection of points that make up the conic curve.
Applies to
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, SKPoint[], Int32)
Chop a conic into a number of quads.
public static int ConvertConicToQuads (SkiaSharp.SKPoint p0, SkiaSharp.SKPoint p1, SkiaSharp.SKPoint p2, float w, SkiaSharp.SKPoint[] pts, int pow2);
Parameters
- p0
- SKPoint
The coordinates of the starting point of the conic curve.
- p1
- SKPoint
The coordinates of the control point of the conic curve.
- p2
- SKPoint
The coordinates of the end point of the conic curve.
- w
- Single
The weight of the conic curve.
- pts
- SKPoint[]
The collection to store the points.
- pow2
- Int32
The tolerance to use (1 << pow2).
Returns
Returns the number of quads.
Remarks
The amount of storage needed for pts is: 1 + 2 * (1 << pow2)
Applies to
ConvertConicToQuads(SKPoint, SKPoint, SKPoint, Single, SKPoint[], Int32)
Chop a conic into a number of quads.
public static int ConvertConicToQuads (SkiaSharp.SKPoint p0, SkiaSharp.SKPoint p1, SkiaSharp.SKPoint p2, float w, out SkiaSharp.SKPoint[] pts, int pow2);
Parameters
- p0
- SKPoint
The coordinates of the starting point of the conic curve.
- p1
- SKPoint
The coordinates of the control point of the conic curve.
- p2
- SKPoint
The coordinates of the end point of the conic curve.
- w
- Single
The weight of the conic curve.
- pts
- SKPoint[]
The collection of points.
- pow2
- Int32
The tolerance to use (1 << pow2).
Returns
Returns the number of quads.
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기