2005-10-31 Jordi Mas i Hernandez <[email protected]>
* TestImageFormat.cs: New test unit
In System.Drawing.Imaging:
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* ImageFormat.cs: Fixes ToString method
In System.Drawing:
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* Image.cs: Default format for MemoryBMP should be Png
svn path=/trunk/mcs/; revision=52409
* System.Drawing.vmwcsproj: use ImageFormat.cs instead of jvm.cs
System.Drawing/
* Icon.jvm.cs: match Bitmap internal constructor change
* Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
* Bitmap.jvm.cs: started changes for supporting ImageCodecInfo System.Drawing.Imaging/
* ImageCodecInfo.jvm.cs: implement via java imageio, add internal APIs for
fast read-only requests
* Methafile.jvm.cs: change in not implemented api to match image.jvm.cs
Test/DrawingTest/Test/
* Test.dotnet.csproj, Test.vmwcsproj: make Bitmap1.png embedded resource, add Bitmap1.bmp
* Bitmap1.bmp: added to make tests on java without jai
* Bitmap.cs: open bitmap from resources, to get rid of dir dependency
* Color.cs: remove unnecessary using DrawingTestHelper
* Graphics.cs: naive StringAlignment tests, must be improved later
* Image.cs: same as Bitmap.cs + use test.bmp instead of test.png (works immediately on java w/o jai)
Test/System.Drawing.Imaging/
* TestImageCodecInfo.cs: use regular expressions for results that may vary while still in correct format, so same tests can be used for jvm
Test/
* Test.dotnet.csproj, Test.vmwcsproj: Embed Bitmap1.png, add Bitmap1.bmp
svn path=/trunk/mcs/; revision=48441
* TextureBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future, set the lock on the object before doing any
other tests, not after.
(Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
Set the lock in the object before checkign disposed.
* SolidBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
(Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
2004-11-03 Miguel de Icaza <[email protected]>
* ColorPalette.cs: Add internal Clone method
svn path=/trunk/mcs/; revision=35607
struct correctly to a native struct. Resulting data should be
FreeHGlobal'd when finished.
* EncoderParameter.cs: Changed data storage to correspond to
native code layout. Also changed layout to match native layout.
* EncoderParameterValueType.cs: force EncoderParameterValueType to
be Int32
* gdipFunctions.cs: Fixed prototype for
GdipGetEncoderParameterList
* Image.cs: Reworked Save functions to handle EncoderParameters.
Implemented GetEncoderParameterList.
Also removed unused setGDIPalette internal method.
svn path=/trunk/mcs/; revision=27467
reading bmp files is not yet implemented, and only png files can be
written. Support for the rest will show up in the next few days.
* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux
* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.
* BitmapData.cs: synced up data structure with libgdiplus
* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus
* ImageCodecInfo.cs: removed encode/decode delegates
svn path=/trunk/mcs/; revision=25083