편집

다음을 통해 공유


SKPath.ConvertConicToQuads Method

Definition

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