Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches

Layout data interface from the engine to the client. More...

#include <adobe/layout_attributes.hpp>

Inheritance diagram for place_data_t:
extents_slices_t

Classes

class  slice_t
 Element geometry for a single orientation of place_data_t. More...

Public Member Functions

slice_tvertical ()
slice_thorizontal ()
const slice_tvertical () const
const slice_thorizontal () const

Public Attributes

std::array< slice_t, 2 > slice_m

Additional Inherited Members

Public Types inherited from extents_slices_t
enum  slice_select_t { horizontal , vertical }

Detailed Description

The place_data_t is the primary communication mechanism that engine uses
to get solved layout information to the client. The place_data_t is similar to the layout_attributes_t, except for the following: - data included is the "solved" result, not the data the client passed in (though the solution is based on the client's data) - data included is only pertinent to the laying-out of the placeable object into it's final resting place.
This struct is used when calling the place operation
inside the placeable object's related poly_placeable_t.
See also
poly_placeable_t

Definition at line 115 of file layout_attributes.hpp.

Member Function Documentation

◆ vertical() [1/2]

slice_t & vertical ( )

Definition at line 133 of file layout_attributes.hpp.

◆ horizontal() [1/2]

slice_t & horizontal ( )

Definition at line 134 of file layout_attributes.hpp.

◆ vertical() [2/2]

const slice_t & vertical ( ) const

Definition at line 136 of file layout_attributes.hpp.

◆ horizontal() [2/2]

const slice_t & horizontal ( ) const

Definition at line 137 of file layout_attributes.hpp.

Member Data Documentation

◆ slice_m

std::array<slice_t, 2> slice_m

Definition at line 131 of file layout_attributes.hpp.