Fixed initial angle in objects. Sets to 0.0
authordanigm <dani@danigm.net>
Wed, 5 May 2010 18:13:43 +0000 (20:13 +0200)
committerdanigm <dani@danigm.net>
Wed, 5 May 2010 18:13:43 +0000 (20:13 +0200)
src/piximage.c
src/svgimage.c
src/textobj.c

index c0a759c..b2bd714 100644 (file)
@@ -20,6 +20,7 @@ tbo_piximage_new ()
     image->draw = tbo_pix_image_draw;
     image->save = tbo_pix_image_save;
     image->clone = tbo_pix_image_clone;
+    image->angle = 0.0;
     image->type = PIXOBJ;
     image->flipv = FALSE;
     image->fliph = FALSE;
index 2dd4924..e9f9e70 100644 (file)
@@ -21,6 +21,7 @@ tbo_svgimage_new ()
     image->draw = tbo_svg_image_draw;
     image->save = tbo_svg_image_save;
     image->clone = tbo_svg_image_clone;
+    image->angle = 0.0;
     image->type = SVGOBJ;
     image->flipv = FALSE;
     image->fliph = FALSE;
index 7119358..1f125f4 100644 (file)
@@ -64,6 +64,7 @@ tbo_text_new ()
     text->draw = tbo_text_draw;
     text->save = tbo_text_save;
     text->clone = tbo_text_clone;
+    text->angle = 0.0;
     text->type = TEXTOBJ;
     text->flipv = FALSE;
     text->fliph = FALSE;