On 02/06/2014 at 05:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15 Stud
Platform: Mac OSX ;
Language(s) : C++ ;
---------
What do SizeChr, SizePix and SizePixChr do? I don't understand what the documentation means when it says... "Bakes a pixel size" and "Bakes a character count". Is it trying to help with average pixels per character for dialog sizing?
Documentation extract follows...
> #### Int32 SizePixChr(Int32 pixels, Int32 chars)_<_h4_>_
>
> Combines the _s">SizePix() and _chars">SizeChr() functions. The returned value is interpreted as a number of characters/lines plus a number of p_<_h5_>_s.
>
> #####
>
> #### Int32 Siz_<_h4_>_Int32 pixels)
>
> Bakes a pixel size so that it can be used to specify dialog co_<_h5_>_l dimension.
>
> _ame="sizechr2">
>
> #### _<_h4_>_32 SizeChr(Int32 chars)
>
> Bakes a character count so that it can be used to specify dialog control dimension. (How many characters that will fit in a control for widths, and how many standard lines that will fit for heights.)