You Are Here:

Community: Developer Discussion Boards

#1 Old drawString problems - 2004-04-22, 19:50

Join Date: Apr 2004
Posts: 71
fwojtek
Offline
Regular Contributor
Using drawString method from Graphics class on S60 is wird.

1.
It has bug that text cannot be draw with color to image.
Is only way to draw color is to draw it to screen directly?
Are there any other ways?




2.
Drawing strings with "/n" ( new line mark ) in text has no efect.

Are there any ways to draw string in few lines (not all in one line)???????????????????????????????
Reply With Quote

#2 Old 2004-04-23, 03:04

Join Date: Feb 2004
Posts: 90
fmsware
Offline
Regular Contributor
1 - This is a known bug. There is no workaround that I am aware of.

2 - This requires a higher level function than the Canvas class supports. You would have to break up the string yourself, or use a higher level class like Form instead of Canvas.
Reply With Quote

#3 Old 2004-04-24, 23:20

Join Date: Apr 2004
Posts: 71
fwojtek
Offline
Regular Contributor
thanks
Reply With Quote

#4 Old 2004-04-28, 17:49

Join Date: Apr 2004
Posts: 10
obruening
Offline
Registered User
you might take a look at http://kobjects.org/utils4me/
Reply With Quote

#5 Old 2004-07-31, 00:48

Join Date: Mar 2004
Posts: 2,077
Location: Bangalore,India
Send a message via MSN to mayankkedia Send a message via Yahoo to mayankkedia
mayankkedia's Avatar
mayankkedia
Offline
Forum Nokia Champion
what do u mean when u say draw with color to image?
u can specify the color of the background..and the foreground.and u can specify the color of the text..what else do u want..let me know
ciao
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