/[dotgnu-pnet]/pnetlib/System.Drawing/Imaging/ImageAttributes.cs
ViewVC logotype

Diff of /pnetlib/System.Drawing/Imaging/ImageAttributes.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by Rich333, Sun Jul 6 05:57:31 2003 UTC revision 1.3 by drobosson, Sat Aug 13 03:20:13 2005 UTC
# Line 256  public sealed class ImageAttributes : IC Line 256  public sealed class ImageAttributes : IC
256                                  info.matrixFlags = flags;                                  info.matrixFlags = flags;
257                          }                          }
258    
         [TODO]  
259          public void SetColorMatrix(ColorMatrix newColorMatrix)          public void SetColorMatrix(ColorMatrix newColorMatrix)
260                          {                          {
261                                  throw new NotImplementedException("SetColorMatrix");                                  SetColorMatrix(newColorMatrix, ColorMatrixFlag.Default);
262                          }                          }
263    
         [TODO]  
264          public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag flags)          public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag flags)
265                          {                          {
266                                  throw new NotImplementedException("SetColorMatrix");                                  SetColorMatrix(newColorMatrix, flags, ColorAdjustType.Default);
267                          }                          }
268    
         [TODO]  
269          public void SetColorMatrix(ColorMatrix newColorMatrix,          public void SetColorMatrix(ColorMatrix newColorMatrix,
270                                     ColorMatrixFlag mode, ColorAdjustType type)                                     ColorMatrixFlag mode, ColorAdjustType type)
271                          {                          {
272                                  throw new NotImplementedException("SetColorMatrix");                                  AttributeInfo info = GetInfo(type);
273                                    info.colorMatrix = newColorMatrix;
274                                    info.matrixFlags = mode;
275                          }                          }
276    
277          // Set a gamma setting.          // Set a gamma setting.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26