Blob Blame History Raw
<!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-area-filter.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 &lt;http://www.gnu.org/licenses/&gt;.
 *
 * Copyright 2007 Øyvind Kolås
 */</FONT></I>

<I><FONT COLOR="#B22222">/* GeglOperationAreaFilter
 * The AreaFilter base class allows defining operations where the output data depends on a neighbourhood
 * with an input window that extends beyond the output window, the information about needed extra pixels
 * in different directions should be set up in the prepare callback for the operation.
*/</FONT></I>

#<B><FONT COLOR="#5F9EA0">ifndef</FONT></B> <FONT COLOR="#B8860B">__GEGL_OPERATION_AREA_FILTER_H__</FONT>
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">__GEGL_OPERATION_AREA_FILTER_H__</FONT>

#<B><FONT COLOR="#5F9EA0">include</FONT></B> <B><FONT COLOR="#BC8F8F">&quot;gegl-operation-filter.h&quot;</FONT></B>

G_BEGIN_DECLS

#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">GEGL_TYPE_OPERATION_AREA_FILTER</FONT>            (gegl_operation_area_filter_get_type ())
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_AREA_FILTER</FONT></B>(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_OPERATION_AREA_FILTER, GeglOperationAreaFilter))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_AREA_FILTER_CLASS</FONT></B>(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_OPERATION_AREA_FILTER, GeglOperationAreaFilterClass))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_AREA_FILTER</FONT></B>(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_OPERATION_AREA_FILTER))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_AREA_FILTER_CLASS</FONT></B>(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_OPERATION_AREA_FILTER))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_AREA_FILTER_GET_CLASS</FONT></B>(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_OPERATION_AREA_FILTER, GeglOperationAreaFilterClass))

<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationAreaFilter  GeglOperationAreaFilter;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationAreaFilter
{
  GeglOperationFilter parent_instance;

  gint                left;   <I><FONT COLOR="#B22222">/* extra pixels needed in each direction */</FONT></I>
  gint                right;
  gint                top;
  gint                bottom;
};

<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationAreaFilterClass GeglOperationAreaFilterClass;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationAreaFilterClass
{
  GeglOperationFilterClass parent_class;
  gpointer                 pad[4];
};

GType <B><FONT COLOR="#0000FF">gegl_operation_area_filter_get_type</FONT></B> (<B><FONT COLOR="#228B22">void</FONT></B>) G_GNUC_CONST;

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>