xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: units for transform(translate( ))
Date Wed, 02 Apr 2008 10:18:09 GMT
Hi Abraham

"Abraham Rodriguez Mota" <abraham.rdgz@gmail.com> wrote on 04/01/2008
11:08:10 AM:

> I tried to do the maths, but because I didn't find an exact
> calculation , after a series of adding and removing tasks big gaps
> of empty space appears on the boxes. Do you have any advice about it?

    size in 'px' = size in 'em' * font-size.
    You can get the font-size for an element with the
getComputedStyle and getPropertyValue methods.


> On Fri, Mar 14, 2008 at 3:56 AM, Tonny Kohar <tonny.kohar@gmail.com>
wrote:
> Hi,
>
> On Fri, Mar 14, 2008 at 3:55 AM, Abraham Rodriguez Mota
> <abraham.rdgz@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
Mime
View raw message