Duality.Resources.Font.InitDefaultContent C# (CSharp) 메소드

InitDefaultContent() 정적인 개인적인 메소드

static private InitDefaultContent ( ) : void
리턴 void
        internal static void InitDefaultContent()
        {
            const string VirtualContentPath				= ContentProvider.VirtualContentPath + "Font:";
            const string ContentPath_GenericMonospace10	= VirtualContentPath + "GenericMonospace10";
            const string ContentPath_GenericMonospace8	= VirtualContentPath + "GenericMonospace8";
            const string ContentPath_GenericSerif12		= VirtualContentPath + "GenericSerif12";
            const string ContentPath_GenericSansSerif12	= VirtualContentPath + "GenericSansSerif12";

            Font tmp;

            tmp = new Font();
            tmp.Family = FontFamily.GenericMonospace.Name;
            tmp.Size = 8;
            tmp.CharSpacing = 0;
            tmp.GlyphRenderMode = RenderMode.MonochromeBitmap;
            tmp.MonoSpace = true;
            tmp.ReloadData();
            ContentProvider.AddContent(ContentPath_GenericMonospace8, tmp);

            tmp = new Font();
            tmp.Family = FontFamily.GenericMonospace.Name;
            tmp.Size = 10;
            tmp.CharSpacing = 0;
            tmp.GlyphRenderMode = RenderMode.MonochromeBitmap;
            tmp.MonoSpace = true;
            tmp.ReloadData();
            ContentProvider.AddContent(ContentPath_GenericMonospace10, tmp);

            tmp = new Font();
            tmp.Family = FontFamily.GenericSerif.Name;
            tmp.Size = 12;
            tmp.GlyphRenderMode = RenderMode.MonochromeBitmap;
            tmp.Kerning = true;
            tmp.MonoSpace = false;
            tmp.ReloadData();
            ContentProvider.AddContent(ContentPath_GenericSerif12, tmp);

            tmp = new Font();
            tmp.Family = FontFamily.GenericSansSerif.Name;
            tmp.Size = 12;
            tmp.GlyphRenderMode = RenderMode.MonochromeBitmap;
            tmp.Kerning = true;
            tmp.MonoSpace = false;
            tmp.ReloadData();
            ContentProvider.AddContent(ContentPath_GenericSansSerif12, tmp);

            GenericMonospace8	= ContentProvider.RequestContent<Font>(ContentPath_GenericMonospace8);
            GenericMonospace10	= ContentProvider.RequestContent<Font>(ContentPath_GenericMonospace10);
            GenericSerif12		= ContentProvider.RequestContent<Font>(ContentPath_GenericSerif12);
            GenericSansSerif12	= ContentProvider.RequestContent<Font>(ContentPath_GenericSansSerif12);
        }