16 std::optional<Rect> inner_rect)
17 : path_(
path), inner_rect_(inner_rect) {}
23 auto& host_buffer =
renderer.GetTransientsBuffer();
26 if (bounding_box.has_value() && bounding_box->IsEmpty()) {
42 return GeometryResult{
44 .vertex_buffer = vertex_buffer,
46 .mode = GetResultMode(),
53 (bounding_box.has_value() && bounding_box->IsEmpty())) {
67std::optional<Rect> FillPathGeometry::GetCoverage(
74 if (!inner_rect_.has_value()) {
77 if (!
transform.IsTranslationScaleOnly()) {
Matrix GetShaderTransform(const RenderPass &pass) const
Get the vertex shader transform used for drawing this Entity.
const Matrix & GetTransform() const
Get the global transform matrix for this Entity.
bool CoversArea(const Matrix &transform, const Rect &rect) const override
Determines if this geometry, transformed by the given transform, will completely cover all surface ar...
FillPathGeometry(const Path &path, std::optional< Rect > inner_rect=std::nullopt)
Paths are lightweight objects that describe a collection of linear, quadratic, or cubic segments....
FillType GetFillType() const
std::optional< Rect > GetTransformedBoundingBox(const Matrix &transform) const
std::optional< Rect > GetBoundingBox() const
Render passes encode render commands directed as one specific render target into an underlying comman...
const Matrix & GetOrthographicTransform() const
#define FML_UNREACHABLE()
sk_sp< SkBlender > blender SkRect rect
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
SK_API sk_sp< PrecompileColorFilter > Matrix()
static SkColor4f transform(SkColor4f c, SkColorSpace *src, SkColorSpace *dst)
@ kNormal
The geometry has no overlapping triangles.
A 4x4 matrix using column-major storage.
Scalar GetMaxBasisLength() const