You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Abraham Rodriguez Mota <ab...@gmail.com> on 2008/04/01 15:01:35 UTC
Re: units for transform(translate( ))
Hi Tonny,
The main issue is that users can change the position of the box as
well.Inother words, users can arrange the position of a box containing
a set of
tasks around a blank canvas, but also can add, edit or remove tasks from the
boxes editing a text box without clicking on the svg element.
all the best
Abraham
On Fri, Mar 14, 2008 at 3:56 AM, Tonny Kohar <to...@gmail.com> wrote:
> Hi,
>
> On Fri, Mar 14, 2008 at 3:55 AM, Abraham Rodriguez Mota
> <ab...@gmail.com> wrote:
>
> Did you try to calculate the equivalent of translate unit to px value ?
>
> Cheers
> Tonny Kohar
> --
> Citra FX Photo Effects
> imagine, design, create ...
> http://www.kiyut.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>
Re: units for transform(translate( ))
Posted by Abraham Rodriguez Mota <ab...@gmail.com>.
Hi Helder,
Thanks, for your advice but the main problem is that in this application
users edit a text box or a text file, then from the text file events are
captured in order to edit the SVG file. When the SVG is edited the <g>'s
transfor( translate( ) ) command doesn't allow to use units. And because
users are not clicking on the SVG document (They are editing a text file in
a different window), there is not any reference to the current pixel values
on the screen.
On Tue, Apr 1, 2008 at 3:35 PM, Helder Magalhães <he...@gmail.com>
wrote:
> Maybe something like codedread's "Draggable SVG" [1] may help...? Not
> tested in Batik, though...
>
> Hope this helps,
>
> Helder Magalhães
>
> [1] http://www.codedread.com/code.php#dragsvg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>
Re: units for transform(translate( ))
Posted by Helder Magalhães <he...@gmail.com>.
Maybe something like codedread's "Draggable SVG" [1] may help...? Not
tested in Batik, though...
Hope this helps,
Helder Magalhães
[1] http://www.codedread.com/code.php#dragsvg
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org