#include <SkEdgeBuilder.h>
Definition at line 75 of file SkEdgeBuilder.h.
◆ SkAnalyticEdgeBuilder()
SkAnalyticEdgeBuilder::SkAnalyticEdgeBuilder |
( |
| ) |
|
|
inline |
◆ addCubic()
void SkAnalyticEdgeBuilder::addCubic |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 181 of file SkEdgeBuilder.cpp.
181 {
185 }
186}
auto make(Ctor &&ctor) -> decltype(ctor(nullptr))
SkTDArray< void * > fList
SkSTArenaAlloc< 512 > fAlloc
void push_back(const T &v)
bool setCubic(const SkPoint pts[4], bool sortY=true)
◆ addLine()
void SkAnalyticEdgeBuilder::addLine |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 147 of file SkEdgeBuilder.cpp.
147 {
149 if (edge->
setLine(pts[0], pts[1])) {
150
154
155 switch (combine) {
159 }
160 }
161}
static bool is_vertical(const Edge *edge)
bool setLine(const SkPoint &p0, const SkPoint &p1)
◆ addPolyLine()
Implements SkEdgeBuilder.
Definition at line 202 of file SkEdgeBuilder.cpp.
203 {
206
207 if (edge->setLine(pts[0], pts[1])) {
209 ? this->combineVertical(edge, edgePtr[-1])
211 }
213}
◆ addQuad()
void SkAnalyticEdgeBuilder::addQuad |
( |
const SkPoint |
pts[] | ) |
|
|
overrideprivatevirtual |
◆ allocEdges()
char * SkAnalyticEdgeBuilder::allocEdges |
( |
size_t |
n, |
|
|
size_t * |
size |
|
) |
| |
|
overrideprivatevirtual |
Implements SkEdgeBuilder.
Definition at line 229 of file SkEdgeBuilder.cpp.
229 {
232}
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
◆ analyticEdgeList()
◆ recoverClip()
SkRect SkAnalyticEdgeBuilder::recoverClip |
( |
const SkIRect & |
src | ) |
const |
|
overrideprivatevirtual |
The documentation for this class was generated from the following files: