* Catch-up with the Adaptor's patch.
Change-Id: I80ec6566b8294856461588fba5f15d9ceea76dbe
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
// Set the position of the embedded items (if there is any).
EmbeddedItemInfo* embeddedItemLayoutBuffer = embeddedItemLayout.Begin();
// Set the position of the embedded items (if there is any).
EmbeddedItemInfo* embeddedItemLayoutBuffer = embeddedItemLayout.Begin();
- auto transformToArc = isClockwise ? &Dali::TextAbstraction::TransformToArcClockwise : &Dali::TextAbstraction::TransformToArcAntiClockwise;
-
for( Length index = 0u, endIndex = embeddedItemLayout.Count(); index < endIndex; ++index )
{
EmbeddedItemInfo& embeddedItem = *( embeddedItemLayoutBuffer + index );
for( Length index = 0u, endIndex = embeddedItemLayout.Count(); index < endIndex; ++index )
{
EmbeddedItemInfo& embeddedItem = *( embeddedItemLayoutBuffer + index );
}
embeddedItem.angle = Degree( Radian( radians ) );
}
embeddedItem.angle = Degree( Radian( radians ) );
- transformToArc( circularTextParameters, centerX, centerY );
+ Dali::TextAbstraction::TransformToArc( circularTextParameters, centerX, centerY );
// Recalculate the size of the embedded item after the rotation to position it correctly.
float width = embeddedItem.size.width;
// Recalculate the size of the embedded item after the rotation to position it correctly.
float width = embeddedItem.size.width;