Commit Graph
29 Commits
Author SHA1 Message Date
Geoff Norton b51eba0323 [OSX] Reintroduce Cocoa System.Drawing support
The old Cocoa backend for System.Drawing appears to still work.  You must
pass in a NSView.Handle while in the DrawRect method, or with lockFocus
called to prepare the NSGraphicsContext.
2010-10-29 15:46:26 -04:00
Sebastien Pouliot d33809ba1b System.Drawing.dll.sources: Add internal KnownColors.
svn path=/trunk/mcs/; revision=75550
2007-04-09 21:11:42 +00:00
Jordi Mas i Hernandez 08351b8c0d 2005-12-22 Jordi Mas i Hernandez <[email protected]>
* PrintingServices.cs: Printing services abstration class
	* PrintingServicesWin32.cs: Win32 printer driver
	* PrintingServicesUnix.cs: Unix printer driver
	* Margins.cs: Fixes exceptions error messages
	* PrinterResolution.cs: Fixes
	* PrintEventArgs.cs: New internal method
	* PrintPageEventArgs.cs: New internal method
	* StandardPrintController.cs: Fixes
	* PrinterUnitConvert.cs: Fixes conversion errors
	* PrintDocument.cs: Fixes to make it print
	* PageSettings.cs: Take margains into account
	* PrintController.cs: Fixes
	* PaperSize.cs: Method to set paper Kind
	* PrinterSettings.cs: Implements settings and fixes
	* 	


svn path=/trunk/mcs/; revision=54735
2005-12-22 17:06:00 +00:00
Jordi Mas i Hernandez e07caa2bbe In System.Drawing.Printing:
2005-12-07 Jordi Mas i Hernandez <[email protected]>
	
	* PrinterResolutionKind.cs: Fixes signature for .Net 2.0
	* PaperKind.cs: Fixes signature for .Net 2.0
	* PaperSource.cs: Fixes signature for .Net 2.0
	* Margins.cs: Fixes signature for .Net 2.0
	* PrinterResolution.cs: Fixes signature for .Net 2.0
	* PrintEventArgs.cs: Fixes signature for .Net 2.0
	* PrintAction.cs: New enum in .Net 2.0
	* PageSettings.cs:  Fixes signature for .Net 2.0
	* PaperSourceKind.cs:  Fixes signature for .Net 2.0
	* PrintController.cs: Fixes signature for .Net 2.0
	* Duplex.cs: Fixes signature for .Net 2.0
	* PaperSize.cs: Fixes signature for .Net 2.0
	* PreviewPrintController.cs: Fixes signature for .Net 2.0
	* PrinterSettings.cs: Fixes signature for .Net 2.0
	* PrintRange.cs: Fixes signature for .Net 2.0
	  
In System.Drawing:
2005-12-07 Jordi Mas i Hernandez <[email protected]>

	* BufferedGraphicsManager.cs: Fixes signature


svn path=/trunk/mcs/; revision=54028
2005-12-07 12:19:45 +00:00
Jordi Mas i Hernandez 4421bc764e In Test/System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestToolboxItem.cs: New unit test

In Test/System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestPoint.cs: Test new methods for .Net 2.0
	* TestPointF.cs Test new methods for .Net 2.0
	* ColorConverter.cs: Fixes for .Net 2.0
	* TestSizeF.cs: Test new methods for .Net 2.0
	* TestSize.cs: Test new methods for .Net 2.0

In System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* ToolboxItem.cs: Add new methods and properties for .Net and 
	  also moved to an internal properties hashtable implementation

	* IToolboxItemProvider.cs: New .Net 2.0 interface

In .:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* MetaHeader.cs: Classes need to specify StructLayout attribute
	* EncoderParameter.cs: Classes need to specify StructLayout attribute
	* ImageAttributes.cs: Classes need to specify StructLayout attribute
	* WmfPlaceableFileHeader.cs: Classes need to specify StructLayout attribute
	* MetafileHeader.cs: Classes need to specify StructLayout attribute

In System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* gdipFunctions.cs: DllExports need it to implement 
	  new Graphics.CopyFromScreen .Net 2.0 methods
	* IDeviceContext.cs: New .Net 2.0 interface
	* Color.cs: Fixes for new .Net 2.0 KnowColors
	* PointF.cs: New .Net 2.0 Add/Subtract methods
	* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
	* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
	* SizeF.cs: New .Net 2.0 Add/Subtract methods
	* FontConverter.cs: New .Net 2.0 fixes
	* SystemColors.cs: New standard SystemColors for .Net 2.0
	* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
	* CharacterRange.cs: : New .Net 2.0 methods
	* Size.cs: New .Net 2.0 Add/Subtract methods
	* SystemPens.cs: New standard SystemPens for .Net 2.0
	* Bitmap.cs: New .Net 2.0 methods
	* Region.cs: New .Net 2.0 methods
	* Brush.cs: New .Net 2.0 constructor
	* Icon.cs: New .Net 2.0 Constructors and methods
	* Point.cs: New .Net 2.0 Add/Subtract methods
	* BufferedGraphicsManager.cs: New .Net 2.0 class
	* Graphics.cs: New methods for .Net 2.0 and fixes
	* BufferedGraphics.cs: New .Net 2.0 class
	* Font.cs:  New .Net 2.0 properties
	* Image.cs: New .Net 2.0 tag property
	* KnownColor.cs: New .Net 2.0 know colors
	* CopyPixelOperation.cs: New .Net 2.0 enum
	* SystemFonts.cs: New .Net 2.0 class
	* BufferedGraphicsContext.cs: New .Net 2.0 class


svn path=/trunk/mcs/; revision=53938
2005-12-05 18:43:07 +00:00
Kornél Pál 431f1b3485 Moved assembly version and assembly reference constants to a common Consts.cs file. Updated 2.0.3600.0 assembly versions to 2.0.0.0. Updated some old beta version numbers to recent ones. Fixed hard coded assembly references to use constants with the appropriate version number.
svn path=/trunk/mcs/; revision=48519
2005-08-18 19:36:17 +00:00
Ben Maurer 47876a3539 more copy and paste reuse going away
svn path=/trunk/mcs/; revision=45988
2005-06-14 19:21:45 +00:00
Ben Maurer 9371fbf8ba Remove copy and paste reuse for Locale.cs.
First step in attempting to do an actual framework here.


svn path=/trunk/mcs/; revision=45986
2005-06-14 18:30:41 +00:00
Jordi Mas i Hernandez dd263484c6 Add new files to build and comment test
svn path=/trunk/mcs/; revision=44385
2005-05-11 11:48:29 +00:00
Geoff Norton 14d7c8b52c 2004-12-09 Geoff Norton <[email protected]>
* carbonFunctions.cs: New carbon functions/structures
        * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop


svn path=/trunk/mcs/; revision=37528
2004-12-09 22:20:46 +00:00
Jordi Mas i Hernandez b5fd3413ce fixes class name in filename
svn path=/trunk/mcs/; revision=30128
2004-06-22 16:49:20 +00:00
Jordi Mas i Hernandez 1a3c323141 remove dead code
svn path=/trunk/mcs/; revision=26313
2004-04-29 16:39:29 +00:00
Jordi Mas i Hernandez 50ef6981e5 remove C sharp based codec info
svn path=/trunk/mcs/; revision=26137
2004-04-28 12:22:16 +00:00
Ravindra 8c534977f3 Added EncoderParameter.cs and EncoderParameters.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=23027
2004-02-12 14:40:24 +00:00
Andreas N e06b0e3f16 2004-02-07 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources:
	  SRDescriptionAttribute.cs, Locale.cs added

svn path=/trunk/mcs/; revision=22860
2004-02-07 19:20:46 +00:00
Ravindra ee4d1f0d97 Added TextureBrush.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=22603
2004-01-30 13:44:53 +00:00
Jordi Mas i Hernandez b12c09878a font enhancements
svn path=/trunk/mcs/; revision=22587
2004-01-29 08:42:06 +00:00
Ravindra 7562fb4922 Corrected a build problem.
svn path=/trunk/mcs/; revision=22435
2004-01-23 15:47:41 +00:00
Ravindra e61f7b8d1f Added a new file Encoder.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=22253
2004-01-19 15:12:28 +00:00
Andreas N 035bf2c227 2003-11-13 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources: MetafileHeader added (was missing), Consts.cs added

svn path=/trunk/mcs/; revision=19968
2003-11-13 22:35:00 +00:00
Alexandre Pigolkine 8cfe6ec101 removed cairo,gtk,win32 implementations. Added gdi+ implementation
svn path=/trunk/mcs/; revision=18932
2003-10-12 22:21:12 +00:00
Miguel de Icaza cb84f87835 Drop XR from the build; Add ICloneable/IDisposable; Add a few missing methods;
Document Factories static constructor

svn path=/trunk/mcs/; revision=18263
2003-09-22 13:03:28 +00:00
Alexandre Pigolkine 3edb222aef 2 files removed from Printing namespace
svn path=/trunk/mcs/; revision=18231
2003-09-21 01:45:20 +00:00
Duncan Mak 4d20f7fa6b * System.Drawing.dll.sources: Add Cairo implementation.
* cairo-api.cs: New file, replace Cairo.cs and cairo.cs. That
naming thing is just too confusing.

svn path=/trunk/mcs/; revision=17554
2003-08-24 17:15:59 +00:00
Duncan Mak 29eb433c52 2003-08-24 Duncan Mak <[email protected]>
* System.Drawing.dll.sources: Add Cairo implementation.

2003-08-24  Duncan Mak  <[email protected]>

	Initial checkin of System.Drawing.XrImpl ported to use Cairo.

	* Graphics.cs (DrawCurve):
	(DrawImageUnscaled):
	(IsVisible):Implement the overloads in terms of the other overloads.

	(FillClosedCurve): Implement the simple APIs, the default tension
	is 0.5, the default FillMode is FillMode.Alternate.

	* cairo.cs: A copy of the CairoAPI class from the Mono.Cairo
	assembly, with some method parameter/return type changed to better
	fit the usage within System.Drawing.

	* gdk-helpers.cs: Emulate some of Gdk.Pixbuf's API here,
	basically the same as XrImpl's GDKfunctions.cs, but the names of
	the functions are nicer, with the help of the DllImportAttribute's
	EntryPoint field.

svn path=/trunk/mcs/; revision=17546
2003-08-24 07:59:54 +00:00
Peter Williams 229a2420b2 2003-07-23 Peter Williams <[email protected]>
* Makefile (SUBDIRS): Add System.Drawing.Design.dll to the

2003-07-23  Peter Williams  <[email protected]>

	* System.Drawing.dll.sources: Add Pens.cs

svn path=/trunk/mcs/; revision=16595
2003-07-24 03:29:59 +00:00
Alexandre Pigolkine 00d2b70c48 PNGCodec.cs added
svn path=/trunk/mcs/; revision=16548
2003-07-22 19:57:32 +00:00
Andreas N 83a76a5389 2003-07-17 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources:
	* list.unix: AssemblyInfo.cs added

svn path=/trunk/mcs/; revision=16330
2003-07-17 09:05:17 +00:00
Gonzalo Paniagua Javier 9aba3f2578 New build system
svn path=/trunk/mcs/; revision=16200
2003-07-14 11:55:32 +00:00