Re: [svg-developers] Re: Zoom in/zoom out

2006-09-26 Thread Stéphane ANCELOT
Hi,
The following link should help you, this is for IE, we made a working 
port to firefox, but it is not finished.
http://www.dotuscomus.com/svg/lib/library.html
bye
steph

Samuel Dagan wrote:
> Hi Nazar,
>   If you look at a SVG file from the web, I don't have the answer, 
> but if you have the SVG file, then add inside the  both: 
> width="100%" height="100%" 
>   Cheers, Samy
> 
> --- In svg-developers@yahoogroups.com, "Nazar" <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> My question is about feature zoom in/zoom out found in most graphics
>> viewers or editors. 
>>
>> On  a web page view I have iframe wchich displays SVG graphics. The
>> SVG is itself a diagram of a business process.  Size of the diagram 
> is
>> big enough and scrollbars are displayed. So I need to implement a 
> zoom
>> in/zoom out feature which would scale graphics to fit the box of
>> visible area. 
>>
>> 1. Does SVG plugin have this feature? I didn't find it in firefox
>> browser. Maybe Adobe ASV plugin has it? At the first sight it is
>> feature of viewer, but if either viewer plugin does not have it I 
> need
>> to make it with some scripting of SVG
>>
>> 2. As I understand it is possible to scale SVG graphics by operating
>> its DOM object tree i.e. setting attributes 
>> width="2000" 
>> height="430" 
>> zoomAndPan="magnify" 
>> viewBox="20.0 20.0 2000.0 430.0" 
>> preserveAspectRatio="xMidYMid meet"
>>
>> Setting height to 200 will automatically zoom out graphics to fit 
> into
>>  iframe height, isn't it?
>>
>> What zoomAndPan and preserveAspectRatio attributes values are 
> allowed?
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe send a message to: [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
>  
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: tspan in mozilla

2006-09-26 Thread Andreas Neumann
cool - thanks for your efforts.

Andreas

--- In svg-developers@yahoogroups.com, T Rowley <[EMAIL PROTECTED]> wrote:
>
> On 9/25/06 11:39 AM, T Rowley wrote:
> > On 9/25/06 10:12 AM, revelonshift wrote:
> >> Yeah, it is workaround, but I could it use, perhaps.
> >> Hope FFX2 will be working already as expected...
> > 
> > Err, oops.  While the fix is trivial and has been on the trunk 
since 
> > February, it was missed when merging low risk changes to the 
branch 
> > because it was included in a much larger patch.
> > 
> > I've filed a bug/patch for the branch, but as RC1 is currently in 
QA the 
> > chances of getting approval to include this in FF2 are slim.
> > 
> >https://bugzilla.mozilla.org/show_bug.cgi?id=354147
> 
> Patch is in - will make FF2 RC2 and final.
> 
> -tor
>







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: tspan in mozilla

2006-09-26 Thread T Rowley
On 9/25/06 11:39 AM, T Rowley wrote:
> On 9/25/06 10:12 AM, revelonshift wrote:
>> Yeah, it is workaround, but I could it use, perhaps.
>> Hope FFX2 will be working already as expected...
> 
> Err, oops.  While the fix is trivial and has been on the trunk since 
> February, it was missed when merging low risk changes to the branch 
> because it was included in a much larger patch.
> 
> I've filed a bug/patch for the branch, but as RC1 is currently in QA the 
> chances of getting approval to include this in FF2 are slim.
> 
>https://bugzilla.mozilla.org/show_bug.cgi?id=354147

Patch is in - will make FF2 RC2 and final.

-tor


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: Zoom in/zoom out

2006-09-26 Thread Samuel Dagan
Hi Nazar,
  If you look at a SVG file from the web, I don't have the answer, 
but if you have the SVG file, then add inside the  both: 
width="100%" height="100%" 
  Cheers, Samy

--- In svg-developers@yahoogroups.com, "Nazar" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> My question is about feature zoom in/zoom out found in most graphics
> viewers or editors. 
> 
> On  a web page view I have iframe wchich displays SVG graphics. The
> SVG is itself a diagram of a business process.  Size of the diagram 
is
> big enough and scrollbars are displayed. So I need to implement a 
zoom
> in/zoom out feature which would scale graphics to fit the box of
> visible area. 
> 
> 1. Does SVG plugin have this feature? I didn't find it in firefox
> browser. Maybe Adobe ASV plugin has it? At the first sight it is
> feature of viewer, but if either viewer plugin does not have it I 
need
> to make it with some scripting of SVG
> 
> 2. As I understand it is possible to scale SVG graphics by operating
> its DOM object tree i.e. setting attributes 
> width="2000" 
> height="430" 
> zoomAndPan="magnify" 
> viewBox="20.0 20.0 2000.0 430.0" 
> preserveAspectRatio="xMidYMid meet"
> 
> Setting height to 200 will automatically zoom out graphics to fit 
into
>  iframe height, isn't it?
> 
> What zoomAndPan and preserveAspectRatio attributes values are 
allowed?
>







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: ASV 3.03 as ActiveX UserControl possible

2006-09-26 Thread Ronan Oger
Stefan,

How are you delivering the ASV plugin to users? I thought their license 
specifically forbade this. Or are you getting them to install it first, and 
then use the plugin through activeX?

Ronan

On Tuesday 26 September 2006 18:41, mmaker21 wrote:
> I got no response (or found a dead mailbox) but we created a
> solution in our project by implementing a new ActiveX control in C++
> that wraps the ASV and implements all the required interfaces. Using
> this new ActiveX in the .NET UserControl control instead of using
> the ASV directly all problems disappeared. Mission accomplished to
> get rid of IE as a host.
>
> Regards
> Stefan
>
> --- In svg-developers@yahoogroups.com, "Francis Hemsher"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi Stefan,
> >
> > I think you should contact Jon Frost. He is both SVG and .NET
>
> savvy.
>
> > Regards,
> > Francis
> >
> >
> > --- In svg-developers@yahoogroups.com, "mmaker21" 
>
> wrote:
> > > Hi,
> > > during the last few months I built a .NET UserControl for a
>
> (big)
>
> > > customer, that extends ASV3.02 with scrollbars, hi-res printing,
>
> DOM
>
> > > access and much more. Now my customer tells me, that we must use
>
> ASV
>
> > > 3.03. This requires that the host (.NET AxHost) of the ActiveX
> >
> > control
> >
> > > must implement the IHtmlDocument2 interface. We can't use IE as
>
> the
>
> > > host.
> > > So I wonder if there is some genius in this world, who succeeded
>
> using
>
> > > the ASV 3.03 as an ActveX control on a Windows.Form in .NET.
>
> (hosted
>
> > > by AxHost and NOT by IE!). I would be very lucky to hear
>
> something
>
> > > positive, perhaps only pointing me in the right direction, even
>
> if it
>
> > > was a partial solution or in another programming language.
> > > Thanks and best wishes from Germany
> > > Stefan (mmaker21@)
>
> -
> To unsubscribe send a message to:
> [EMAIL PROTECTED] -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership" 
> Yahoo! Groups Links
>
>
>
>
>
>

-- 
Ronan Oger lailing list account
http://www.roitsystems.com
http://www.roasp.com


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: ASV 3.03 as ActiveX UserControl possible

2006-09-26 Thread mmaker21
I got no response (or found a dead mailbox) but we created a 
solution in our project by implementing a new ActiveX control in C++ 
that wraps the ASV and implements all the required interfaces. Using 
this new ActiveX in the .NET UserControl control instead of using 
the ASV directly all problems disappeared. Mission accomplished to 
get rid of IE as a host.

Regards
Stefan

--- In svg-developers@yahoogroups.com, "Francis Hemsher" 
<[EMAIL PROTECTED]> wrote:
>
> Hi Stefan,
> 
> I think you should contact Jon Frost. He is both SVG and .NET 
savvy.
> 
> Regards,
> Francis
> 
> 
> --- In svg-developers@yahoogroups.com, "mmaker21"  
wrote:
> >
> > Hi,
> > during the last few months I built a .NET UserControl for a 
(big) 
> > customer, that extends ASV3.02 with scrollbars, hi-res printing, 
DOM 
> > access and much more. Now my customer tells me, that we must use 
ASV 
> > 3.03. This requires that the host (.NET AxHost) of the ActiveX 
> control 
> > must implement the IHtmlDocument2 interface. We can't use IE as 
the 
> > host.
> > So I wonder if there is some genius in this world, who succeeded 
using
> > the ASV 3.03 as an ActveX control on a Windows.Form in .NET. 
(hosted
> > by AxHost and NOT by IE!). I would be very lucky to hear 
something 
> > positive, perhaps only pointing me in the right direction, even 
if it
> > was a partial solution or in another programming language.
> > Thanks and best wishes from Germany
> > Stefan (mmaker21@)
> >
>







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Doubt Reg: Garbage Collection in JSVGCanvas

2006-09-26 Thread Shamjith K V
Hi,
I have a doubt in the garbage collection in JSVGCanvas.
My doubt is if I reuse a JSVGCanvas for rendering a different svg
file, whether the memory used for the previous svg will be 
released?.

What I meant is:
If I have a first case like,
svgCanvas.setURI(new java.io.File("test1.svg").toURL().toString());
 ..and in a later time I use the same JSVGCanvas object

svgCanvas.setURI(new java.io.File("test2.svg").toURL().toString());
Whether the memory allocated for the previous canvas will be released?.

What I found was that, after setting the URI to a new one, the memory used by 
the particular process is increasing(even if the svg file content is same the 
difference is only in file name).

Please suggest me a solution.

Thanks and Regards,
Shamjith


-
 To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Opera iframe

2006-09-26 Thread revelonshift
Hi there,
does anybody know why when opening pure .svg file in iframe in Opera
9.0x it always stretch (keeping aspect ratio) to the iframe size,
although the only attributes set on svg root element are width and
height in pixels? It works as expected for me in MSIE and Mozilla, but
Opera behaves differently...

Thx for your ideas,
Marek

PS: Submarine game is reaching currently status of 99% finished, so
I'll release it soon... I hope, at least.. ;-)






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/