/haiku/src/system/kernel/ |
H A D | convertutf.cpp | 22 glyph_length(uint32 glyph) argument 24 if (glyph < 0x80) 26 else if (glyph < 0x800) 28 else if (glyph < 0x10000) 30 else if (glyph < 0x110000) 38 encode_glyph(uint32 glyph, size_t glyphLength, char* buffer) argument 41 *buffer = glyph; 43 *buffer++ = 0xC0 | (glyph >> 6); 44 *buffer = 0x80 | (glyph & 0x3F); 46 *buffer++ = 0xE0 | (glyph >> 1 70 uint32 glyph = isLittleEndian local [all...] |
/haiku/src/servers/app/font/ |
H A D | FontCacheEntry.cpp | 79 GlyphCache* glyph = fGlyphTable.Clear(true); local 80 while (glyph != NULL) { 81 GlyphCache* next = glyph->hash_link; 82 delete glyph; 83 glyph = next; 102 GlyphCache* glyph = fGlyphTable.Lookup(glyphIndex); local 103 if (glyph != NULL) 106 glyph = new(std::nothrow) GlyphCache(glyphIndex, dataSize, dataType, 109 if (glyph == NULL || glyph 308 const GlyphCache* glyph = fGlyphCache->FindGlyph(glyphCode); local 352 InitAdaptors(const GlyphCache* glyph, double x, double y, GlyphMonoAdapter& monoAdapter, GlyphGray8Adapter& gray8Adapter, GlyphPathAdapter& pathAdapter, double scale) argument [all...] |
H A D | FontEngine.cpp | 495 fPreciseAdvanceX = (double)fFace->glyph->advance.x / units_per_EM; 496 fPreciseAdvanceY = (double)fFace->glyph->advance.y / units_per_EM; 504 fAdvanceX = int26p6_to_dbl(fFace->glyph->advance.x); 505 fAdvanceY = int26p6_to_dbl(fFace->glyph->advance.y); 507 fInsetLeft = int26p6_to_dbl(fFace->glyph->metrics.horiBearingX); 508 fInsetRight = int26p6_to_dbl(fFace->glyph->metrics.horiBearingX 509 + fFace->glyph->metrics.width - fFace->glyph->metrics.horiAdvance); 513 fLastError = FT_Render_Glyph(fFace->glyph, FT_RENDER_MODE_MONO); 515 decompose_ft_bitmap_mono(fFace->glyph [all...] |
H A D | GlyphLayoutEngine.h | 312 // Use direct glyph locations instead of calculating them 324 const GlyphCache* glyph = entry->CachedGlyph(charCode); local 325 if (glyph == NULL) { 326 glyph = _CreateGlyph(*pCacheReference, fallbacksList, font, 334 if (glyph == NULL) { 341 advanceX = glyph->precise_advance_x * size; 342 advanceY = glyph->precise_advance_y * size; 344 advanceX = glyph->advance_x; 345 advanceY = glyph->advance_y; 354 if (!consumer.ConsumeGlyph(index++, charCode, glyph, entr [all...] |
H A D | FontCacheEntry.h | 118 void InitAdaptors(const GlyphCache* glyph,
|
H A D | FontStyle.cpp | 83 int firstWidth = face->glyph->advance.x; 88 if (face->glyph->advance.x != firstWidth)
|
/haiku/headers/private/kernel/ |
H A D | console.h | 23 void (*put_glyph)(int32 x, int32 y, uint8 glyph, uint8 attr); 24 void (*fill_glyph)(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr);
|
/haiku/headers/libs/agg/ |
H A D | agg_font_cache_manager.h | 106 glyph_cache* glyph = 110 glyph->glyph_index = glyph_index; 111 glyph->data = m_allocator.allocate(data_size); 112 glyph->data_size = data_size; 113 glyph->data_type = data_type; 114 glyph->bounds = bounds; 115 glyph->advance_x = advance_x; 116 glyph->advance_y = advance_y; 117 return m_glyphs[msb][lsb] = glyph; 279 const glyph_cache* glyph(unsigne function in class:agg::font_cache_manager [all...] |
H A D | agg_glyph_raster_bin.h | 66 unsigned glyph = *str; local 68 value(m_font + 4 + (glyph - start_char) * 2); 76 void prepare(glyph_rect* r, double x, double y, unsigned glyph, bool flip) argument 82 value(m_font + 4 + (glyph - start_char) * 2);
|
H A D | agg_renderer_raster_text.h | 34 renderer_raster_htext_solid(ren_type& ren, glyph_gen_type& glyph) : argument 36 m_glyph(&glyph) 98 renderer_raster_vtext_solid(ren_type& ren, glyph_gen_type& glyph) : argument 100 m_glyph(&glyph) 205 renderer_raster_htext(ren_type& ren, glyph_gen_type& glyph) : argument 207 m_glyph(&glyph)
|
H A D | agg_gsv_text.h | 42 glyph enumerator in enum:agg::gsv_text::status
|
/haiku/src/tests/apps/miniterminal/ |
H A D | ViewBuffer.h | 22 void PutGlyph(int32 x, int32 y, uint8 glyph, uint8 attr); 23 void FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr); 24 void RenderGlyph(int32 x, int32 y, uint8 glyph, uint8 attr);
|
H A D | ViewBuffer.cpp | 62 // initialize glyph grid 86 // resize glyph grid 94 // transfer old glyph grid into new one 150 ViewBuffer::PutGlyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 155 RenderGlyph(x, y, glyph, attr); 160 ViewBuffer::FillGlyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument 175 RenderGlyph(x2, y, glyph, attr); 182 ViewBuffer::RenderGlyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 185 string[0] = glyph; 193 // remember the glyph i 215 uint8 glyph = grid >> 8; local [all...] |
/haiku/src/apps/haikudepot/textview/ |
H A D | ParagraphLayout.cpp | 301 const GlyphInfo& glyph = fGlyphInfos[fGlyphInfos.size() - 1]; local 302 return glyph.lineIndex; 308 const GlyphInfo& glyph = fGlyphInfos[textOffset]; local 309 return glyph.lineIndex; 391 const GlyphInfo& glyph = fGlyphInfos[fGlyphInfos.size() - 1]; local 392 const LineInfo& line = fLineInfos[glyph.lineIndex]; 394 x1 = glyph.x + glyph.width; 405 const GlyphInfo& glyph = fGlyphInfos[textOffset]; local 406 const LineInfo& line = fLineInfos[glyph 454 const GlyphInfo& glyph = fGlyphInfos[textOffset]; local 529 GlyphInfo glyph = fGlyphInfos[i]; local 668 GlyphInfo glyph = fGlyphInfos[i]; local 860 GlyphInfo glyph = fGlyphInfos[i]; local 950 const GlyphInfo& glyph = fGlyphInfos[textOffset]; local [all...] |
/haiku/src/libs/agg/font_freetype/ |
H A D | agg_font_freetype.cpp | 914 m_last_error = FT_Render_Glyph(m_cur_face->glyph, FT_RENDER_MODE_MONO); 917 decompose_ft_bitmap_mono(m_cur_face->glyph->bitmap, 918 m_cur_face->glyph->bitmap_left, 919 m_flip_y ? -m_cur_face->glyph->bitmap_top : 920 m_cur_face->glyph->bitmap_top, 930 m_advance_x = int26p6_to_dbl(m_cur_face->glyph->advance.x); 931 m_advance_y = int26p6_to_dbl(m_cur_face->glyph->advance.y); 938 m_last_error = FT_Render_Glyph(m_cur_face->glyph, FT_RENDER_MODE_NORMAL); 941 decompose_ft_bitmap_gray8(m_cur_face->glyph->bitmap, 942 m_cur_face->glyph [all...] |
/haiku/src/system/kernel/debug/ |
H A D | frame_buffer_console.cpp | 132 get_font_data(uint8 glyph, int y) argument 136 return data[sConsole.font->glyphHeight * glyph + y]; 138 return sConsole.font->data[sConsole.font->glyphHeight * glyph + y]; 143 render_glyph(int32 column, int32 row, uint8 glyph, uint8 attr) argument 146 if (glyph > 127) 147 glyph = 127; 158 uint16_t bits = get_font_data(glyph, y); 186 uint16_t bits = get_font_data(glyph, y); 265 console_put_glyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 271 render_glyph(x, y, glyph, att 276 console_fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument [all...] |
/haiku/src/add-ons/kernel/console/vga_text/ |
H A D | vga_text.c | 95 put_glyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 97 uint16 pair = ((uint16)attr << 8) | (uint16)glyph; 104 fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument 106 uint16 pair = ((uint16)attr << 8) | (uint16)glyph;
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | AGGTextRenderer.cpp | 227 bool ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, argument 231 // "glyphBounds" is the bounds of the glyph transformed 232 // by the x y location of the glyph along the base line, 235 const agg::rect_i& r = glyph->bounds; 238 // NOTE: "-1"/"+1" converts the glyph bounding box from pixel 245 // render the glyph if this is not a dry run 249 // the glyph is different depending on whether we 260 if (glyph->data_type != glyph_data_outline) { 264 entry->InitAdaptors(glyph, transformedX, transformedY, 271 entry->InitAdaptors(glyph, [all...] |
/haiku/src/servers/app/ |
H A D | ServerFont.cpp | 463 FT_Outline outline = face->glyph->outline; 752 bool ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, argument 756 fEdges[index].left = glyph->inset_left / fSize; 757 fEdges[index].right = glyph->inset_right / fSize; 789 // edgeArray[i].left = float(face->glyph->metrics.horiBearingX) 791 // edgeArray[i].right = float(face->glyph->metrics.horiBearingX 792 // + face->glyph->metrics.width - face->glyph->metrics.horiAdvance) 819 bool ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, argument 886 bool ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, argument 939 ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, FontCacheEntry* entry, double x, double y, double advanceX, double advanceY) argument 1072 ConsumeGlyph(int32 index, uint32 charCode, const GlyphCache* glyph, FontCacheEntry* entry, double x, double y, double advanceX, double advanceY) argument [all...] |
/haiku/src/apps/icon-o-matic/import_export/styled_text/ |
H A D | StyledTextImporter.cpp | 312 BShape glyph; local 313 BShape *glyphs[1] = { &glyph }; 345 if (glyph.Bounds().IsValid()) { 346 //offset.x += glyph.Bounds().Width(); 363 if (iterator.Iterate(&glyph) < B_OK)
|
/haiku/src/apps/charactermap/ |
H A D | CharacterWindow.cpp | 164 fGlyphView = new BStringView("glyph", ""); 346 char glyph[20]; local 347 snprintf(glyph, sizeof(glyph), "'%s'", utf8); 349 fGlyphView->SetText(glyph);
|
/haiku/src/libs/agg/src/ |
H A D | agg_gsv_text.cpp | 646 m_status = glyph; 649 case glyph:
|