Got bored at work today so I wrote a simple graphics class that draws speech bubbles on anything you have the graphics handle to...
Demo project in the attachment
http://www.vbforums.com/attachment.p...chmentid=38134
Printable View
Got bored at work today so I wrote a simple graphics class that draws speech bubbles on anything you have the graphics handle to...
Demo project in the attachment
http://www.vbforums.com/attachment.p...chmentid=38134
Without looking at the code I am going to guess that you took a rectangle and drew circles along its boudaries with random sizes and possibly random intervals.
Right?
Another nice demo wossname!
Question, why do you create a gr graphics and not use it? Your passing in the Me.CreateGraphics instead?
Also, how does the antialiasing apply to the drawtext? Is it because its a Graphics object and not a GraphicsPath object?
Good point. it was just me being forgetful. :D
File updated.
That's pretty much it yeah. :DQuote:
Originally Posted by grilkip
So, how does the antialiasing apply to the drawtext? Is it because of the Graphics class and not GraphicsPath class? I'm sure I could
look it up but your the GDI+ Guru so its more fun to ask you. :D
It is still just as l337Quote:
Originally Posted by wossname
one funky thing i noticed off the bat was that when the area is too small, the text is truncated. Well, actually it's THERE but u can't see it...if you decide to extend this control, and i hope you do, maybe have the text adjust to the size of the container?
I really like this!
Antialiasing only applies to the Graphics object itself. So any subsequent drawing oparations carried out on the graphics object will have antialiasing applied to them.
There are varying levels of renderin quality available last time I looked there were 5 properties (in the graphics object) all directly affecting the quality of the drawn image.
It would be relatively easy to add shrinkable fonts to this class. I'll think about it.
You should post this in the codebank..It shows a great deal about painting.
Good suggestion. Moved.