- * @brief Fits or scales to fill.
- *
- * a) If target width and height are non-zero
- * Fits source size into target aspect ratio
- * If source is bigger, simply returns target.
- * Does not scale larger than source
- * b) If target width or height is zero
- * maintains the aspect ratio of source (as target has no aspect ratio)
- * returns target width and scaled height or target height and scaled width
- * This algorithm is usefull when you want for example a square thumbnail of a rectangular image data
- * @param [in] target size
- * @param [in] source size
- * @return target scaled inside source
- */
-DALI_IMPORT_API Size FitScaleToFill( const Size& target, const Size& source );
-
-/**
- * @brief Shrinks source size inside the target size maintaining aspect ratio of source.
- *
- * If source is smaller than target it returns source.
- * @pre source width and height > 0
- * @param [in] target size
- * @param [in] source size
- * @return target scaled inside source