You Are Here:

Community: Developer Discussion Boards

#1 Old JSR-226 Height and Width - 2005-08-18, 18:41

Join Date: Aug 2005
Posts: 5
ThatIsEnough
Offline
Registered User
Hy everybody,
i got the problem that i have an svg image and i wolud like to change the height and the width .
_____
this.element.setCurrentScale( t);
_____
and my svg images is scaled but i want to change only the width or heiht or doing it unproportional.
so if you can help me i would ne pleasured if you do that :)
Reply With Quote

#2 Old viewBox="0 0 95 178" preserveAspectRatio="none" - 2005-08-19, 18:16

Join Date: Aug 2005
Posts: 5
ThatIsEnough
Offline
Registered User
Make sure that viewBox="0 0 95 178" preserveAspectRatio="none" in the svg image is set now you can setViewportWidth(width); and the height you want.
The only problem is you have to initial your image everytime you render it .

So if you fix the problem please post it.
i will do the same :)
Reply With Quote

#3 Old Re: viewBox="0 0 95 178" preserveAspectRatio="none" - 2005-08-23, 13:06

Join Date: Aug 2005
Posts: 17
Nit1507
Offline
Registered User
Hi i am nit1507 can u pls tell me which sdk u r using for svg implementation ...i tried by using ri jsr226 i complied the the demo files but in emulator they r not being displayed ...as u r running the same can u find out the problem...pls help me
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia