>>>>> "KN" == Kenji Nakamura <[EMAIL PROTECTED]> writes:

KN> Sorry for self response...
>> > KN> Do I overlook something?
>> > 
>> > I suspect you need to add the viewBox attribute on your outermost
>> > SVG element.

KN> I added viewBox attribute="0 0 675 554" by hand, but the result
KN> didn't change.  (I'm not sure the syntax is correct, though).  I
KN> also added with="675" height="554", and now it is rendered as what
KN> I expected.

    Then calling setSVGCanvaseSize should fix things for you.  Just
call it with the components size before you pass it into the
components paint method.

    I personally always use the following in my SVG content (numbers
should be consistent with content of course):

    <svg width="600" height="800" viewBox="0 0 600 800" [...]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to