#include <SkEdgeBuilder.h>
Definition at line 55 of file SkEdgeBuilder.h.
◆ SkBasicEdgeBuilder()
SkBasicEdgeBuilder::SkBasicEdgeBuilder |
( |
int |
clipShift | ) |
|
|
inlineexplicit |
◆ addCubic()
void SkBasicEdgeBuilder::addCubic |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 175 of file SkEdgeBuilder.cpp.
175 {
177 if (edge->
setCubic(pts, fClipShift)) {
179 }
180}
auto make(Ctor &&ctor) -> decltype(ctor(nullptr))
SkTDArray< void * > fList
SkSTArenaAlloc< 512 > fAlloc
void push_back(const T &v)
int setCubic(const SkPoint pts[4], int shiftUp)
◆ addLine()
void SkBasicEdgeBuilder::addLine |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 133 of file SkEdgeBuilder.cpp.
133 {
135 if (edge->
setLine(pts[0], pts[1], fClipShift)) {
139
140 switch (combine) {
144 }
145 }
146}
static bool is_vertical(const Edge *edge)
int setLine(const SkPoint &p0, const SkPoint &p1, const SkIRect *clip, int shiftUp)
◆ addPolyLine()
Implements SkEdgeBuilder.
Definition at line 190 of file SkEdgeBuilder.cpp.
191 {
192 auto edge = (
SkEdge*) arg_edge;
193 auto edgePtr = (
SkEdge**)arg_edgePtr;
194
195 if (edge->setLine(pts[0], pts[1], fClipShift)) {
197 ? this->combineVertical(edge, edgePtr[-1])
199 }
201}
◆ addQuad()
void SkBasicEdgeBuilder::addQuad |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
◆ allocEdges()
char * SkBasicEdgeBuilder::allocEdges |
( |
size_t |
n, |
|
|
size_t * |
size |
|
) |
| |
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 225 of file SkEdgeBuilder.cpp.
225 {
228}
T * makeArrayDefault(size_t count)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ edgeList()
SkEdge ** SkBasicEdgeBuilder::edgeList |
( |
| ) |
|
|
inline |
◆ recoverClip()
SkRect SkBasicEdgeBuilder::recoverClip |
( |
const SkIRect & |
src | ) |
const |
|
overrideprivatevirtual |
The documentation for this class was generated from the following files: