Warning: include() [function.include]: Unable to access /var/www/html/rogue-development/blog2/wp-content/advanced-cache.php in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include(/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include() [function.include]: Failed opening '/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3468

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382
Degrafa + ObjectHandles « Marc’s Musings

Degrafa + ObjectHandles

Here’s a neat little experiment I did with combining Degrafa  and ObjectHandles.  (View-source is enabled for the example.)

It lets you move and resize shapes drawn with Degrafa by using the ObjectHandles stuff.  It was amazingly simple to make this work, essentially just something like:
<oh:ObjectHandle id=”myHandle”>
  <degrafa:Surface left="0" top="0">                                  
  <degrafa:fills>             
    <degrafa:SolidFill id="aqua" colorKey="aqua"/>                     
  </degrafa:fills>                  
  <degrafa:GeometryGroup>             
    <degrafa:Elipse width="{myHandle.width}" height="{myHandle.height}}" fill="{aqua}" radius="20"/>                    
  </degrafa:GeometryGroup>              
</degrafa:Surface>

</oh:ObjectHandle>
I bet it’d be amazingly simple to make some sort of impressive drawing or charting application with this.

0 Responses to “Degrafa + ObjectHandles”


Comments are currently closed.