Home | History | Annotate | Download | only in vega

Lines Matching refs:glyph

51    struct vg_glyph *glyph;
53 glyph = (struct vg_glyph *)
55 if (glyph)
56 FREE(glyph);
58 return (glyph != NULL);
68 struct vg_glyph *glyph;
73 glyph = CALLOC_STRUCT(vg_glyph);
74 glyph->object = obj;
75 glyph->is_hinted = isHinted;
76 memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyph->glyph_origin));
77 memcpy(glyph->escapement, escapement, sizeof(glyph->glyph_origin));
79 cso_hash_insert(font->glyphs, (unsigned) glyphIndex, glyph);
92 struct vg_glyph *glyph,
96 if (glyph->object && paintModes) {
102 state->glyph_origin[0].f - glyph->glyph_origin[0],
103 state->glyph_origin[1].f - glyph->glyph_origin[1]);
105 if (glyph->object->type == VG_OBJECT_PATH) {
106 path_render((struct path *) glyph->object, paintModes, &m);
109 assert(glyph->object->type == VG_OBJECT_IMAGE);
110 image_draw((struct vg_image *) glyph->object, &m);
116 struct vg_glyph *glyph,
123 glyph_origin[0].f += glyph->escapement[0] + adjustment_x;
124 glyph_origin[1].f += glyph->escapement[1] + adjustment_y;
155 struct vg_glyph *glyph = (struct vg_glyph *) cso_hash_iter_data(iter);
156 FREE(glyph);
200 struct vg_glyph *glyph;
202 glyph = get_glyph(font, glyphIndex);
203 if (!glyph) {
208 vg_render_glyph(ctx, glyph, paintModes, allowAutoHinting);
209 vg_advance_glyph(ctx, glyph, 0.0f, 0.0f, VG_TRUE);
231 struct vg_glyph *glyph;
234 glyph = get_glyph(font, glyphIndices[i]);
236 vg_render_glyph(ctx, glyph, paintModes, allowAutoHinting);
240 vg_advance_glyph(ctx, glyph, adj_x, adj_y, (i == glyphCount - 1));