Exemplo n.º 1
0
 public GlyphCacheEntry(
     GlyphCacheEntryKind kind,
     TextureCacheHandle textureCacheHandle,
     TextureCacheHandle outlineTextureCacheHandle)
 {
     Kind           = kind;
     _handle        = textureCacheHandle;
     _outlineHandle = outlineTextureCacheHandle;
 }
Exemplo n.º 2
0
 public static GlyphCacheEntry Regular(
     TextureCacheHandle textureCacheHandle,
     TextureCacheHandle outlineTextureCacheHandle)
 {
     return(new(
                GlyphCacheEntryKind.Regular,
                textureCacheHandle,
                outlineTextureCacheHandle
                ));
 }