Пример #1
0
 public BitmapAtlasManager(TextureKind textureKind,
                           LoadNewBmpDelegate <SimpleBitmaptAtlas, B> _createNewDel)
     : this(textureKind)
 {
     //glyph cahce for specific atlas
     SetLoadNewBmpDel(_createNewDel);
 }
Пример #2
0
 public BitmapFontManager(TextureKind textureKind,
                          LayoutFarm.OpenFontTextService textServices,
                          LoadNewBmpDelegate <SimpleFontAtlas, B> _createNewDel)
     : this(textureKind, textServices)
 {
     //glyph cahce for specific atlas
     SetLoadNewBmpDel(_createNewDel);
 }
Пример #3
0
 public BitmapFontManager(
     LayoutFarm.OpenFontTextService textServices,
     LoadNewBmpDelegate <SimpleFontAtlas, B> _createNewDel)
     : this(textServices)
 {
     //glyph cahce for specific atlas
     SetLoadNewBmpDel(_createNewDel);
     TextureKindForNewFont = PixelFarm.Drawing.BitmapAtlas.TextureKind.StencilLcdEffect;
 }
Пример #4
0
 public FontBitmapCache(LoadNewBmpDelegate <T, U> loadNewBmpDel)
 {
     _loadNewBmpDel = loadNewBmpDel;
 }
Пример #5
0
 protected void SetLoadNewBmpDel(LoadNewBmpDelegate <SimpleFontAtlas, B> _createNewDel)
 {
     _loadedGlyphs = new FontBitmapCache <SimpleFontAtlas, B>(_createNewDel);
 }
Пример #6
0
 protected void SetLoadNewBmpDel(LoadNewBmpDelegate <SimpleBitmapAtlas, B> _createNewDel)
 {
     _loadAtlases = new BitmapCache <SimpleBitmapAtlas, B>(_createNewDel);
 }
Пример #7
0
 public BitmapAtlasManager(LoadNewBmpDelegate <SimpleBitmapAtlas, B> _createNewDel)
 {
     //glyph cahce for specific atlas
     SetLoadNewBmpDel(_createNewDel);
 }
Пример #8
0
 public BitmapFontManager(OpenFontTextService textServices, LoadNewBmpDelegate <SimpleBitmapAtlas, B> _createNewDel)
     : base(_createNewDel)
 {
     _textServices = textServices;
 }
Пример #9
0
 protected void SetLoadNewBmpDel(LoadNewBmpDelegate <SimpleBitmapAtlas, B> createNewDel)
 {
     _bitmapCache = new BitmapCache <SimpleBitmapAtlas, B>(createNewDel);
 }