예제 #1
0
        public void Create(FontFamily family, float size, FontStyle style, FontDecoration decoration)
        {
            this.family = family;
            var familyHandler = (FontFamilyHandler)family.Handler;

            Control = new sd.Font(familyHandler.Control, size, style.ToSD() | decoration.ToSD());
        }
예제 #2
0
파일: FontHandler.cs 프로젝트: pcdummy/Eto
        public void Create(FontFamily family, float size, FontStyle style)
        {
            this.family = family;
            var familyHandler = (FontFamilyHandler)family.Handler;

            Control = new SD.Font(familyHandler.Control, size, style.ToSD());
        }