~~Title: Efl.Ui.Image.calc_size_min~~ ====== Efl.Ui.Image.calc_size_min ====== ===== Description ===== %%Calculates the minimum required size for a given layout object.%% %%This call will trigger an internal recalculation of all parts of the object, in order to return its minimum required dimensions for width and height. The user might choose to impose those minimum sizes, making the resulting calculation to get to values greater or equal than %%''restricted''%% in both directions.%% %%At the end of this call, the object won't be automatically resized to the new dimensions, but just return the calculated sizes. The caller is the one up to change its geometry or not.%% %%Be advised that invisible parts in the object will be taken into account in this calculation.%% //Since 1.22// {{page>:develop:api-include:efl:ui:image:method:calc_size_min:description&nouser&nolink&nodate}} //Overridden from [[:develop:api:efl:layout:calc:method:calc_size_min|Efl.Layout.Calc.calc_size_min]].//===== Signature ===== calc_size_min @pure_virtual { params { @in restricted: Eina.Size2D @optional; } return: Eina.Size2D; } ===== C signature ===== Eina_Size2D efl_layout_calc_size_min(Eo *obj, Eina_Size2D restricted); ===== Parameters ===== * **restricted** //(in)// - %%The minimum size constraint as input, the returned size can not be lower than this (in both directions).%% ===== Implemented by ===== * [[:develop:api:efl:layout:calc:method:calc_size_min|Efl.Layout.Calc.calc_size_min]] * [[:develop:api:efl:canvas:layout:method:calc_size_min|Efl.Canvas.Layout.calc_size_min]] * [[:develop:api:efl:ui:image:method:calc_size_min|Efl.Ui.Image.calc_size_min]] * [[:develop:api:efl:ui:layout_base:method:calc_size_min|Efl.Ui.Layout_Base.calc_size_min]]