struct SrcToDest
Defined at line 72 of file ../../src/ui/scenic/lib/flatland/flatland_types.h
A mapping from a source region to a destination region, produced for each
resolved layer: sample the src sub-rectangle of the content (unnormalized
texture coordinates), apply transform (rotation and flip), and place the
result at dest (global screen space, after all transforms and clipping).
Solid color fills have no source; src is left default.
Public Members
RectangleF src
RectangleF dest
RotateFlip transform
Public Methods
bool operator== (const SrcToDest & other)
Two `SrcToDest` are identical if all of the following are true:
- transforms identical
- dests within epsilon-distance
- srcs within epsilon-distance
Defined at line 16 of file ../../src/ui/scenic/lib/flatland/flatland_types.cc
void SrcToDest (types::RectangleFsrc,types::RectangleFdest,types::RotateFliptransform)
Defined at line 73 of file ../../src/ui/scenic/lib/flatland/flatland_types.h
void SrcToDest (types::RectangleF dest)
Defined at line 76 of file ../../src/ui/scenic/lib/flatland/flatland_types.h
void SrcToDest (types::RectangleF::ConstructorArgs dest)
Defined at line 79 of file ../../src/ui/scenic/lib/flatland/flatland_types.h
void SrcToDest ()
Defined at line 82 of file ../../src/ui/scenic/lib/flatland/flatland_types.h