class SetClipCmd

Defined at line 1105 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

Sets/clears a node's clip. DEPRECATED: use SetClipPlanesCmd.

Constraints:

- `node_id` refs a `Node` with the has_clip characteristic.

- `clip_id` a `Node` with the is_clip characteristic, or nothing. If the

referenced node is not rooted, then it will have no effect (since its

full world-transform cannot be determined).

- `clip_to_self` If false, children are only clipped to the region specified

by `clip_id`. If true, children are additionally clipped to the node's

shape (as determined by its ShapeNode parts).

Discussion:

If a node has a clip, it will be applied to both the parts and the children

of the node. Under some circumstances (TBD), a clip will not be applicable

to a node; in such cases it will be as though no clip has been specified for

the node.

Public Methods

void SetClipCmd (Storage_ storage)
void SetClipCmd (uint32_t node_id, uint32_t clip_id, bool clip_to_self)
void SetClipCmd ()

Default constructs a |SetClipCmd| only if all of its members are default constructible.

Defined at line 1115 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

void SetClipCmd (SetClipCmd && )

Defined at line 1118 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

void SetClipCmd (const SetClipCmd & other)
SetClipCmd & operator= (SetClipCmd && )

Defined at line 1119 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

SetClipCmd & operator= (const SetClipCmd & other)
bool operator== (const SetClipCmd & other)
bool operator!= (const SetClipCmd & other)
uint32_t node_id ()
uint32_t & node_id ()
SetClipCmd & node_id (uint32_t value)

Setter for node_id.

uint32_t clip_id ()
uint32_t & clip_id ()
SetClipCmd & clip_id (uint32_t value)

Setter for clip_id.

bool clip_to_self ()
bool & clip_to_self ()
SetClipCmd & clip_to_self (bool value)

Setter for clip_to_self.

void SetClipCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits