xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartosz Celmer <JOHN...@idea.net.pl>
Subject RE: SVG elemet info - script - applet
Date Mon, 22 Mar 2004 21:16:21 GMT
Hi Thomas

Thank You for your suggestion, but it wasn't this problem. I did it
correctly in my code. Problem was somewhere else. I found it:

Problem was here:
interp.bindObject( "appletHost", this);
					    ^^^^
I call it inside - gvtRenderingCompleted, so "this" in this case was my
JSVGCanvas not my applet class object, that's why I couldn't call my
procedures. 
Now I have both option which You suggest working. 

Thank You very much again. 

I still have some problems. If it's possible please give me some suggestion
how to solve it. 

1. I would like to have an pan option in my applet enabled only when user
clicked some button, not when "shift + LeftMouseButton" is pressed. Do I
have to change something in JSVGCanvas class (or extend it), or is there an
other way to do this?
2. Another thing I want to do is to print only the actual view of graphics.
For example: I zoom few times my SVG than pan, and I'd like to print on the
printer only what I see. I've read Image Transcode Tutorial on Batik home
page. I wonder if it will be something similar to this what I read there?

Best Regards

Bartosz Celmer




-----Original Message-----
From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com] 
Sent: Thursday, March 18, 2004 10:23 PM
To: Batik Users
Subject: Re: SVG elemet info - script - applet

Hi Bartosz,

    Everything looked good to me so I'm hoping this
is it (the error message makes me think it will be).

Bartosz Celmer wrote:

> Public void test()
               ^ Lower case 't'

> function circle_click() {
>  appletHost.Test();}
               ^ Upper case 'T'.





---------------------------------------------------------------------
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