Lines Matching refs:threshold
107 FX_FLOAT threshold = last_width > this_width ? last_width / 4 : this_width / 4;
113 if (FXSYS_fabs(y) > threshold * 2) {
116 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth);
117 threshold = threshold > 400 ? (threshold < 700 ? threshold / 4 : threshold / 5) : (threshold / 2);
118 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetFontSize());
119 threshold /= 1000;
120 if (FXSYS_fabs(last_pos + last_width - x) > threshold && curChar != L' ' && preChar != L' ')
122 if((x - last_pos - last_width) > threshold || (last_pos - x - last_width) > threshold) {
125 if(x < 0 && (last_pos - x - last_width) > threshold) {
223 FX_FLOAT threshold = 0;
225 threshold = fontsize_h * pFont->GetCharWidthF(space_charcode) / 1000 ;
227 if(threshold > fontsize_h / 3) {
228 threshold = 0;
230 threshold /= 2;
232 if (threshold == 0) {
233 threshold = fontsize_h;
235 threshold = this_width > last_width ? (FX_FLOAT)this_width : (FX_FLOAT)last_width;
237 if (threshold < 300) {
239 } else if (threshold < 500) {
241 } else if (threshold < 700) {
244 threshold = threshold / nDivide;
245 threshold = fontsize_h * threshold / 1000;
252 if (threshold && (spacing && spacing >= threshold) ) {