gegl r2485 - in trunk: . gegl/buffer
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2485 - in trunk: . gegl/buffer
- Date: Wed, 18 Jun 2008 10:35:57 +0000 (UTC)
Author: ok
Date: Wed Jun 18 10:35:57 2008
New Revision: 2485
URL: http://svn.gnome.org/viewvc/gegl?rev=2485&view=rev
Log:
* gegl/buffer/gegl-sampler.h: added update of GeglSampler that should
have gone in with the previous commit.
Modified:
trunk/ChangeLog
trunk/gegl/buffer/gegl-sampler.h
Modified: trunk/gegl/buffer/gegl-sampler.h
==============================================================================
--- trunk/gegl/buffer/gegl-sampler.h (original)
+++ trunk/gegl/buffer/gegl-sampler.h Wed Jun 18 10:35:57 2008
@@ -46,7 +46,8 @@
GeglRectangle context_rect;
void *sampler_buffer;
GeglRectangle sampler_rectangle;
-
+ gdouble x; /* mirrors the currently requested */
+ gdouble y; /* coordinates in the instance */
};
struct _GeglSamplerClass
@@ -66,17 +67,18 @@
/* virtual method invokers */
void gegl_sampler_prepare (GeglSampler *self);
+void gegl_sampler_set_buffer (GeglSampler *self,
+ GeglBuffer *buffer);
+
void gegl_sampler_get (GeglSampler *self,
gdouble x,
gdouble y,
void *output);
-void gegl_sampler_set_buffer (GeglSampler *self,
- GeglBuffer *buffer);
-
gfloat * gegl_sampler_get_from_buffer (GeglSampler *sampler,
gint x,
gint y);
+GType gegl_sampler_type_from_interpolation (GeglInterpolation interpolation);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]