コード例 #1
0
 public void PerTestSetup()
 {
     _face = new Face(TestConstants.PaduakFontLocation, FaceOptions.face_default);
     _font = new Font(20.0f, _face);
     _featureval = _face.FeaturevalForLang("en");
     _segment = _font.MakeSeg(0, _featureval, "hello world", Bidirtl.Nobidi);
 }
コード例 #2
0
 public int Attr(Segment seg, AttrCode index, byte subindex)
 {
     return Graphite2Api.SlotAttr(_slot, seg.SegPtr, index, subindex);
 }