Flutter Engine
The Flutter Engine
|
#include "include/core/SkCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPathEffect.h"
#include "include/effects/SkDashPathEffect.h"
#include "include/pathops/SkPathOps.h"
#include "include/private/base/SkTPin.h"
#include "src/gpu/ganesh/geometry/GrQuad.h"
#include "src/gpu/ganesh/ops/QuadPerEdgeAA.h"
#include "tools/viewer/ClickHandlerSlide.h"
Go to the source code of this file.
Classes | |
class | DegenerateQuadSlide |
class | DegenerateQuadSlide::Click |
Functions | |
static void | draw_extended_line (SkCanvas *canvas, const SkPaint &paint, const SkPoint &p0, const SkPoint &p1) |
static void | make_aa_line (const SkPoint &p0, const SkPoint &p1, bool aaOn, bool outset, SkPoint line[2]) |
static SkScalar | signed_distance (const SkPoint &p, const SkPoint &l0, const SkPoint &l1) |
static SkScalar | get_area_coverage (const bool edgeAA[4], const SkPoint corners[4], const SkPoint &point) |
static SkScalar | get_edge_dist_coverage (const bool edgeAA[4], const SkPoint corners[4], const SkPoint outsetLines[8], const SkPoint insetLines[8], const SkPoint &point) |
static bool | inside_triangle (const SkPoint &point, const SkPoint &t0, const SkPoint &t1, const SkPoint &t2, SkScalar bary[3]) |
static SkScalar | get_framed_coverage (const SkPoint outer[4], const SkScalar outerCoverages[4], const SkPoint inner[4], const SkScalar innerCoverages[4], const SkRect &geomDomain, const SkPoint &point) |
Variables | |
static constexpr SkScalar | kViewScale = 100.f |
static constexpr SkScalar | kViewOffset = 200.f |
Definition at line 19 of file DegenerateQuadsSlide.cpp.
Definition at line 21 of file DegenerateQuadsSlide.cpp.
Definition at line 20 of file DegenerateQuadsSlide.cpp.
Definition at line 18 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 24 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 63 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 116 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 193 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 155 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 41 of file DegenerateQuadsSlide.cpp.
|
static |
Definition at line 55 of file DegenerateQuadsSlide.cpp.
|
staticconstexpr |
Definition at line 238 of file DegenerateQuadsSlide.cpp.
|
staticconstexpr |
Definition at line 237 of file DegenerateQuadsSlide.cpp.