X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=blobdiff_plain;f=src%2Ffilters%2Fblend.cpp;fp=src%2Ffilters%2Fblend.cpp;h=9a52d86f751c56929a4da47aa812521353af3558;hp=f297ac199a6e309c8d848ea8ccc9e3ec0dde62fb;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hpb=072de79e6270f4137fa48a8a73491e8a0904d8f8 diff --git a/src/filters/blend.cpp b/src/filters/blend.cpp index f297ac199..9a52d86f7 100644 --- a/src/filters/blend.cpp +++ b/src/filters/blend.cpp @@ -1,5 +1,3 @@ -#define __SP_FEBLEND_CPP__ - /** \file * SVG implementation. * @@ -8,6 +6,7 @@ * Authors: * Hugo Rodrigues * Niko Kiirala + * Abhishek Sharma * * Copyright (C) 2006,2007 authors * @@ -103,8 +102,8 @@ sp_feBlend_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *re } /*LOAD ATTRIBUTES FROM REPR HERE*/ - object->readAttr( "mode"); - object->readAttr( "in2"); + object->readAttr( "mode" ); + object->readAttr( "in2" ); /* Unlike normal in, in2 is required attribute. Make sure, we can call * it by some name. */ @@ -202,8 +201,8 @@ sp_feBlend_update(SPObject *object, SPCtx *ctx, guint flags) SPFeBlend *blend = SP_FEBLEND(object); if (flags & SP_OBJECT_MODIFIED_FLAG) { - object->readAttr( "mode"); - object->readAttr( "in2"); + object->readAttr( "mode" ); + object->readAttr( "in2" ); } /* Unlike normal in, in2 is required attribute. Make sure, we can call @@ -214,7 +213,7 @@ sp_feBlend_update(SPObject *object, SPCtx *ctx, guint flags) SPFilter *parent = SP_FILTER(object->parent); blend->in2 = sp_filter_primitive_name_previous_out(blend); - //XML Tree being used directly here while it shouldn't be. + //XML Tree being used directly here while it shouldn't be. object->getRepr()->setAttribute("in2", sp_filter_name_for_image(parent, blend->in2)); } @@ -300,4 +299,4 @@ static void sp_feBlend_build_renderer(SPFilterPrimitive *primitive, Inkscape::Fi fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :