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-point-render.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 2006 Øyvind Kolås
 */</FONT></I>

<I><FONT COLOR="#B22222">/* GeglOperationPointRender
 * The point-render base class is a specialized source operation, where the render is done
 * in small piece to lower the need to do copies. It's dedicated to operation which may be
 * rendered in pieces, like pattern generation.
 */</FONT></I>

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

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

G_BEGIN_DECLS

#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">GEGL_TYPE_OPERATION_POINT_RENDER</FONT>            (gegl_operation_point_render_get_type ())
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_POINT_RENDER</FONT></B>(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_OPERATION_POINT_RENDER, GeglOperationPointRender))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_POINT_RENDER_CLASS</FONT></B>(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_OPERATION_POINT_RENDER, GeglOperationPointRenderClass))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_POINT_RENDER</FONT></B>(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_OPERATION_POINT_RENDER))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_IS_OPERATION_POINT_RENDER_CLASS</FONT></B>(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_OPERATION_POINT_RENDER))
#<B><FONT COLOR="#5F9EA0">define</FONT></B> <B><FONT COLOR="#0000FF">GEGL_OPERATION_POINT_RENDER_GET_CLASS</FONT></B>(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_OPERATION_POINT_RENDER, GeglOperationPointRenderClass))

<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationPointRender  GeglOperationPointRender;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationPointRender
{
  GeglOperationSource parent_instance;
};

<B><FONT COLOR="#228B22">typedef</FONT></B> <B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationPointRenderClass GeglOperationPointRenderClass;
<B><FONT COLOR="#228B22">struct</FONT></B> _GeglOperationPointRenderClass
{
  GeglOperationSourceClass parent_class;

  gboolean (* process) (GeglOperation       *self,      <I><FONT COLOR="#B22222">/* for parameters    */</FONT></I>
                        <B><FONT COLOR="#228B22">void</FONT></B>                *out_buf,   <I><FONT COLOR="#B22222">/* output buffer     */</FONT></I>
                        glong                samples,   <I><FONT COLOR="#B22222">/* number of samples */</FONT></I>
                        <B><FONT COLOR="#228B22">const</FONT></B> GeglRectangle *roi,       <I><FONT COLOR="#B22222">/* can be used if position is of importance*/</FONT></I>
                        gint                 level);
  gpointer              pad[4];
};

GType <B><FONT COLOR="#0000FF">gegl_operation_point_render_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>