Hi Jorg,
> Thomas DeWeese wrote:
>> I will mention that if you can combine path
>> elements into one more complex path element (using 'M' commands
>> between what used to be separate elements for example) this can make a
>> _very_ significant difference in performance (both building and
>> rendering).
Jorg Heymans wrote:
> Could you elaborate a bit ? say we have 10 path elements like this one
>
> <path d="M 920081 -5691558.6 l -18.7 557 -464.1 185.3 286.4 274.2 ...
>
> How would i use the M command to speed up things?
Replace:
<path d="M 920081 -5691558.6 l -18.7 557 -464.1 185.3 286.4 274.2 ...
<path d="M 920081 -5691558.6 l -18.7 557 -464.1 185.3 286.4 274.2 ...
With:
<path d="M 920081 -5691558.6 l -18.7 557 -464.1 185.3 286.4 274.2 ...
M 920081 -5691558.6 l -18.7 557 -464.1 185.3 286.4 274.2 ...
One Path element with both sets of points.
For this to work the two path elements have to have the same
drawing style, and of course you lose the ability to easily
distinguish the two paths (based on mouse over or what ever).
---------------------------------------------------------------------
To unsubscribe, e-mail:
batik-users-unsubscribe@xmlg...
For additional commands, e-mail:
batik-users-help@xmlg...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.