W3C home > Mailing lists > Public > www-svg@w3.org > July 2007

Re: Regarding viewport question

From: Mustafizur Rahaman <mustaf.here@gmail.com>
Date: Wed, 11 Jul 2007 15:31:15 +0530
Message-ID: <5fccfe10707110301i3538ec03y55cf43b970db97d6@mail.gmail.com>
To: www-svg@w3.org
Hi All:

Can any one please respond to me...and if the question is not clear,let me
know, i can try to explain where ever any one has problem.

Thanks.


On 7/10/07, Mustafizur Rahaman <mustaf.here@gmail.com> wrote:
>
> Hi All:
>
> I read that as per SVG 1.2 Tiny, only svg,image,video,animation element
> can have their own viewport.  I saw that in SVG 1.1 there is something
> symbol element which can have their own viewport, but symbol element is not
> mentioned in SVG Tiny 1.2. So, my question is other than svg,
> image,video,animation, is there any other element in SVG Tiny 1.2 which
> can have their own viewport.
>
> Let me explain the problem, so that you will understand it better.
>
> Let's say i have a triangle which i have constructed using path
> element.This triangle i want to draw at three places on my SVG canvas, but
> each of the triangle should be of different size.I can achieve it using
> transform attribute, but my problem is i dont know the scale factor in
> advance.
>
> what i want to do is that, on my canvas i can specify three rectangular
> region each of different sizes, and when the triangle will be drawn in that
> rectangular region, the triangle size will be changed automatically
> depending on the rectangular region( let's assume i want to maintain aspect
> ratio)
>
> Can any one please help me.
>
> Regs & Thanks.
>
Received on Wednesday, 11 July 2007 10:01:19 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:37 GMT