<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>Enscript Output</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000" VLINK="#9900DD">
<A NAME="top">
<A NAME="file1">
<H1>../gegl/operation/gegl-operation-sink.h</H1>
<PRE>
<I><FONT COLOR="#B22222">/* This file is part of GEGL
*
* GEGL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* GEGL 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2006 Øyvind Kolås
*/</FONT></I>
<I><FONT COLOR="#B22222">/* GeglOperationSink
* An operation that consumes a GeglBuffer, used for filewriters, display
* (for the sdl display node)
*/</FONT></I>
#<B><FONT COLOR="#5F9EA0">ifndef</FONT></B> <FONT COLOR="#B8860B">__GEGL_OPERATION_SINK_H__</FONT>
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">__GEGL_OPERATION_SINK_H__</FONT>
#<B><FONT COLOR="#5F9EA0">include</FONT></B> <B><FONT COLOR="#BC8F8F">"gegl-operation.h"</FONT></B>
G_BEGIN_DECLS
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">GEGL_TYPE_OPERATION_SINK</FONT> (gegl_operation_sink_get_type ())
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_SINK</FONT></B>(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_OPERATION_SINK, GeglOperationSink))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_SINK_CLASS</FONT></B>(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEGL_TYPE_OPERATION_SINK, GeglOperationSinkClass))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_SINK</FONT></B>(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_OPERATION_SINK))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_SINK_CLASS</FONT></B>(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_OPERATION_SINK))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_SINK_GET_CLASS</FONT></B>(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_OPERATION_SINK, GeglOperationSinkClass))
<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationSink GeglOperationSink;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationSink
{
GeglOperation parent_instance;
};
<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationSinkClass GeglOperationSinkClass;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationSinkClass
{
GeglOperationClass parent_class;
<I><FONT COLOR="#B22222">/* Wether or not the sink operation needs full input data in one go
* in order to be able to do its processing
*/</FONT></I>
gboolean needs_full;
gboolean (* process) (GeglOperation *self,
GeglBuffer *input,
<B><FONT COLOR="#228B22">const</FONT></B> GeglRectangle *roi,
gint level);
gpointer pad[4];
};
GType <B><FONT COLOR="#0000FF">gegl_operation_sink_get_type</FONT></B> (<B><FONT COLOR="#228B22">void</FONT></B>) G_GNUC_CONST;
gboolean <B><FONT COLOR="#0000FF">gegl_operation_sink_needs_full</FONT></B> (GeglOperation *operation);
G_END_DECLS
#<B><FONT COLOR="#5F9EA0">endif</FONT></B>
</PRE>
<HR>
<ADDRESS>Generated by <A HREF="http://www.iki.fi/~mtr/genscript/">GNU Enscript 1.6.5.90</A>.</ADDRESS>
</BODY>
</HTML>