Dali 3D User Interface Engine
Functions
Dali::Toolkit::Internal::anonymous_namespace{alignment-impl.cpp} Namespace Reference

Functions

BaseHandle Create ()
 
Vector3 GetPosition (const Toolkit::Alignment::Padding &padding, Toolkit::Alignment::Type horizontalAlignment, Toolkit::Alignment::Type verticalAlignment, const Vector2 &currentSize, const Vector2 &parentSize)
 

Function Documentation

BaseHandle Dali::Toolkit::Internal::anonymous_namespace{alignment-impl.cpp}::Create ( )

Definition at line 40 of file alignment-impl.cpp.

References Dali::Toolkit::Control::New().

Here is the call graph for this function:

Vector3 Dali::Toolkit::Internal::anonymous_namespace{alignment-impl.cpp}::GetPosition ( const Toolkit::Alignment::Padding &  padding,
Toolkit::Alignment::Type  horizontalAlignment,
Toolkit::Alignment::Type  verticalAlignment,
const Vector2 &  currentSize,
const Vector2 &  parentSize 
)
inline
Parameters
paddingThe padding value
horizontalAlignmentThe horizontal alignment.
verticalAlignmentThe vertical alignment.
currentSizeof the object
parentSize

Definition at line 55 of file alignment-impl.cpp.

References Dali::Toolkit::Alignment::HorizontalCenter, Dali::Toolkit::Alignment::HorizontalLeft, Dali::Toolkit::Alignment::HorizontalRight, Dali::Toolkit::Alignment::VerticalBottom, Dali::Toolkit::Alignment::VerticalCenter, Dali::Toolkit::Alignment::VerticalTop, Dali::Vector3::x, and Dali::Vector3::y.

Referenced by Dali::Toolkit::Internal::Alignment::OnRelayout().

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali