[gegl: 6/25] transform-core/gegl_transform_get_bounding_box: shouldn't this bounding box be smaller: some sort of



commit d45321d63e820d33e4ac235a6b2680671dd63a82
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Fri Nov 23 21:00:02 2012 -0500

    transform-core/gegl_transform_get_bounding_box: shouldn't this bounding box be smaller: some sort of contained instead of container?

 operations/transform/transform-core.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 668c117..3664428 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -473,6 +473,10 @@ gegl_transform_get_bounding_box (GeglOperation *op)
   GeglRectangle  context_rect;
   GeglSampler   *sampler;
 
+  /*
+   * Shouldn't the computed bounding box be smaller? Some sort of
+   * "contained" instead of "container".
+   */
   sampler = gegl_buffer_sampler_new (NULL, babl_format("RaGaBaA float"),
       gegl_sampler_type_from_string (transform->filter));
   context_rect = *gegl_sampler_get_context_rect (sampler);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]