public class QuadCurves extends Object
| Constructor and Description |
|---|
QuadCurves() |
| Modifier and Type | Method and Description |
|---|---|
static float |
flatness(float[] coords,
int offset) |
static float |
flatness(float x1,
float y1,
float ctrlx,
float ctrly,
float x2,
float y2) |
static float |
flatnessSq(float[] coords,
int offset) |
static float |
flatnessSq(float x1,
float y1,
float ctrlx,
float ctrly,
float x2,
float y2) |
static int |
solveQuadratic(float[] eqn) |
static int |
solveQuadratic(float[] eqn,
float[] res) |
static void |
subdivide(float[] src,
int srcoff,
float[] left,
int leftOff,
float[] right,
int rightOff) |
static void |
subdivide(IQuadCurve src,
QuadCurve left,
QuadCurve right) |
public static float flatnessSq(float x1,
float y1,
float ctrlx,
float ctrly,
float x2,
float y2)
public static float flatnessSq(float[] coords,
int offset)
public static float flatness(float x1,
float y1,
float ctrlx,
float ctrly,
float x2,
float y2)
public static float flatness(float[] coords,
int offset)
public static void subdivide(IQuadCurve src, QuadCurve left, QuadCurve right)
public static void subdivide(float[] src,
int srcoff,
float[] left,
int leftOff,
float[] right,
int rightOff)
public static int solveQuadratic(float[] eqn)
public static int solveQuadratic(float[] eqn,
float[] res)
Copyright © 2017. All rights reserved.