示例#1
0
        public override object Copy(object handle)
        {
            var d = (FontData)handle;
            var f = new FontData();

            f.CopyFrom(d);
            return(f);
        }
示例#2
0
 public void CopyFrom(FontData font)
 {
     Family  = font.Family;
     Size    = font.Size;
     Style   = font.Style;
     Weight  = font.Weight;
     Stretch = font.Stretch;
 }
示例#3
0
 public static Font ToXwt(this FontData backend)
 {
     return(CreateFrontend <Font>(backend));
 }