Commit Graph
27 Commits
Author SHA1 Message Date
Sebastien Pouliot ab3fe05892 2008-07-14 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Fix GetAdjustedPalette using new (and correct)
	signature.


svn path=/trunk/mcs/; revision=107877
2008-07-14 12:36:11 +00:00
Sebastien Pouliot 25a0ffc9f0 2008-06-23 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Call CheckStatus in GetAdjustedPalette before
	trying to set the palette (since the values could be bad).
	[Partial fix for #402172]


svn path=/trunk/mcs/; revision=106499
2008-06-24 13:17:05 +00:00
Sebastien Pouliot 233f3615b3 revert big, unreviewed, broken changes from r104029/30/31
svn path=/trunk/mcs/; revision=104043
2008-05-25 23:11:32 +00:00
Gert Driesen a120fa7036 * ColorMatrix.cs: Changed argument names to match MS. Changed spaces
to tabs, and removed extra tabs.
* EncoderParameter.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* ImageAttributes.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* Metafile.cs: Changed argument names to match MS. Changes spaces to
tabs, and removed extra tabs. Fixed typo in MonoLimitation text.

svn path=/trunk/mcs/; revision=104031
2008-05-25 17:05:43 +00:00
Sebastien Pouliot 5bfa270323 2007-05-30 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Remove TODO for ColorMatrixFlags and Gray 
	ColorMatrix support methods. Add TODO on some stuff not supported by
	libgdiplus (so MoMA reports gets more accurate). Fix coding style.


svn path=/trunk/mcs/; revision=78195
2007-05-30 12:05:53 +00:00
Sebastien Pouliot 6e45b43aa9 ImageAttribute.cs: Reuse code in SetColorMatrix overloads.
svn path=/trunk/mcs/; revision=70935
2007-01-12 18:54: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
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Sebastien Pouliot a80410d9e8 2006-08-25 Sebastien Pouliot <[email protected]>
* ColorMatrix.cs: Add Alloc and Free method helpers for interop.
	* ImageAttributes.cs: Fix all methods accepting a ColorMatrix (i.e.
	which calls GdipSetImageAttributesColorMatrix) to use IntPtr instead
	of the ColorMatrix itself.


svn path=/trunk/mcs/; revision=64367
2006-08-25 17:24:40 +00:00
Gonzalo Paniagua Javier 1503c2542c 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
* ImageAttributes.cs: SetColorKey(color, color) now calls the
	color,color,ColorAdjustType.


svn path=/trunk/mcs/; revision=58973
2006-04-03 18:51:29 +00:00
Peter Dennis Bartok 8540a01cb1 2006-02-09 Peter Dennis Bartok <[email protected]>
* ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
	  ImageAttributes.cs: 64bit cleanup and some simplifications

2006-02-09  Peter Dennis Bartok  <[email protected]>

	* PrintingServicesWin32.cs: Simplyfied the code, removing the need
	  for pointer calculations (part of 64bit cleanup)

2006-02-09  Peter Dennis Bartok  <[email protected]>

	* Image.cs, Bitmap.cs: Removed unneeded casts
	* Icon.cs: Fixed code to be 64bit safe


svn path=/trunk/mcs/; revision=56738
2006-02-09 23:58:23 +00:00
Sebastien Pouliot a501449550 2006-01-27 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all 
	unmanaged memory allocated with AllocHGlobal.
	* ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all 
	unmanaged memory allocated with AllocHGlobal.


svn path=/trunk/mcs/; revision=56183
2006-01-27 19:29:31 +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
Jordi Mas i Hernandez 49d833f94c 2004-03-21 Jordi Mas i Hernadez <[email protected]>
* ColorMatrix.cs: fixes Matrix00 init 
	* ImageAttributes.cs: fixes dispose method and signature


svn path=/trunk/mcs/; revision=42045
2005-03-21 11:21:50 +00:00
Marek Safar f405a09600 removed unused variables
svn path=/trunk/mcs/; revision=36532
2004-11-25 10:11:32 +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
Jordi Mas i Hernandez 62a16ab086 fixes GDI+ parameter call
svn path=/trunk/mcs/; revision=27605
2004-05-18 17:55:45 +00:00
Ravindra a8a1eee996 Implemented ImageAttributes.SetWrapMode method.
svn path=/trunk/mcs/; revision=26125
2004-04-28 09:36:32 +00:00
Jordi Mas i Hernandez d34e25c9e7 more image methods implemented
svn path=/trunk/mcs/; revision=24848
2004-03-31 15:15:18 +00:00
Jordi Mas i Hernandez c4330b9186 added missing members and complete the wrapper
svn path=/trunk/mcs/; revision=24641
2004-03-26 17:53:51 +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
Jordi Mas i Hernandez fe395ca826 serveral methods added, serveral fixes, and test case
svn path=/trunk/mcs/; revision=22390
2004-01-22 10:41:03 +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
Peter Dennis Bartok 8cde8f43fc * Added Dispose()
* Added SetColorMatrix() stubs

svn path=/trunk/mcs/; revision=20452
2003-11-26 04:04:17 +00:00
Andreas N 37809261cd 2003-11-13 Andreas Nahr <[email protected]>
* ColorMap.cs: Implemented
	* ColorMatrix.cs: Implemented, Removed unneccesary members
	* ImageAttributes.cs: Fixed signature
	* ImageCodecInfo.cs: Added missing attribure, hide constructor
	* ImageFormat.cs: Implemented, Added attribute
	* MetaHeader.cs: Implemented
	* PropertyItem.cs: Implemented
	* ImageFlags.cs: Added Attribute
	* ImageCodecFlags.cs: Added Attribute
	* EmfPlusRecordType.cs: Added missing members

svn path=/trunk/mcs/; revision=19972
2003-11-13 22:37:11 +00:00
Miguel de Icaza 388a9792ae Fix build
svn path=/trunk/mcs/; revision=8637
2002-10-28 23:29:01 +00:00
Dennis Hayes 8e590adc31 added and implmented
svn path=/trunk/mcs/; revision=8629
2002-10-28 17:43:05 +00:00