Logo Search packages:      
Sourcecode: yudit version File versions

void SFontTTF::getOTFMarkToMark ( SS_GlyphIndex  m0,
SS_GlyphIndex  m1,
int *  ix,
int *  iy 
) [protected]

Parameters:
m0 is the mark glyph
m1 is the mark that needs to get positioned.
ix holds the x offset for the mark.
iy holds the y offset for the mark.

Definition at line 2497 of file SFontOTF.cpp.

References getPositions().

Referenced by storeMarkPositions().

{
  SS_GlyphIndex gv[2];
  gv[0] = m0;
  gv[1] = m1;

  /* Relative to mark */
  int x[2]; x[1] = 0;
  int y[2]; y[1] = 0;

 getPositions (6, gv, 2, 0, 0, x, y); /* 4 is mark-to-mark */

  *ix = x[1];
  *iy = y[1];
  return;
}


Generated by  Doxygen 1.6.0   Back to index