/[dotgnu-pnet]/pnetlib/DotGNU.Images/Frame.cs
ViewVC logotype

Diff of /pnetlib/DotGNU.Images/Frame.cs

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

revision 1.13 by t3rmin4t0r, Fri Jul 23 12:54:20 2004 UTC revision 1.14 by darkdust, Thu Aug 11 10:27:38 2005 UTC
# Line 435  public class Frame : MarshalByRefObject, Line 435  public class Frame : MarshalByRefObject,
435          // Get a re-scaled version of this frame.          // Get a re-scaled version of this frame.
436          public Frame Scale(int newWidth, int newHeight)          public Frame Scale(int newWidth, int newHeight)
437                          {                          {
438                                    if ((newWidth == width) && (newHeight == height))
439                                            return CloneFrame (image);
440    
441                                  return BmpResizer.Resize(this, 0, 0, Width, Height, newWidth, newHeight);                                  return BmpResizer.Resize(this, 0, 0, Width, Height, newWidth, newHeight);
442                          }                          }
443    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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