10#include "flutter/fml/logging.h"
20 if (
auto filter = std::get_if<std::shared_ptr<FilterContents>>(&input)) {
21 return std::static_pointer_cast<FilterInput>(
22 std::shared_ptr<FilterContentsFilterInput>(
26 if (
auto contents = std::get_if<std::shared_ptr<Contents>>(&input)) {
27 return std::static_pointer_cast<FilterInput>(
28 std::shared_ptr<ContentsFilterInput>(
32 if (
auto texture = std::get_if<std::shared_ptr<Texture>>(&input)) {
36 if (
auto rect = std::get_if<Rect>(&input)) {
37 return std::shared_ptr<PlaceholderFilterInput>(
46 return std::shared_ptr<TextureFilterInput>(
53 for (
const auto& input :
inputs) {
70 const Matrix& effect_transform,
71 const Rect& output_limit)
const {
80 const std::shared_ptr<LazyGlyphAtlas>& lazy_glyph_atlas,
void SetTransform(const Matrix &transform)
Set the global transform matrix for this Entity.
const Matrix & GetTransform() const
Get the global transform matrix for this Entity.
#define FML_UNREACHABLE()
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect
SK_API sk_sp< PrecompileColorFilter > Matrix()
A 4x4 matrix using column-major storage.