コード例 #1
0
    // Token: 0x060040C5 RID: 16581 RVA: 0x000ECF3C File Offset: 0x000EB13C
    private void buildKerningMap()
    {
        Dictionary <int, global::dfFont.GlyphKerningList> dictionary = this.kerningMap = new Dictionary <int, global::dfFont.GlyphKerningList>();

        for (int i = 0; i < this.kerning.Count; i++)
        {
            global::dfFont.GlyphKerning glyphKerning = this.kerning[i];
            if (!dictionary.ContainsKey(glyphKerning.first))
            {
                dictionary[glyphKerning.first] = new global::dfFont.GlyphKerningList();
            }
            global::dfFont.GlyphKerningList glyphKerningList = dictionary[glyphKerning.first];
            glyphKerningList.Add(glyphKerning);
        }
    }
コード例 #2
0
 // Token: 0x060040C8 RID: 16584 RVA: 0x000ED040 File Offset: 0x000EB240
 public void Add(global::dfFont.GlyphKerning kerning)
 {
     this.list[kerning.second] = kerning.amount;
 }