X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller-relayouter.h;h=4c62d89cd83ec5de84b8a615022c21895d128015;hp=cfb7e83526b4ce0de2b7d2e6c3dbd874ee24ea9b;hb=dfd3018cbcc4e2a9c61b3cd165a0bd9b538b9d0c;hpb=5075ccc3be07ba0da557493efc026ecb2a5373fe diff --git a/dali-toolkit/internal/text/text-controller-relayouter.h b/dali-toolkit/internal/text/text-controller-relayouter.h index cfb7e83..4c62d89 100644 --- a/dali-toolkit/internal/text/text-controller-relayouter.h +++ b/dali-toolkit/internal/text/text-controller-relayouter.h @@ -59,6 +59,14 @@ struct Controller::Relayouter static bool CheckForTextFit(Controller& controller, float pointSize, const Size& layoutSize); /** + * @brief Calculates the point size for text for given layout() + * + * @param[in] controller A reference to the controller class + * @param[in] layoutSize The layout size + */ + static void FitPointSizeforLayout(Controller& controller, const Size& layoutSize); + + /** * @brief Called by the Controller to get the height for a particular width. * * @param[in] controller A reference to the controller class