X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone2.cpp;h=b6cad89a5204f547e0742aec013964ef5920baaf;hb=3a26b6354a28bbf06eafb78ed8f3dbb4ca260f58;hp=c7083e1c72f857a7dcfe656c8cf9f797d908f94e;hpb=c00ae18e16ac5dc143fa7e02540299d30bb5cdf6;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp b/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp index c7083e1..b6cad89 100644 --- a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/halftone2.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 @@ -93,13 +94,13 @@ Halftone2::color_func(const Point &point, float supersample,const Color& color)c } inline float -Halftone2::calc_supersample(const synfig::Point &x, float pw,float ph)const +Halftone2::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { return abs(pw/(halftone.size).mag()); } synfig::Layer::Handle -Halftone2::hit_check(synfig::Context context, const synfig::Point &point)const +Halftone2::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const { return const_cast(this); }