Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Layout data interface from the client to the engine. More...
#include <adobe/layout_attributes.hpp>
Classes | |
class | slice_t |
placeable object geometry for a single orientation of layout_attributes_t. More... |
Public Types | |
typedef std::vector< int > | spacing_t |
Public Types inherited from extents_slices_t | |
enum | slice_select_t { horizontal , vertical } |
Public Types inherited from layout_attributes_alignment_t | |
enum | alignment_t { align_forward , align_reverse , align_center , align_proportional , align_forward_fill , align_reverse_fill , align_default , align_fill , align_left_fill , align_right_fill , align_top_fill , align_bottom_fill , align_left , align_right , align_top , align_bottom } |
Public Types inherited from layout_attributes_placement_t | |
enum | placement_t { place_leaf , place_column , place_row , place_overlay } |
Public Member Functions | |
layout_attributes_t () | |
slice_t & | vertical () |
slice_t & | horizontal () |
const slice_t & | vertical () const |
const slice_t & | horizontal () const |
int & | height () |
int & | width () |
const int & | height () const |
const int & | width () const |
Public Attributes | |
extents_t | extents_m |
int | indent_m |
bool | create_m |
spacing_t | spacing_m |
std::array< slice_t, 2 > | slice_m |
placement_t | placement_m |
Definition at line 60 of file layout_attributes.hpp.
typedef std::vector<int> spacing_t |
Definition at line 71 of file layout_attributes.hpp.
Definition at line 67 of file layout_attributes.hpp.
slice_t & vertical | ( | ) |
Definition at line 96 of file layout_attributes.hpp.
slice_t & horizontal | ( | ) |
Definition at line 97 of file layout_attributes.hpp.
const slice_t & vertical | ( | ) | const |
Definition at line 99 of file layout_attributes.hpp.
const slice_t & horizontal | ( | ) | const |
Definition at line 100 of file layout_attributes.hpp.
int & height | ( | ) |
Definition at line 103 of file layout_attributes.hpp.
int & width | ( | ) |
Definition at line 104 of file layout_attributes.hpp.
const int & height | ( | ) | const |
Definition at line 106 of file layout_attributes.hpp.
const int & width | ( | ) | const |
Definition at line 107 of file layout_attributes.hpp.
extents_t extents_m |
Definition at line 87 of file layout_attributes.hpp.
int indent_m |
Definition at line 88 of file layout_attributes.hpp.
bool create_m |
false
, this placeable object's geometry will affect the view layout but will not send a place
call through the layout element object. Noncreating views such as row
and column
are good examples of placeable object types whose create_m
is false
.Definition at line 89 of file layout_attributes.hpp.
spacing_t spacing_m |
N
children only the first N-1
spacing values will be used. If the spacing vector has a single element, that value is used for all spacing between all children. This only applies to container placeable objects. Definition at line 90 of file layout_attributes.hpp.
std::array<slice_t, 2> slice_m |
Definition at line 91 of file layout_attributes.hpp.
placement_t placement_m |
Definition at line 94 of file layout_attributes.hpp.