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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應