Commit Graph
19 Commits
Author SHA1 Message Date
Sebastien Pouliot 5cef71746d In Test/System.Drawing:
2007-11-05  Sebastien Pouliot  <[email protected]> 

	* Image.cs: Add test cases for the stream position when loading and
	saving bitmaps and metafiles. Some of them are based on Gert Driesen
	samples in #338779

In System.Drawing.Imaging:
2007-11-05  Sebastien Pouliot  <[email protected]> 

	* Metafile.cs: Stream position is not moved for metafiles.

In System.Drawing:
2007-11-05  Sebastien Pouliot  <[email protected]>

	* gdipFunctions.cs: Add a bool parameter to GdiPlusStreamHelper ctor
	to move, or not, the stream position to load/save images.
	* Image.cs: Stream position is moved to 0 when loading images from 
	stream but isn't moved for saving an image to a stream. Fix part of
	#338779 (except that Image.FromFile behave differently for metafiles)


svn path=/trunk/mcs/; revision=88916
2007-11-05 21:11:32 +00:00
Sebastien Pouliot c3e8e8b70a 2007-04-26 Sebastien Pouliot <[email protected]>
* Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
	support to metafile recoding with the new delegate-based functions.


svn path=/trunk/mcs/; revision=76344
2007-04-26 15:44:51 +00:00
Sebastien Pouliot fbac6ec9e9 2007-04-26 Sebastien Pouliot <[email protected]>
* Metafile.cs: Complete all ctors (except for stream-based one outside
	Windows) with calls into GDI+.


svn path=/trunk/mcs/; revision=76310
2007-04-26 11:51:50 +00:00
Sebastien Pouliot 8b74e8bb9f 2007-02-21 Sebastien Pouliot <[email protected]>
* Metafile.cs: Implement a few cases required to playback metafiles.
	* MetafileHeader.cs: Implemented.
	* MetaHeader.cs: Implemented.
	* WmfPlaceableFileHeader.cs: Adjust packing.


svn path=/trunk/mcs/; revision=73256
2007-02-21 16:16:38 +00:00
Sebastien Pouliot e214dca885 2006-11-22 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Better MonoTODO description.
	* ImageCodecInfo.cs: Add MonoTODO description.
	* Metafile.cs: Use a single MonoTODO on the class itself. MoMA will 
	detect and report that every ctors/methods/properties are throwing  
	NotImplementedException.
	* MetafileHeader.cs: Use a single MonoTODO on the class itself. MoMA 
	will detect and report that every ctors/methods/properties are 
	throwing NotImplementedException.


svn path=/trunk/mcs/; revision=68365
2006-11-22 19:43:27 +00:00
Sebastien Pouliot 9ee85364cf 2006-05-21 Sebastien Pouliot <[email protected]>
* ColorAdjustType.cs: Removed [Serializable] from 2.0 profile.
	* ColorChannelFlag.cs: Removed [Serializable] from 2.0 profile.
	* ColorMapType.cs: Removed [Serializable] from 2.0 profile.
	* ColorMatrixFlag.cs: Removed [Serializable] from 2.0 profile.
	* ColorMode.cs: Removed [Serializable] from 2.0 profile.
	* EmfPlusRecordType.cs: Removed [Serializable] from 2.0 profile.
	* EmfType.cs: Removed [Serializable] from 2.0 profile.
	* EncoderParameterValueType.cs: Removed [Serializable] from 2.0 
	profile.
	* EncoderValue.cs: Removed [Serializable] from 2.0 profile.
	* ImageCodecFlags.cs: Removed [Serializable] from 2.0 profile.
	* ImageCodecInfo.cs: Removed [Serializable] from 2.0 profile.
	* ImageFlags.cs: Removed [Serializable] from 2.0 profile.
	* ImageLockMode.cs: Removed [Serializable] from 2.0 profile.
	* Metafile.cs: Removed [Serializable] from 2.0 profile.
	* MetafileFrameUnit.cs: Removed [Serializable] from 2.0 profile.
	* MetafileType.cs: Removed [Serializable] from 2.0 profile.
	* PixelFormat.cs: Removed [Serializable] from 2.0 profile.
	* PlayRecordCallback.cs: Removed [Serializable] from 2.0 profile.


svn path=/trunk/mcs/; revision=60925
2006-05-21 14:34:22 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Sanja Gupta 460cda8266 ChangeLog: Updated ChangeLog.
Metafile.cs: Added Editor attribute to class Metafile.

svn path=/trunk/mcs/; revision=27214
2004-05-13 03:00:29 +00:00
Sanja Gupta 3a46ddd8ef ChangeLog: Updated ChangeLog
Metafile.cs: Corrected the signature for constructor

svn path=/trunk/mcs/; revision=23682
2004-03-04 05:46:05 +00:00
Nick Drochak 33ca9a2f45 2004-03-04 Nick Drochak <[email protected]>
* Metafile.cs: Fix build, remove duplicate member.

svn path=/trunk/mcs/; revision=23680
2004-03-04 04:06:37 +00:00
Sanja Gupta 16e0d2166a ChangeLog: Updated ChangeLog
ImageAttributes.cs: Added few missing functions
Metafile.cs: Added stubs for missing constructors and functions

svn path=/trunk/mcs/; revision=23653
2004-03-03 14:48:31 +00:00
Ravindra ed6b9ca7c3 Made all Enums serializable and corrected some class declarations.
svn path=/trunk/mcs/; revision=21900
2004-01-10 09:43:58 +00:00
Andreas N 41fdc7c50d 2003-07-21 Andreas Nahr <[email protected]>
* Metafile.cs: Inherits from image (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16502
2003-07-21 21:04:02 +00:00
Dennis Hayes 2176ccd445 2002-9-2 DennisHayes <[email protected]>
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back

svn path=/trunk/mcs/; revision=7435
2002-09-13 17:39:47 +00:00
Dennis Hayes 0f54d4b16f 2002-9-2 DennisHayes <[email protected]>
* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7405
2002-09-12 18:24:39 +00:00
Miguel de Icaza abd850053f Get the build to go
svn path=/trunk/mcs/; revision=4277
2002-05-04 16:10:59 +00:00
Mike Kestner bcaddc00a8 Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <[email protected]>

	* Bitmap.cs : using System.IO
	* ColorTranslator.cs : Stubbed off build breakers.
	* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <[email protected]>

	* Metafile.cs : Use System.IO. Fix exception typos.

svn path=/trunk/mcs/; revision=4254
2002-05-03 17:47:11 +00:00
Christian Meyer 744f90d9d5 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4080
2002-04-27 07:34:21 +00:00
Christian Meyer bb15492dc5 Added Metafile.cs. No impl. Not finished, just stubs. 50% of ctors are done.
svn path=/trunk/mcs/; revision=3806
2002-04-14 13:14:57 +00:00