1 // 2 // PRCrop.h 3 // PRICE 4 // 5 // Created by Riccardo Mottola on Fri Jan 28 2005. 6 // Copyright (c) 2005-2008 Carduus. All rights reserved. 7 // 8 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 9 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 10 11 #include <AppKit/AppKit.h> 12 #import "PRFilter.h" 13 14 @interface PRCrop : PRFilter 15 { 16 17 } 18 19 - (PRImage *)cropImage :(PRImage *)srcImage :(int)pixTop :(int)pixBottom :(int)pixLeft :(int)pixRight; 20 21 @end 22 23