Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ft2build.h>
Go to the source code of this file.
Macros | |
#define | CHECK_X(p, bbox) ( p->x < bbox.xMin || p->x > bbox.xMax ) |
#define | CHECK_Y(p, bbox) ( p->y < bbox.yMin || p->y > bbox.yMax ) |
Typedefs | |
typedef struct TBBox_Rec_ | TBBox_Rec |
Functions | |
FT_DEFINE_OUTLINE_FUNCS (bbox_interface,(FT_Outline_MoveTo_Func) BBox_Move_To,(FT_Outline_LineTo_Func) BBox_Move_To,(FT_Outline_ConicTo_Func) BBox_Conic_To,(FT_Outline_CubicTo_Func) BBox_Cubic_To, 0, 0) FT_Outline_Get_BBox(FT_Outline *outline | |
if (!abbox) return FT_THROW(Invalid_Argument) | |
if (outline->n_points==0||outline->n_contours<=0) | |
for (n=1;n< outline->n_points;n++) | |
if (cbox.xMin< bbox.xMin||cbox.xMax > bbox.xMax||cbox.yMin< bbox.yMin||cbox.yMax > bbox.yMax) | |
Variables | |
FT_BBox * | abbox |
FT_BBox | bbox |
FT_Vector * | vec = outline->points |
FT_UShort | n |
bbox | xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x |
bbox | yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y |
return | FT_Err_Ok |
typedef struct TBBox_Rec_ TBBox_Rec |
Definition at line 593 of file ftbbox.c.
References FT_CURVE_TAG, FT_CURVE_TAG_ON, FT_Pos, FT_Outline_::tags, FT_Vector_::x, FT_BBox_::xMax, FT_BBox_::xMin, FT_Vector_::y, FT_BBox_::yMax, and FT_BBox_::yMin.
Referenced by color_quantize(), color_quantize3(), compress_data(), compress_first_pass(), compress_output(), compute_color(), construct(), consume_data(), create_odither_tables(), decompress_onepass(), forward_DCT(), forward_DCT_float(), gen_bitlen(), h2v1_merged_upsample(), h2v2_merged_upsample(), inflateBack(), init_block(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), jpeg_idct_islow(), make_funny_pointers(), pass2_fs_dither(), pass2_no_dither(), pfr_slot_load_bitmap(), preload_image(), prescan_quantize(), quantize3_ord_dither(), quantize_fs_dither(), quantize_ord_dither(), realize_virt_arrays(), select_scan_parameters(), sep_downsample(), set_bottom_pointers(), set_wraparound_pointers(), start_pass(), start_pass_fdctmgr(), tt_face_done(), and TT_Load_Simple_Glyph().
FT_DEFINE_OUTLINE_FUNCS | ( | bbox_interface | , |
(FT_Outline_MoveTo_Func) | BBox_Move_To, | ||
(FT_Outline_LineTo_Func) | BBox_Move_To, | ||
(FT_Outline_ConicTo_Func) | BBox_Conic_To, | ||
(FT_Outline_CubicTo_Func) | BBox_Cubic_To, | ||
0 | , | ||
0 | |||
) |
if | ( | ! | abbox | ) |
Referenced by af_glyph_hints_reload(), af_latin_hints_compute_segments(), af_property_get_face_globals(), alloc_large(), alloc_small(), cf2_decoder_parse_charstrings(), cff_builder_add_point(), cff_builder_close_contour(), cff_decoder_parse_charstrings(), cff_decoder_prepare(), cff_face_done(), cff_size_done(), cid_face_init(), cid_parse_font_matrix(), consume_markers(), create_colorindex(), decode_mcu(), decode_mcu_AC_first(), decode_mcu_DC_first(), decode_mcu_DC_refine(), deflateResetKeep(), empty_output_buffer(), encode_mcu_AC_first(), encode_mcu_AC_refine(), encode_mcu_DC_first(), encode_mcu_DC_refine(), encode_mcu_gather(), fill_window(), finish_output_bmp(), finish_output_pass(), flush_packet(), free_pool(), FT_Get_Advances(), ftc_basic_gnode_compare_faceid(), gzclose_w(), inflate(), inflateBack(), inflateEnd(), inflateGetDictionary(), inflateGetHeader(), inflatePrime(), inflateReset2(), inflateResetKeep(), inflateSetDictionary(), inflateSync(), vl::ShaderNode::inherit(), jinit_d_post_controller(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), jpeg_new_colormap(), jpeg_set_marker_processor(), log_append(), MD5Update(), merged_2v_upsample(), vl::DaeLoader::parseGeometry(), pfr_slot_load(), png_do_shift(), post_process_1pass(), post_process_2pass(), post_process_prepass(), prepare_for_output_pass(), process_data_context_main(), process_data_simple_main(), process_restart(), ps_table_add(), ps_table_new(), request_virt_barray(), request_virt_sarray(), sep_upsample(), setfiletime(), sfnt_done_face(), sfnt_init_face(), vl::Effect::shallowCopyFrom(), skip_input_data(), smoothing_ok(), start_iMCU_row(), start_output_pass(), start_pass_2_quant(), start_pass_coef(), start_pass_huff_decoder(), start_pass_prep(), t1_builder_close_contour(), T1_Face_Init(), T1_Get_Advances(), T1_Parse_Glyph(), T1_Parse_Glyph_And_Get_Char_String(), T42_Face_Init(), t42_parse_dict(), t42_parser_init(), term_destination(), TIFFReadCustomDirectory(), TIFFWriteEncodedTile(), tt_cmap_init(), tt_face_build_cmaps(), tt_face_done(), tt_face_get_ps_name(), TT_Load_Simple_Glyph(), tt_size_reset(), unzOpenCurrentFile3(), unzReadCurrentFile(), update_box(), updatewindow(), write_scan_header(), and zip64local_TmzDateToDosDate().
if | ( | outline-> | n_points = = 0 || outline->n_contours <= 0 | ) |
Definition at line 577 of file ftbbox.c.
References FT_Outline_::points, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.
Definition at line 620 of file ftbbox.c.
References bbox, error, and FT_Outline_Decompose().
else * abbox |
FT_BBox bbox |
Definition at line 565 of file ftbbox.c.
Referenced by vl::Text::boundingRect(), vl::CoreText::boundingRect(), vl::Text::boundingRectTransformed(), vl::SceneManager::computeBounds(), ft_outline_glyph_bbox(), if(), vl::CoreText::renderBackground(), vl::CoreText::renderBorder(), vl::Text::renderText(), vl::CoreText::renderText(), and vl::SceneManager::setBoundingBox().
return FT_Err_Ok |
Definition at line 645 of file ftbbox.c.
Referenced by af_axis_hints_new_edge(), af_axis_hints_new_segment(), af_face_globals_get_metrics(), af_glyph_hints_reload(), af_latin2_hints_compute_edges(), af_latin2_hints_compute_segments(), af_latin2_metrics_init(), af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_loader_reset(), af_property_get(), af_property_get_face_globals(), af_property_set(), afm_parser_init(), afm_parser_read_int(), bdf_cmap_init(), BDF_Face_Init(), BDF_Glyph_Load(), bdf_load_font(), BDF_Size_Request(), BDF_Size_Select(), cf2_decoder_parse_charstrings(), cf2_getGlyphWidth(), cf2_getSeacComponent(), cf2_interpT2CharString(), cf2_stack_init(), cff_builder_start_point(), cff_decoder_parse_charstrings(), cff_decoder_prepare(), cff_driver_init(), cff_face_init(), cff_get_advances(), cff_get_kerning(), cff_index_access_element(), cff_parser_run(), cff_size_init(), cff_slot_init(), cid_driver_init(), cid_load_glyph(), cid_parse_font_matrix(), cid_size_init(), FT_Activate_Size(), FT_Add_Module(), FT_Bitmap_Convert(), FT_Bitmap_Copy(), FT_Bitmap_Embolden(), ft_bitmap_glyph_init(), FT_CMap_New(), FT_DEFINE_GLYPH(), FT_Done_Face(), FT_Done_FreeType(), FT_Done_Size(), FT_Get_Advances(), FT_Get_Kerning(), FT_Get_PFR_Metrics(), FT_Get_Track_Kerning(), FT_Glyph_To_Bitmap(), FT_Glyph_Transform(), FT_GlyphLoader_CheckPoints(), FT_GlyphLoader_CheckSubGlyphs(), FT_GlyphSlot_Own_Bitmap(), FT_List_Iterate(), FT_Match_Size(), FT_Matrix_Invert(), ft_mem_qalloc(), ft_mem_qrealloc(), ft_mem_realloc(), FT_New_Library(), FT_New_Memory_Face(), FT_Outline_Copy(), FT_Outline_Decompose(), FT_Outline_EmboldenXY(), ft_outline_glyph_prepare(), FT_Raccess_Get_HeaderInfo(), FT_Reference_Face(), FT_Reference_Library(), FT_Render_Glyph_Internal(), FT_Request_Size(), FT_Select_Size(), FT_Set_Renderer(), FT_Stream_EnterFrame(), FT_Stream_Open(), FT_Stream_ReadAt(), FT_Stream_ReadChar(), FT_Stream_ReadFields(), FT_Stream_ReadULong(), FT_Stream_ReadULongLE(), FT_Stream_ReadUOffset(), FT_Stream_ReadUShort(), FT_Stream_ReadUShortLE(), FT_Stream_Seek(), FT_Stroker_BeginSubPath(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), FT_Stroker_EndSubPath(), FT_Stroker_LineTo(), FT_Stroker_ParseOutline(), ft_validator_init(), gxv_sfntName_validate(), main(), parse_afm(), parse_expansion_factor(), parse_fd_array(), pcf_cmap_init(), PCF_Face_Init(), PCF_Glyph_Load(), pcf_load_font(), PCF_Size_Request(), PCF_Size_Select(), pfr_cmap_init(), pfr_extra_item_load_bitmap_info(), pfr_extra_item_load_font_id(), pfr_extra_item_load_kerning_pairs(), pfr_extra_item_load_stem_snaps(), pfr_extra_items_parse(), pfr_face_get_kerning(), pfr_get_advance(), pfr_get_kerning(), pfr_get_metrics(), ps_hints_apply(), ps_hints_init(), ps_parser_init(), ps_parser_load_field_table(), ps_parser_to_bytes(), sfnt_load_face(), t1_builder_add_contour(), t1_builder_start_point(), T1_Compute_Max_Advance(), t1_decoder_init(), t1_decoder_parse_charstrings(), T1_Driver_Init(), T1_Face_Init(), T1_Get_Advances(), T1_Get_Multi_Master(), T1_Get_Private_Dict(), T1_Get_Track_Kerning(), T1_Parse_Glyph_And_Get_Char_String(), T1_Set_MM_Blend(), T1_Size_Init(), T42_Driver_Init(), T42_GlyphSlot_Init(), t42_parse_dict(), t42_parser_init(), T42_Size_Init(), TT_Access_Glyph_Frame(), tt_cmap_init(), tt_driver_init(), tt_face_build_cmaps(), tt_face_done(), tt_face_get_metrics(), tt_face_init(), tt_face_load_any(), tt_face_load_cvt(), tt_face_load_eblc(), tt_face_load_fpgm(), tt_face_load_hdmx(), tt_face_load_post(), tt_face_load_prep(), tt_face_load_strike_metrics(), TT_Load_Glyph(), TT_Load_Glyph_Header(), tt_size_init(), and tt_size_reset().
vec = outline->points |
Definition at line 566 of file ftbbox.c.
Referenced by af_glyph_hints_reload(), af_glyph_hints_save(), beenhere(), cid_slot_load_glyph(), cleanup(), FT_Outline_Decompose(), FT_Outline_Get_CBox(), FT_Outline_Transform(), FT_Outline_Translate(), FT_Stroker_ParseOutline(), FT_Vector_Length(), FT_Vector_Polarize(), vl::loadMD2(), pfr_slot_load(), T1_Load_Glyph(), vl::Tessellator::tessCombineData(), vl::Tessellator::tessellateIntoSinglePolygon(), and TT_Load_Simple_Glyph().
Definition at line 589 of file ftbbox.c.
Referenced by FT_Outline_Get_CBox().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:54.
© Copyright Michele Bosi. All rights reserved.