Lines Matching refs:widths
228 int* widths = FX_Alloc(int, m_BaseLines.GetSize());
229 if (widths) {
231 widths[i] = 0;
239 widths[i] = (int)((MaxRightX - MinLeftX) / charwidth);
241 if (widths[i] > 1000) {
242 widths[i] = 1000;
244 if (widths[i] < minchars) {
245 widths[i] = minchars;
250 if (widths[i]) {
251 AvgWidth += widths[i];
257 if (MaxWidth < widths[i]) {
258 MaxWidth = widths[i];
263 FX_Free(widths);