Home | History | Annotate | Download | only in base

Lines Matching defs:bbox

5 /*    FreeType bbox computation (body).                                    */
40 FT_BBox bbox;
54 /* use the cbox as the starting bbox which must be refined. */
75 #define CHECK_X( p, bbox ) \
76 ( p->x < bbox.xMin || p->x > bbox.xMax )
78 #define CHECK_Y( p, bbox ) \
79 ( p->y < bbox.yMin || p->y > bbox.yMax )
112 /* the bbox that contains all on-points. It finds a local extremum */
159 /* within the bbox */
161 if ( CHECK_X( control, user->bbox ) )
165 &user->bbox.xMin,
166 &user->bbox.xMax );
168 if ( CHECK_Y( control, user->bbox ) )
172 &user->bbox.yMin,
173 &user->bbox.yMax );
270 /* the bbox that contains all on-points. It finds a local extremum */
276 /* The control off-point outside the bbox is likely to have the top */
362 /* thus within the bbox
363 /* the bbox can possibly reach new extreme values. */
365 if ( CHECK_X( control1, user->bbox ) ||
366 CHECK_X( control2, user->bbox ) )
371 &user->bbox.xMin,
372 &user->bbox.xMax );
374 if ( CHECK_Y( control1, user->bbox ) ||
375 CHECK_Y( control2, user->bbox ) )
380 &user->bbox.yMin,
381 &user->bbox.yMax );
403 FT_BBox bbox;
427 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x;
428 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y;
446 /* update bbox for `on' points only */
447 if ( x < bbox.xMin ) bbox.xMin = x;
448 if ( x > bbox.xMax ) bbox.xMax = x;
450 if ( y < bbox.yMin ) bbox.yMin = y;
451 if ( y > bbox.yMax ) bbox.yMax = y;
458 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax ||
459 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax )
472 user.bbox = bbox;
478 *abbox = user.bbox;
481 *abbox = bbox;