import { SkPoint } from "../core/SkPoint"; import { SkDLine } from "./SkPathOpsLine"; import { SkDPoint, SkDVector } from "./SkPathOpsPoint"; import { SkDQuad } from "./SkPathOpsQuad"; import { SkTCurve } from "./SkPathOpsTCurve"; import { SkIntersections } from "./SkIntersections"; import type { SkDCubic } from "./SkPathOpsCubic"; import type { SkDRect } from "./SkPathOpsRect"; export declare class SkDConic { static readonly kPointCount = 3; static readonly kPointLast: number; static readonly kMaxIntersections = 4; fPts: SkDQuad; fWeight: number; at(n: number): SkDPoint; collapsed(): boolean; controlsInside(): boolean; debugInit(): void; flip(): SkDConic; static IsConic(): boolean; set(pts: SkPoint[], weight: number): this; static AddValidTs(s: number[], realRoots: number, t: number[]): number; align(endIndex: number, dstPt: SkDPoint): void; dxdyAtT(t: number): SkDVector; static FindExtrema(src: number[], w: number, t: number[]): number; hullIntersectsQuad(quad: SkDQuad, isLinear: boolean[]): boolean; hullIntersectsConic(conic: SkDConic, isLinear: boolean[]): boolean; hullIntersectsCubic(cubic: SkDCubic, isLinear: boolean[]): boolean; isLinear(startIndex: number, endIndex: number): boolean; static maxIntersections(): number; monotonicInX(): boolean; monotonicInY(): boolean; otherPts(oddMan: number, endPt: SkDPoint[]): void; static pointCount(): number; static pointLast(): number; ptAtT(t: number): SkDPoint; static RootsReal(A: number, B: number, C: number, t: number[]): number; static RootsValidT(A: number, B: number, C: number, s: number[]): number; subDivide(t1: number, t2: number): SkDConic; subDivideInto(t1: number, t2: number, c: SkDConic): void; static SubDivide(a: SkPoint[], weight: number, t1: number, t2: number): SkDConic; subDividePt(a: SkDPoint, c: SkDPoint, t1: number, t2: number, weight: number[]): SkDPoint; static SubDividePt(pts: SkPoint[], weight: number, a: SkDPoint, c: SkDPoint, t1: number, t2: number, newWeight: number[]): SkDPoint; } export declare class SkTConic extends SkTCurve { fConic: SkDConic; constructor(c?: SkDConic); at(n: number): SkDPoint; collapsed(): boolean; controlsInside(): boolean; debugInit(): void; dxdyAtT(t: number): SkDVector; hullIntersectsQuad(quad: SkDQuad, isLinear: boolean[]): boolean; hullIntersectsConic(conic: SkDConic, isLinear: boolean[]): boolean; hullIntersectsCubic(cubic: SkDCubic, isLinear: boolean[]): boolean; hullIntersects(curve: SkTCurve, isLinear: boolean[]): boolean; intersectRay(i: SkIntersections, line: SkDLine): number; isConic(): boolean; make(): SkTCurve; maxIntersections(): number; otherPts(oddMan: number, endPt: SkDPoint[]): void; pointCount(): number; pointLast(): number; ptAtT(t: number): SkDPoint; setBounds(rect: SkDRect): void; subDivide(t1: number, t2: number, curve: SkTCurve): void; }