Changes between Version 7 and Version 8 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/CFormRect


Ignore:
Timestamp:
03/12/25 15:02:29 (5 weeks ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/CFormRect

    v7 v8  
    158158
    159159Function does not return a value.
     160
     161=== SetTopAndHeightSameAsOtherRect ===
     162Sets top coordinate and height of the rectangle based on a another rectangle
     163
     164{{{#!c++
     165void SetTopAndHeightSameAsOtherRect(CFormRect& r)
     166}}}
     167
     168==== Parameters ====
     169 * r = CFormRectangle
     170
     171==== Return Value ====
     172
     173Function does not return a value.
     174
     175=== SetAsRegionOfRect ===
     176Sets coordinates of rectangle as a region of another rectangle
     177
     178{{{#!c++
     179void SetAsRegionOfRect(CFormRect& r, double left, double top, double width, double height)
     180}}}
     181
     182==== Parameters ====
     183 * r - CFormRect
     184 * left - Value for left multiplication factor
     185 * top - Value for top multiplication factor
     186 * width - Value for width multiplication factor
     187 * height - Value for height multiplication factor
     188
     189
     190==== Return Value ====
     191
     192Function does not return a value.
     193
     194=== SetWidthBasedOnFontStrWidth ===
     195Sets width of rectangle based on a font string
     196
     197{{{#!c++
     198void SetWidthBasedOnFontStrWidth(CFont& font, const char* str, double widthMultiplier = 1.0)
     199
     200void SetWidthBasedOnFontStrWidth(CFont& font, std::string& str, double widthMultiplier = 1.0)
     201}}}
     202
     203==== Parameters ====
     204 * font - CFont
     205 * str - character array string
     206 * str - std::string reference
     207 * widthMultiplier - optional value
     208
     209
     210==== Return Value ====
     211
     212Function does not return a value.