[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingToolkit.cs, 1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingToolkit.cs, 1.22, 1.23 |
Date: |
Sun, 30 Nov 2003 05:50:42 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32
In directory subversions:/tmp/cvs-serv15747/System.Drawing.Win32
Modified Files:
DrawingToolkit.cs
Log Message:
Shift the creation of the default font into the toolkit so that it
can be made system-specific.
Index: DrawingToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32/DrawingToolkit.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** DrawingToolkit.cs 20 Nov 2003 02:11:47 -0000 1.22
--- DrawingToolkit.cs 30 Nov 2003 05:50:40 -0000 1.23
***************
*** 197,200 ****
--- 197,208 ----
}
+ // Create the default system font on this platform.
+ public System.Drawing.Font CreateDefaultFont()
+ {
+ // Default is "Microsoft Sans Serif, 9".
+ return new System.Drawing.Font
+ (new
FontFamily(GenericFontFamilies.SansSerif), 9.0f);
+ }
+
// Get the handle for the halftone palette. IntPtr.Zero if not
supported.
//TODO
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingToolkit.cs, 1.22, 1.23,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingToolkit.cs, 1.20, 1.21
- Next by Date:
[Dotgnu-pnet-commits] pnetlib/System.Drawing/Toolkit IToolkit.cs, 1.18, 1.19 NullToolkit.cs, 1.9, 1.10
- Previous by thread:
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingToolkit.cs, 1.20, 1.21
- Next by thread:
[Dotgnu-pnet-commits] pnetlib/System.Drawing/Toolkit IToolkit.cs, 1.18, 1.19 NullToolkit.cs, 1.9, 1.10
- Index(es):