public override object Copy(object handle) { var d = (FontData)handle; var f = new FontData(); f.CopyFrom(d); return(f); }
public void CopyFrom(FontData font) { Family = font.Family; Size = font.Size; Style = font.Style; Weight = font.Weight; Stretch = font.Stretch; }
public static Font ToXwt(this FontData backend) { return(CreateFrontend <Font>(backend)); }