[dia] [transform] no Renderer::draw_object() for libart



commit b2472b7fb780206db82ae07521d30ca460cf61e6
Author: Hans Breuer <hans breuer org>
Date:   Sun Sep 12 14:49:22 2010 +0200

    [transform] no Renderer::draw_object() for libart
    
    This should have been in the interface change commit.
    Although it probably is possible to implement affine
    transformations based on Libart I don't care enough
    for this soon top be obsolete renderer ;)

 plug-ins/libart/dialibartrenderer.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/plug-ins/libart/dialibartrenderer.c b/plug-ins/libart/dialibartrenderer.c
index 6307803..402240a 100644
--- a/plug-ins/libart/dialibartrenderer.c
+++ b/plug-ins/libart/dialibartrenderer.c
@@ -1334,13 +1334,6 @@ draw_image(DiaRenderer *self,
   }
 }
 
-
-static void
-draw_object (DiaRenderer *renderer, DiaObject *object)
-{
-  object->ops->draw(object, renderer);
-}
-
 static void
 renderer_init (DiaLibartRenderer *renderer, gpointer g_class)
 {
@@ -1517,8 +1510,6 @@ dia_libart_renderer_class_init (DiaLibartRendererClass *klass)
 
   renderer_class->draw_image = draw_image;
 
-  renderer_class->draw_object = draw_object;
-
   /* Interactive functions */
   renderer_class->get_text_width = get_text_width;
   /* other */



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