Home | History | Annotate | Download | only in src

Lines Matching refs:pPos

376   hb_glyph_position_t *pPos = hb_buffer_get_glyph_positions (buffer, nullptr);
380 for (is = gr_seg_first_slot (seg); is; pPos++, ++info, is = gr_slot_next_in_segment (is))
382 pPos->x_offset = gr_slot_origin_X (is) * xscale - curradvx;
383 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy;
385 pPos->x_advance = info->var1.i32 * xscale;
386 curradvx += pPos->x_advance;
389 pPos->x_advance = 0.;
391 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale;
392 curradvy += pPos->y_advance;
398 for (is = gr_seg_first_slot (seg); is; pPos++, info++, is = gr_slot_next_in_segment (is))
402 pPos->x_advance = info->var1.i32 * xscale;
403 curradvx -= pPos->x_advance;
406 pPos->x_advance = 0.;
408 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale;
409 curradvy -= pPos->y_advance;
410 pPos->x_offset = (gr_slot_origin_X (is) - info->var1.i32) * xscale - curradvx + pPos->x_advance;
411 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy;