2 // System.Drawing.FontFamily.cs
5 // Dennis Hayes (dennish@Raytek.com)
6 // Alexandre Pigolkine (pigolkine@gmx.de)
8 // (C) 2002/2003 Ximian, Inc
11 using System.Drawing.Text;
13 namespace System.Drawing {
15 /// Summary description for FontFamily.
17 public class FontFamily {
20 static FontFamily genericMonospace = null;
21 static FontFamily genericSansSerif = null;
22 static FontFamily genericSerif = null;
24 public FontFamily(GenericFontFamilies genericFamily) {
25 throw new NotImplementedException();
28 public FontFamily(string familyName) {
32 public FontFamily(string familyName, FontCollection collection) {
42 public static FontFamily GenericMonospace {
44 if( genericMonospace == null) {
45 genericMonospace = new FontFamily("GenericMonospace");
47 return genericMonospace;
51 public static FontFamily GenericSansSerif {
53 if( genericSansSerif == null) {
54 genericSansSerif = new FontFamily("GenericSansSerif");
56 return genericSansSerif;
60 public static FontFamily GenericSerif {
62 if( genericSerif == null) {
63 genericSerif = new FontFamily("GenericSerif");