Home
last modified time | relevance | path

Searched refs:cbox (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/third_party/externals/freetype/src/sdf/
Dftsdf.c849 FT_CBox cbox = { 0, 0, 0, 0 }; in get_control_box() local
856 cbox.xMin = edge.control_b.x; in get_control_box()
857 cbox.xMax = edge.control_b.x; in get_control_box()
858 cbox.yMin = edge.control_b.y; in get_control_box()
859 cbox.yMax = edge.control_b.y; in get_control_box()
867 cbox.xMin = edge.control_a.x < cbox.xMin in get_control_box()
869 : cbox.xMin; in get_control_box()
870 cbox.xMax = edge.control_a.x > cbox.xMax in get_control_box()
872 : cbox.xMax; in get_control_box()
874 cbox.yMin = edge.control_a.y < cbox.yMin in get_control_box()
[all …]
/third_party/freetype/src/sdf/
Dftsdf.c861 FT_CBox cbox = { 0, 0, 0, 0 }; in get_control_box() local
868 cbox.xMin = edge.control_b.x; in get_control_box()
869 cbox.xMax = edge.control_b.x; in get_control_box()
870 cbox.yMin = edge.control_b.y; in get_control_box()
871 cbox.yMax = edge.control_b.y; in get_control_box()
879 cbox.xMin = edge.control_a.x < cbox.xMin in get_control_box()
881 : cbox.xMin; in get_control_box()
882 cbox.xMax = edge.control_a.x > cbox.xMax in get_control_box()
884 : cbox.xMax; in get_control_box()
886 cbox.yMin = edge.control_a.y < cbox.yMin in get_control_box()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftlcdfil.c37 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
61 cbox->xMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
63 cbox->xMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
68 cbox->yMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
70 cbox->yMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
373 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
381 cbox->xMin -= FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
382 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
383 cbox->yMin -= FT_MAX( FT_MAX( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
384 cbox->yMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
[all …]
Dftoutln.c601 FT_BBox cbox; in FT_Outline_Render() local
613 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Render()
614 if ( cbox.xMin < -0x1000000L || cbox.yMin < -0x1000000L || in FT_Outline_Render()
615 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render()
627 params->clip_box.xMin = cbox.xMin >> 6; in FT_Outline_Render()
628 params->clip_box.yMin = cbox.yMin >> 6; in FT_Outline_Render()
629 params->clip_box.xMax = ( cbox.xMax + 63 ) >> 6; in FT_Outline_Render()
630 params->clip_box.yMax = ( cbox.yMax + 63 ) >> 6; in FT_Outline_Render()
1042 FT_BBox cbox = { 0, 0, 0, 0 }; in FT_Outline_Get_Orientation() local
1058 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
[all …]
Dftbbox.c466 FT_BBox cbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, in FT_EXPORT_DEF() local
497 FT_UPDATE_BBOX( vec, cbox ); in FT_EXPORT_DEF()
506 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
507 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
Dftglyph.c122 FT_BBox* cbox ) in ft_bitmap_glyph_bbox() argument
127 cbox->xMin = glyph->left * 64; in ft_bitmap_glyph_bbox()
128 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox()
129 cbox->yMax = glyph->top * 64; in ft_bitmap_glyph_bbox()
130 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
/third_party/skia/third_party/externals/freetype/src/base/
Dftlcdfil.c36 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
60 cbox->xMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
62 cbox->xMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
67 cbox->yMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
69 cbox->yMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
372 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
380 cbox->xMin -= FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
381 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
382 cbox->yMin -= FT_MAX( FT_MAX( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
383 cbox->yMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
[all …]
Dftoutln.c600 FT_BBox cbox; in FT_Outline_Render() local
612 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Render()
613 if ( cbox.xMin < -0x1000000L || cbox.yMin < -0x1000000L || in FT_Outline_Render()
614 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render()
626 params->clip_box.xMin = cbox.xMin >> 6; in FT_Outline_Render()
627 params->clip_box.yMin = cbox.yMin >> 6; in FT_Outline_Render()
628 params->clip_box.xMax = ( cbox.xMax + 63 ) >> 6; in FT_Outline_Render()
629 params->clip_box.yMax = ( cbox.yMax + 63 ) >> 6; in FT_Outline_Render()
1041 FT_BBox cbox = { 0, 0, 0, 0 }; in FT_Outline_Get_Orientation() local
1057 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
[all …]
Dftbbox.c465 FT_BBox cbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, in FT_EXPORT_DEF() local
496 FT_UPDATE_BBOX( vec, cbox ); in FT_EXPORT_DEF()
505 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
506 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
Dftglyph.c123 FT_BBox* cbox ) in ft_bitmap_glyph_bbox() argument
128 cbox->xMin = glyph->left * 64; in ft_bitmap_glyph_bbox()
129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox()
130 cbox->yMax = glyph->top * 64; in ft_bitmap_glyph_bbox()
131 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
/third_party/freetype/src/base/
Dftlcdfil.c36 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
60 cbox->xMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
62 cbox->xMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
67 cbox->yMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
69 cbox->yMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
372 ft_lcd_padding( FT_BBox* cbox, in ft_lcd_padding() argument
380 cbox->xMin -= FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
381 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
382 cbox->yMin -= FT_MAX( FT_MAX( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
383 cbox->yMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
[all …]
Dftoutln.c600 FT_BBox cbox; in FT_Outline_Render() local
612 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Render()
613 if ( cbox.xMin < -0x1000000L || cbox.yMin < -0x1000000L || in FT_Outline_Render()
614 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render()
626 params->clip_box.xMin = cbox.xMin >> 6; in FT_Outline_Render()
627 params->clip_box.yMin = cbox.yMin >> 6; in FT_Outline_Render()
628 params->clip_box.xMax = ( cbox.xMax + 63 ) >> 6; in FT_Outline_Render()
629 params->clip_box.yMax = ( cbox.yMax + 63 ) >> 6; in FT_Outline_Render()
1041 FT_BBox cbox = { 0, 0, 0, 0 }; in FT_Outline_Get_Orientation() local
1057 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
[all …]
Dftbbox.c465 FT_BBox cbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, in FT_EXPORT_DEF() local
496 FT_UPDATE_BBOX( vec, cbox ); in FT_EXPORT_DEF()
505 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
506 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
/third_party/flutter/skia/third_party/externals/freetype/src/cid/
Dcidgload.c438 FT_BBox cbox; in cid_slot_load_glyph() local
505 FT_Outline_Get_CBox( &cidglyph->outline, &cbox ); in cid_slot_load_glyph()
507 metrics->width = cbox.xMax - cbox.xMin; in cid_slot_load_glyph()
508 metrics->height = cbox.yMax - cbox.yMin; in cid_slot_load_glyph()
510 metrics->horiBearingX = cbox.xMin; in cid_slot_load_glyph()
511 metrics->horiBearingY = cbox.yMax; in cid_slot_load_glyph()
/third_party/freetype/src/cid/
Dcidgload.c433 FT_BBox cbox; in cid_slot_load_glyph() local
500 FT_Outline_Get_CBox( &cidglyph->outline, &cbox ); in cid_slot_load_glyph()
502 metrics->width = cbox.xMax - cbox.xMin; in cid_slot_load_glyph()
503 metrics->height = cbox.yMax - cbox.yMin; in cid_slot_load_glyph()
505 metrics->horiBearingX = cbox.xMin; in cid_slot_load_glyph()
506 metrics->horiBearingY = cbox.yMax; in cid_slot_load_glyph()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidgload.c433 FT_BBox cbox; in cid_slot_load_glyph() local
500 FT_Outline_Get_CBox( &cidglyph->outline, &cbox ); in cid_slot_load_glyph()
502 metrics->width = cbox.xMax - cbox.xMin; in cid_slot_load_glyph()
503 metrics->height = cbox.yMax - cbox.yMin; in cid_slot_load_glyph()
505 metrics->horiBearingX = cbox.xMin; in cid_slot_load_glyph()
506 metrics->horiBearingY = cbox.yMax; in cid_slot_load_glyph()
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c366 FT_BBox cbox; in pfr_slot_load() local
449 FT_Outline_Get_CBox( outline, &cbox ); in pfr_slot_load()
451 metrics->width = cbox.xMax - cbox.xMin; in pfr_slot_load()
452 metrics->height = cbox.yMax - cbox.yMin; in pfr_slot_load()
453 metrics->horiBearingX = cbox.xMin; in pfr_slot_load()
454 metrics->horiBearingY = cbox.yMax - metrics->height; in pfr_slot_load()
/third_party/freetype/src/pfr/
Dpfrobjs.c370 FT_BBox cbox; in pfr_slot_load() local
453 FT_Outline_Get_CBox( outline, &cbox ); in pfr_slot_load()
455 metrics->width = cbox.xMax - cbox.xMin; in pfr_slot_load()
456 metrics->height = cbox.yMax - cbox.yMin; in pfr_slot_load()
457 metrics->horiBearingX = cbox.xMin; in pfr_slot_load()
458 metrics->horiBearingY = cbox.yMax - metrics->height; in pfr_slot_load()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c370 FT_BBox cbox; in pfr_slot_load() local
453 FT_Outline_Get_CBox( outline, &cbox ); in pfr_slot_load()
455 metrics->width = cbox.xMax - cbox.xMin; in pfr_slot_load()
456 metrics->height = cbox.yMax - cbox.yMin; in pfr_slot_load()
457 metrics->horiBearingX = cbox.xMin; in pfr_slot_load()
458 metrics->horiBearingY = cbox.yMax - metrics->height; in pfr_slot_load()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1gload.c481 FT_BBox cbox; in T1_Load_Glyph() local
560 FT_Outline_Get_CBox( &t1glyph->outline, &cbox ); in T1_Load_Glyph()
562 metrics->width = cbox.xMax - cbox.xMin; in T1_Load_Glyph()
563 metrics->height = cbox.yMax - cbox.yMin; in T1_Load_Glyph()
565 metrics->horiBearingX = cbox.xMin; in T1_Load_Glyph()
566 metrics->horiBearingY = cbox.yMax; in T1_Load_Glyph()
/third_party/flutter/skia/third_party/externals/freetype/src/type1/
Dt1gload.c482 FT_BBox cbox; in T1_Load_Glyph() local
561 FT_Outline_Get_CBox( &t1glyph->outline, &cbox ); in T1_Load_Glyph()
563 metrics->width = cbox.xMax - cbox.xMin; in T1_Load_Glyph()
564 metrics->height = cbox.yMax - cbox.yMin; in T1_Load_Glyph()
566 metrics->horiBearingX = cbox.xMin; in T1_Load_Glyph()
567 metrics->horiBearingY = cbox.yMax; in T1_Load_Glyph()
/third_party/freetype/src/type1/
Dt1gload.c481 FT_BBox cbox; in T1_Load_Glyph() local
560 FT_Outline_Get_CBox( &t1glyph->outline, &cbox ); in T1_Load_Glyph()
562 metrics->width = cbox.xMax - cbox.xMin; in T1_Load_Glyph()
563 metrics->height = cbox.yMax - cbox.yMin; in T1_Load_Glyph()
565 metrics->horiBearingX = cbox.xMin; in T1_Load_Glyph()
566 metrics->horiBearingY = cbox.yMax; in T1_Load_Glyph()
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DBundleItemDialog.java281 JCheckBox cbox; field in TranslationFocusListener
284 public TranslationFocusListener(String original, JCheckBox cbox) { in TranslationFocusListener() argument
286 this.cbox = cbox; in TranslationFocusListener()
287 selected = cbox.isSelected(); in TranslationFocusListener()
295 cbox.setSelected(selected); in focusLost()
298 cbox.setSelected(true); in focusLost()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffgload.c544 FT_BBox cbox; in cff_slot_load() local
656 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load()
658 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load()
659 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load()
661 metrics->horiBearingX = cbox.xMin; in cff_slot_load()
662 metrics->horiBearingY = cbox.yMax; in cff_slot_load()
/third_party/flutter/skia/third_party/externals/freetype/src/cff/
Dcffgload.c547 FT_BBox cbox; in cff_slot_load() local
659 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load()
661 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load()
662 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load()
664 metrics->horiBearingX = cbox.xMin; in cff_slot_load()
665 metrics->horiBearingY = cbox.yMax; in cff_slot_load()

123