X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone3.cpp;h=56468657a002ba8a85039ee27f6da035a34cfeb5;hb=18baf4d4fe523d84ad741d7fde0f10a58d47587b;hp=b46ee6fcf9e74d9718f92ff115d94583a100db84;hpb=c00ae18e16ac5dc143fa7e02540299d30bb5cdf6;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp b/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp index b46ee6f..5646865 100644 --- a/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -229,13 +230,13 @@ Halftone3::color_func(const Point &point, float supersample,const Color& in_colo } inline float -Halftone3::calc_supersample(const synfig::Point &x, float pw,float ph)const +Halftone3::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { return abs(pw/(tone[0].size).mag()); } synfig::Layer::Handle -Halftone3::hit_check(synfig::Context context, const synfig::Point &point)const +Halftone3::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const { return const_cast(this); }