You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2005/09/13 01:48:18 UTC

DO NOT REPLY [Bug 36627] - [PATCH] Implementation of 'static' from SVG 1.2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36627>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36627





------- Additional Comments From deweese@apache.org  2005-09-13 01:48 -------
Created an attachment (id=16380)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16380&action=view)
Patch to 'trunk' or 'branches/svg11' for static support.

This is an implementation of the 'static' property as
an XML attribute in the batik extension namespace.

Right now it simply tosses the offscreen rendering if
anything changes under the 'static' element.  It also
is only implemented for 'g', 'svg'(?), and 'use'.

The patch modifies the 'towers' solitare game to make
use of the 'static' keyword to acellerate rendering
(although this is really not a great example of what
it is ment for, Andreas has those ;).

A simple example of using this:

<svg width="800" height="600" viewBox="0 0 800 600" 
  xmlns="http://www.w3.org/2000/svg" 
  xmlns:batik="http://xml.apache.org/batik/ext"
  xmlns:xlink="http://www.w3.org/1999/xlink">

  <g id="background" batik:static="true">
    <.....>
  </g>
</svg>


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org