Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jijo Pappachan
  Where is Jijo Pappachan?
 Kerala
 India
 Jijo Pappachan
 To: Jijo Pappachan
  Where is Jijo Pappachan?
 Kerala
 India
 Jijo Pappachan
 Tags
Subject: RE: Jagged edges in GDI+ icon
Thread ID: 248394 Message ID: 248974 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Saturday, December 26, 2009 8:13:24 AM         
   


Hi friends,
Any updates on this?

Thanks
Jijo
IMPOSSIBLE IS NOTHING BUT IMAGINATION
my blog:http://weblogs.foxite.com/jijo_pappachan/

> Hi Friends,
>
> I am facing a problem while creating GDI images. I am trying to draw a icon from system icons. The problem is that, the original icon on the messagebox looks perfect with smooth edges while the icon that is generated has a blue outline with jagged edges.
> ORIGINAL ICON ON MESSAGEBOX
>
>
> ICON CREATED WITH GDI CODING
>
>
> How can I smoothen the icon edges?
>
> This is the code I wrote in BeforeDraw() of ImageCanvas object
>
> LOCAL loGfx As xfcGraphics
> 
> loGfx = This.oGfx 
> 
> This.Clear()
> 
> loGfx.DrawIcon(_Screen.System.Drawing.SystemIcons.Information, 10, 10)
> 

>
> Am I missing something? Please help me
>
> Jijo
> IMPOSSIBLE IS NOTHING BUT IMAGINATION
> my blog:http://weblogs.foxite.com/jijo_pappachan/

ENTIRE THREAD

Jagged edges in GDI+ icon Posted by Jijo Pappachan @ 12/18/2009 6:02:33 AM
RE: Jagged edges in GDI+ icon Posted by Bernard Bout @ 12/18/2009 8:55:14 AM
RE: Jagged edges in GDI+ icon Posted by Jijo Pappachan @ 12/18/2009 9:44:42 AM
RE: Jagged edges in GDI+ icon Posted by Cesar @ 12/18/2009 12:00:55 PM
RE: Jagged edges in GDI+ icon Posted by Jijo Pappachan @ 12/18/2009 12:16:04 PM
RE: Jagged edges in GDI+ icon Posted by Cesar @ 12/18/2009 12:51:56 PM
RE: Jagged edges in GDI+ icon Posted by Jijo Pappachan @ 12/18/2009 1:29:14 PM
RE: Jagged edges in GDI+ icon Posted by Jijo Pappachan @ 12/26/2009 8:13:24 AM