Flutter Engine
The Flutter Engine
|
Functions | |
GrOp::Owner | Make (GrRecordingContext *context, GrPaint &&paint, GrAAType aaType, const SkMatrix &viewMatrix, const SkRect &rect, const SkStrokeRec &stroke) |
GrOp::Owner | MakeNested (GrRecordingContext *context, GrPaint &&paint, const SkMatrix &viewMatrix, const SkRect rects[2]) |
A set of factory functions for drawing stroked rectangles either coverage-antialiased, or non-antialiased. The non-antialiased ops can be used with MSAA. As with other GrDrawOp factories, the GrPaint is only consumed by these methods if a valid op is returned. If null is returned then the paint is unmodified and may still be used.
GrOp::Owner skgpu::ganesh::StrokeRectOp::Make | ( | GrRecordingContext * | context, |
GrPaint && | paint, | ||
GrAAType | aaType, | ||
const SkMatrix & | viewMatrix, | ||
const SkRect & | rect, | ||
const SkStrokeRec & | stroke | ||
) |
Definition at line 944 of file StrokeRectOp.cpp.
GrOp::Owner skgpu::ganesh::StrokeRectOp::MakeNested | ( | GrRecordingContext * | context, |
GrPaint && | paint, | ||
const SkMatrix & | viewMatrix, | ||
const SkRect | rects[2] | ||
) |
Definition at line 958 of file StrokeRectOp.cpp.