1// 2// PRCFourier.m 3// PRICE 4// Fourier Controller 5// 6// Created by Riccardo Mottola on Fri Nov 14 2008. 7// Copyright (c) 2008 Carduus. All rights reserved. 8// 9// 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. 10// 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. 11 12 13#import "PRCFourier.h" 14#import "PRFourier.h" 15#import "MyDocument.h" 16 17@implementation PRCFourier 18 19- (IBAction)transformImage:(id)sender 20{ 21 PRFourier *filter; 22 23 filter = [[PRFourier alloc] init]; 24 [[[NSDocumentController sharedDocumentController] currentDocument] runFilter:filter with:nil]; 25 [filter release]; 26} 27 28@end 29