class SetTranslation

Defined at line 458 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/markers.h

All Transform objects support all attributes.

Geometric attributes are applied in the following order:

1. Scale (relative to the parent transform's coordinate space)

2. Orientation (relative to the parent transform's coordinate space)

3. Translation (relative to the parent transforms's coordinate space,

unaffected by scale applied to the current transform).

4. Clipping (relative to the current transform's coordinate space)

The effects of each of these attributes are cumulative. This means the transform's position

in the view space, and its clip boundary, will be calculated based on that chain of

geometric attributes going up to the root transform.

For instance, in a nested hierarchy such as the following:

[Root-Transform -> Transform1 -> Transform2 -> CurrentTransform]

If Transform1 is translated by [2,0] and Transform2 is translated by [0,1] then the

view-space position of CurrentTransform will be [2,1].

Sets the translation on a Transform. The order of geometric attribute application is

addressed above.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal