Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkQuadClipper2 Class Reference

#include <SkQuadClipper.h>

Public Member Functions

bool clipQuad (const SkPoint pts[3], const SkRect &clip)
 
bool clipCubic (const SkPoint pts[4], const SkRect &clip)
 
SkPath::Verb next (SkPoint pts[])
 

Detailed Description

Iterator that returns the clipped segements of a quad clipped to a rect. The segments will be either lines or quads (based on SkPath::Verb), and will all be monotonic in Y

Definition at line 39 of file SkQuadClipper.h.

Member Function Documentation

◆ clipCubic()

bool SkQuadClipper2::clipCubic ( const SkPoint  pts[4],
const SkRect clip 
)

◆ clipQuad()

bool SkQuadClipper2::clipQuad ( const SkPoint  pts[3],
const SkRect clip 
)

◆ next()

SkPath::Verb SkQuadClipper2::next ( SkPoint  pts[])

The documentation for this class was generated from the following file: