| /xsrc/external/mit/freetype/dist/src/tools/ |
| H A D | test_bbox.c | 23 /* test bbox computations */ 90 /* dummy outline #3 with bbox of [0 100 128 128] precisely */ 113 FT_BBox bbox; local in function:dump_outline 116 FT_Outline_Get_CBox( outline, &bbox ); 118 XVAL( bbox.xMin ), 119 XVAL( bbox.yMin ), 120 XVAL( bbox.xMax ), 121 XVAL( bbox.yMax ) ); 123 /* compute and display bbox */ 124 FT_Outline_Get_BBox( outline, &bbox ); 138 FT_BBox bbox; local in function:profile_outline [all...] |
| /xsrc/external/mit/freetype/dist/src/base/ |
| H A D | ftbbox.c | 5 * FreeType bbox computation (body). 39 FT_BBox bbox; member in struct:TBBox_Rec_ 44 #define FT_UPDATE_BBOX( p, bbox ) \ 46 if ( p->x < bbox.xMin ) \ 47 bbox.xMin = p->x; \ 48 if ( p->x > bbox.xMax ) \ 49 bbox.xMax = p->x; \ 50 if ( p->y < bbox.yMin ) \ 51 bbox.yMin = p->y; \ 52 if ( p->y > bbox 467 FT_BBox bbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, variable in typeref:typename:FT_BBox [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_setup_point.c | 346 struct u_rect bbox; local in function:try_setup_point 380 bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER; 381 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; 382 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 387 bbox.x1--; 388 bbox.y1--; 413 bbox.x0 = x0 >> FIXED_ORDER; 414 bbox.y0 = y0 >> FIXED_ORDER; 415 bbox [all...] |
| H A D | lp_setup_context.h | 172 scissor_planes_needed(boolean scis_planes[4], const struct u_rect *bbox, argument 176 scis_planes[0] = (bbox->x0 < scissor->x0); 178 scis_planes[1] = (bbox->x1 > scissor->x1); 180 scis_planes[2] = (bbox->y0 < scissor->y0); 182 scis_planes[3] = (bbox->y1 > scissor->y1); 221 const struct u_rect *bbox,
|
| H A D | lp_setup_tri.c | 277 struct u_rect bbox, bboxpos; local in function:do_triangle_ccw 316 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; 317 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; 320 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; 321 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; 324 if (bbox.x1 < bbox.x0 || 325 bbox.y1 < bbox.y0) { 331 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { 752 lp_setup_bin_triangle(struct lp_setup_context * setup,struct lp_rast_triangle * tri,const struct u_rect * bboxorig,const struct u_rect * bbox,int nr_planes,unsigned viewport_index) argument [all...] |
| H A D | lp_setup_line.c | 292 struct u_rect bbox, bboxpos; local in function:try_setup_line 560 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 561 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 562 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 563 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 567 bbox.x1--; 568 bbox.y1--; 571 if (bbox.x1 < bbox.x0 || 572 bbox [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_setup_point.c | 355 struct u_rect bbox; local in function:try_setup_point 392 bbox.x0 = x[0] >> FIXED_ORDER; 393 bbox.x1 = (x[1] + (FIXED_ONE-1)) >> FIXED_ORDER; 394 bbox.y0 = (y[0] + adj) >> FIXED_ORDER; 395 bbox.y1 = (y[1] + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 399 bbox.x1--; 400 bbox.y1--; 425 bbox.x0 = x0 >> FIXED_ORDER; 426 bbox.y0 = y0 >> FIXED_ORDER; 427 bbox [all...] |
| H A D | lp_setup_context.h | 197 scissor_planes_needed(boolean scis_planes[4], const struct u_rect *bbox, argument 201 scis_planes[0] = (bbox->x0 < scissor->x0); 203 scis_planes[1] = (bbox->x1 > scissor->x1); 205 scis_planes[2] = (bbox->y0 < scissor->y0); 207 scis_planes[3] = (bbox->y1 > scissor->y1); 283 const struct u_rect *bbox,
|
| H A D | lp_setup_tri.c | 280 struct u_rect bbox, bboxpos; local in function:do_triangle_ccw 319 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; 320 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; 323 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; 324 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; 327 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { 333 bboxpos = bbox; 573 (bbox.x1 - bbox.x0) <= MAX_FIXED_LENGTH32 && 574 (bbox 773 lp_setup_bin_triangle(struct lp_setup_context * setup,struct lp_rast_triangle * tri,const struct u_rect * bboxorig,const struct u_rect * bbox,int nr_planes,unsigned viewport_index) argument [all...] |
| H A D | lp_setup_rect.c | 260 struct u_rect bbox; local in function:try_rect_cw 307 bbox.x0 = (MIN3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; 308 bbox.x1 = (MAX3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; 309 bbox.y0 = (MIN3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 310 bbox.y1 = (MAX3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 314 bbox.x1--; 315 bbox.y1--; 318 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { 324 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox); 337 rect->box.x0 = bbox [all...] |
| H A D | lp_setup_line.c | 292 struct u_rect bbox, bboxpos; local in function:try_setup_line 586 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 587 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; 588 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 589 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; 593 bbox.x1--; 594 bbox.y1--; 597 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) { 603 bboxpos = bbox; 718 return lp_setup_bin_triangle(setup, line, &bbox, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | framebuffer.c | 336 * \param bbox Bounding box for the scissored viewport. Stored as xmin, 341 unsigned idx, int *bbox) 344 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) { 345 bbox[0] = ctx->Scissor.ScissorArray[idx].X; 347 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) { 348 bbox[2] = ctx->Scissor.ScissorArray[idx].Y; 350 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { 351 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; 353 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) { 354 bbox[ 340 _mesa_intersect_scissor_bounding_box(const struct gl_context * ctx,unsigned idx,int * bbox) argument 381 scissor_bounding_box(const struct gl_context * ctx,const struct gl_framebuffer * buffer,unsigned idx,int * bbox) argument 406 int bbox[4]; local in function:_mesa_update_draw_buffer_bounds [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | framebuffer.c | 318 * \param bbox Bounding box for the scissored viewport. Stored as xmin, 323 unsigned idx, int *bbox) 326 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) { 327 bbox[0] = ctx->Scissor.ScissorArray[idx].X; 329 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) { 330 bbox[2] = ctx->Scissor.ScissorArray[idx].Y; 332 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { 333 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; 335 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) { 336 bbox[ 322 _mesa_intersect_scissor_bounding_box(const struct gl_context * ctx,unsigned idx,int * bbox) argument 363 scissor_bounding_box(const struct gl_context * ctx,const struct gl_framebuffer * buffer,unsigned idx,int * bbox) argument 388 int bbox[4]; local in function:_mesa_update_draw_buffer_bounds [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/ |
| H A D | binner.cpp | 359 // step to pixel center of top-left pixel of the triangle bbox 876 SIMDBBOX_T<SIMD_T> bbox; local in function:BinTrianglesImpl 884 calcBoundingBoxIntVertical<SIMD_T, CT>(vXi, vYi, bbox); 898 Integer<SIMD_T> xmin = SIMD_T::add_epi32(bbox.xmin, SIMD_T::set1_epi32(127)); 900 Integer<SIMD_T> xmax = SIMD_T::add_epi32(bbox.xmax, SIMD_T::set1_epi32(128)); 905 Integer<SIMD_T> ymin = SIMD_T::add_epi32(bbox.ymin, SIMD_T::set1_epi32(127)); 907 Integer<SIMD_T> ymax = SIMD_T::add_epi32(bbox.ymax, SIMD_T::set1_epi32(128)); 947 // Make triangle bbox inclusive 948 bbox.xmax = SIMD_T::sub_epi32(bbox 1424 SIMDBBOX_T<SIMD_T> bbox; local in function:BinPostSetupPointsImpl 1714 SIMDBBOX_T<SIMD_T> bbox; local in function:BinPostSetupLinesImpl [all...] |
| H A D | binner.h | 81 /// @param bbox: fixed point bbox 87 SIMDBBOX_T<SIMD_T>& bbox) 112 /// rasterization expand bbox by 1/256; coverage will be correctly handled in the 123 bbox.xmin = vMinX; 124 bbox.xmax = vMaxX; 125 bbox.ymin = vMinY; 126 bbox.ymax = vMaxY; 85 calcBoundingBoxIntVertical(const Integer<SIMD_T> (& vX)[3],const Integer<SIMD_T> (& vY)[3],SIMDBBOX_T<SIMD_T> & bbox) argument
|
| /xsrc/external/mit/xwd/dist/ |
| H A D | multiVis.c | 225 XRectangle bbox; /* bounding box of grabbed area */ local in function:GetMultiVisualRegions 227 bbox.x = x; /* init X rect for bounding box */ 228 bbox.y = y; 229 bbox.width = width; 230 bbox.height = height; 239 if ((*vis_regions = make_region_list(disp, srcRootWinid, &bbox, 248 make_region_list(disp, srcRootWinid, &bbox, &hasNonDefault, 340 XRectangle bbox, /* bounding box of grabbed area */ 367 Intersect bbox with visible part of region giving src rect & output 373 MIN(vis_reg->rects[rect].x2, bbox 338 ReadRegionsInList(Display * disp,Visual * fakeVis,int depth,int format,unsigned int width,unsigned int height,XRectangle bbox,list_ptr regions) argument 423 XRectangle bbox; /* bounding box of grabbed area */ local in function:ReadAreaToImage 605 make_src_list(Display * disp,list_ptr image_wins,XRectangle * bbox,Window curr,int x_rootrel,int y_rootrel,XWindowAttributes * curr_attrs,XRectangle * pclip) argument 700 make_region_list(Display * disp,Window win,XRectangle * bbox,int * hasNonDefault,int numImageVisuals,XVisualInfo ** pImageVisuals,int * allImage) argument [all...] |
| /xsrc/external/mit/glu/dist/src/libnurbs/internals/ |
| H A D | patchlist.h | 51 void bbox();
|
| H A D | ccw.cc | 50 Subdivider::bbox( TrimVertex *a, TrimVertex *b, TrimVertex *c, int p ) function in class:Subdivider 52 return bbox( a->param[p], b->param[p], c->param[p], 93 switch( bbox( v2, v2next, v1next, 1 ) ) { 122 switch( bbox( v1, v1next, v2next, 1 ) ) { 206 switch( bbox( v2next, v2, v1next, 1 ) ) { 235 switch( bbox( v1next, v1, v2next, 1 ) ) { 319 switch( bbox( v2, v2next, v1next, 0 ) ) { 348 switch( bbox( v1, v1next, v2next, 0 ) ) { 432 switch( bbox( v2next, v2, v1next, 0 ) ) { 461 switch( bbox( v1nex 511 Subdivider::bbox( REAL sa, REAL sb, REAL sc, REAL ta, REAL tb, REAL tc ) function in class:Subdivider [all...] |
| H A D | patch.h | 69 void bbox( void ); 89 REAL bpts[MAXORDER*MAXORDER*MAXCOORDS]; //bbox pts
|
| /xsrc/external/mit/xmh/dist/ |
| H A D | Makefile.am | 31 bbox.c \ 32 bbox.h \
|
| /xsrc/external/mit/freetype/dist/src/autofit/ |
| H A D | afloader.c | 516 FT_BBox bbox; local in function:af_loader_load_glyph 537 FT_Outline_Get_CBox( &gloader->base.outline, &bbox ); 539 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); 540 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); 541 bbox.xMax = FT_PIX_CEIL( bbox.xMax ); 542 bbox.yMax = FT_PIX_CEIL( bbox [all...] |
| /xsrc/external/mit/freetype/dist/src/cid/ |
| H A D | cidobjs.c | 433 cidface->bbox.xMin = cid->font_bbox.xMin >> 16; 434 cidface->bbox.yMin = cid->font_bbox.yMin >> 16; 436 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16; 437 cidface->bbox.yMax = ( cid->font_bbox.yMax + 0xFFFF ) >> 16; 442 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); 443 cidface->descender = (FT_Short)( cidface->bbox.yMin );
|
| /xsrc/external/mit/freetype/dist/src/type1/ |
| H A D | t1objs.c | 469 root->bbox.xMin = type1->font_bbox.xMin >> 16; 470 root->bbox.yMin = type1->font_bbox.yMin >> 16; 472 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16; 473 root->bbox.yMax = ( type1->font_bbox.yMax + 0xFFFF ) >> 16; 479 root->ascender = (FT_Short)( root->bbox.yMax ); 480 root->descender = (FT_Short)( root->bbox.yMin ); 488 (FT_Short)( root->bbox.xMax );
|
| /xsrc/external/mit/libXfont/dist/src/FreeType/ |
| H A D | ftfuncs.c | 902 FT_BBox *bbox, 920 bbox->xMax = *horiAdvance = 922 bbox->xMin = 925 bbox->yMin = FT_MulFix( face->bbox.yMin, 927 bbox->yMax = FT_MulFix( face->bbox.yMax, 931 bbox->xMax += slant * bbox->yMax; 932 bbox 896 ft_get_very_lazy_bbox(FT_UInt index,FT_Face face,FT_Size size,FT_UInt num_hmetrics,double slant,FT_Matrix * matrix,FT_BBox * bbox,FT_Long * horiAdvance,FT_Long * vertAdvance) argument 1079 FT_BBox bbox; local in function:FreeTypeRasteriseGlyph [all...] |
| /xsrc/external/mit/libXfont2/dist/src/FreeType/ |
| H A D | ftfuncs.c | 904 FT_BBox *bbox, 922 bbox->xMax = *horiAdvance = 924 bbox->xMin = 927 bbox->yMin = FT_MulFix( face->bbox.yMin, 929 bbox->yMax = FT_MulFix( face->bbox.yMax, 933 bbox->xMax += slant * bbox->yMax; 934 bbox 898 ft_get_very_lazy_bbox(FT_UInt index,FT_Face face,FT_Size size,FT_UInt num_hmetrics,double slant,FT_Matrix * matrix,FT_BBox * bbox,FT_Long * horiAdvance,FT_Long * vertAdvance) argument 1081 FT_BBox bbox; local in function:FreeTypeRasteriseGlyph [all...] |