stlab.adobe.com Adobe Systems Incorporated

#include <adobe/layout_attributes.hpp>

Classes

class  slice_t
 

Public Types

typedef std::vector< int > spacing_t
 

Public Member Functions

int & height ()
 
const int & height () const
 
slice_thorizontal ()
 
const slice_thorizontal () const
 
 layout_attributes_t ()
 
slice_tvertical ()
 
const slice_tvertical () const
 
int & width ()
 
const int & width () const
 

Public Attributes

bool create_m
 
extents_t extents_m
 
int indent_m
 
placement_t placement_m
 
boost::array< slice_t, 2 > slice_m
 
spacing_t spacing_m
 

Detailed Description

calculate_data_t.jpg
layout_attributes_t slice-independent placeable object geometry
Todo:
(sparent) : We have a mechanism for defaulting container attributes. This needs to be extended to view attributes such as supressing guides.

Definition at line 68 of file layout_attributes.hpp.

Member Typedef Documentation

◆ spacing_t

typedef std::vector<int> spacing_t

Definition at line 84 of file layout_attributes.hpp.

Constructor & Destructor Documentation

◆ layout_attributes_t()

Definition at line 75 of file layout_attributes.hpp.

Member Function Documentation

◆ height() [1/2]

int& height ( )

Definition at line 118 of file layout_attributes.hpp.

◆ height() [2/2]

const int& height ( ) const

Definition at line 121 of file layout_attributes.hpp.

◆ horizontal() [1/2]

slice_t& horizontal ( )

Definition at line 112 of file layout_attributes.hpp.

◆ horizontal() [2/2]

const slice_t& horizontal ( ) const

Definition at line 115 of file layout_attributes.hpp.

◆ vertical() [1/2]

slice_t& vertical ( )

Definition at line 111 of file layout_attributes.hpp.

◆ vertical() [2/2]

const slice_t& vertical ( ) const

Definition at line 114 of file layout_attributes.hpp.

◆ width() [1/2]

int& width ( )

Definition at line 119 of file layout_attributes.hpp.

◆ width() [2/2]

const int& width ( ) const

Definition at line 122 of file layout_attributes.hpp.

Member Data Documentation

◆ create_m

create_m
create is a boolean denoting whether or not this placeable object will
actually exist as a UI framework. If 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.
See also
poly_placeable_t

Definition at line 104 of file layout_attributes.hpp.

◆ extents_m

extents_t extents_m

Definition at line 102 of file layout_attributes.hpp.

◆ indent_m

indent_m
indent is a cross-stream value denoting the amount of indent for this single value. Cross-stream means that it is a value perpendicular to the orientation of the slice in which it is defined. Therefore, the horizontal indent is the amount in which the placeable object will be moved down vertically inside its parent.

Definition at line 103 of file layout_attributes.hpp.

◆ placement_m

placement_m
placement is the enumeration denoting the orientation children will have with respect to one another when being laid out.
See also
adobe::layout_attributes_placement_t::placement_t

Definition at line 109 of file layout_attributes.hpp.

◆ slice_m

slice_m
This array contains the orientation-specific geometry for the placeable object in the two relative orientations (horiztonal and vertical).
See also
adobe::layout_attributes_t::slice_t

Definition at line 106 of file layout_attributes.hpp.

◆ spacing_m

spacing_m
spacing is the amount of space between children. Because the spacing vector is used to determine spacing between children, for a container with 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 105 of file layout_attributes.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google