init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Drawing;
|
||||
|
||||
|
||||
namespace Zhaizj.Framework.Drawing {
|
||||
|
||||
/// <summary>
|
||||
/// ËõÂÔͼ³ß´ç
|
||||
/// </summary>
|
||||
public class ThumbSize {
|
||||
|
||||
public Size New { get; set; }
|
||||
public Size Src { get; set; }
|
||||
|
||||
public Point Point { get; set; }
|
||||
|
||||
public Rectangle getRect() {
|
||||
return new Rectangle( this.Point.X, this.Point.Y, this.Src.Width, this.Src.Height );
|
||||
}
|
||||
|
||||
public Rectangle getNewRect() {
|
||||
return new Rectangle( 0, 0, this.New.Width, this.New.Height );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user