xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vincent.ha...@sun.com>
Subject Re: Question about docBBox
Date Thu, 20 Sep 2001 10:09:40 GMT
Danny,

Could you tell us in which context you had that code? It seems that
docBBox was a class member. Which class is that code taken from?

Thanks,
Vincent.

Danny Ye wrote:
> 
> Dear batik developers:
> 
> Thank you for give us the good product, it is woundful.
> We used batik-1.0beta few monthes ago, and now we want upgrate it to
> batik-1.0release.  But there are some function are not exist anymore. You
> must replaced it.  Could you be kindly help me how to upgrate the function?
> 
> Have a look at fellow code
> 
>    public double getScreenLocationX(int theX)
>    {
>       double dComputeX = 0;
> 
>       if (docBBox != null)
>       {
>          Rectangle2D rec = ((GeneralPath)docBBox).getBounds2D();
> 
>          double dlX = rec.getMinX();
>          double dscX = transform.getScaleX();
> 
>          dComputeX = dlX + theX * dscX;
>       }
> 
>       return (int)dComputeX;
>    }
> How can get the same function of docBBox in release?
> 
> Danny
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

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


Mime
View raw message