Lines Matching refs:positions
397 // Fills the glyph buffer with glyphs from the GlyphVector object. Also checks to see if the glyph's positions have been
398 // already caculated from GlyphVector, or we simply ask Core Graphics to make some advances for us. Pre-calculated positions
429 static JNF_MEMBER_CACHE(jm_StandardGlyphVector_positions, jc_StandardGlyphVector, "positions", "[F");
433 // in this case, the positions have already been pre-calculated for us on the Java side
435 jfloat *positions = (*env)->GetPrimitiveArrayCritical(env, posArray, NULL);
437 prev.x = positions[0];
438 prev.y = positions[1];
445 // for each position, figure out the advance (since CG won't take positions directly)
451 pt.x = positions[i2];
452 pt.y = positions[i2+1];
460 (*env)->ReleasePrimitiveArrayCritical(env, posArray, positions, JNI_ABORT);
465 // in this case, we have to go and calculate the positions ourselves
466 // there were no pre-calculated positions from the glyph buffer on the Java side