Dali 3D User Interface Engine
Namespaces | Enumerations
Dali::SizeScalePolicy Namespace Reference

Policies to determine how an actor should resize itself when having its size set in size negotiation .0. More...

Namespaces

namespace  anonymous_namespace{actor-impl.cpp}
 

Enumerations

enum  Type { USE_SIZE_SET, FIT_WITH_ASPECT_RATIO, FILL_WITH_ASPECT_RATIO }
 

Detailed Description

Policies to determine how an actor should resize itself when having its size set in size negotiation .0.

Enumeration Type Documentation

Enumerator
USE_SIZE_SET 

Use the size that was set .0.

FIT_WITH_ASPECT_RATIO 

Fit within the size set maintaining natural size aspect ratio .0.

FILL_WITH_ASPECT_RATIO 

Fill up the size set maintaining natural size aspect ratio. May exceed size bounds in one dimension. .0.

Definition at line 101 of file actor-enumerations.h.

Dali Docs Home
Read more about Dali