Click here to Skip to main content
15,886,067 members
Home / Discussions / Graphics
   

Graphics

 
QuestionInner and Outer Bevel Effects. Pin
Sameerkumar Namdeo14-Jun-07 23:38
Sameerkumar Namdeo14-Jun-07 23:38 
QuestionAnti-Aliasing routine needed Pin
Force Code14-Jun-07 13:39
Force Code14-Jun-07 13:39 
AnswerRe: Anti-Aliasing routine needed Pin
Christian Graus14-Jun-07 14:09
protectorChristian Graus14-Jun-07 14:09 
GeneralRe: Anti-Aliasing routine needed Pin
Force Code14-Jun-07 14:30
Force Code14-Jun-07 14:30 
GeneralRe: Anti-Aliasing routine needed Pin
Christian Graus14-Jun-07 18:05
protectorChristian Graus14-Jun-07 18:05 
GeneralRe: Anti-Aliasing routine needed Pin
Force Code15-Jun-07 1:52
Force Code15-Jun-07 1:52 
GeneralRe: Anti-Aliasing routine needed Pin
Force Code15-Jun-07 5:17
Force Code15-Jun-07 5:17 
GeneralRe: Anti-Aliasing routine needed [modified] Pin
Force Code20-Jun-07 6:03
Force Code20-Jun-07 6:03 
Force Code wrote:
I copied this into a test program, compiled it, and it did nothing. So, I replaced their "render_text(ras, ren, sl, gl, 10, 100, "Hello, World!")" with a straight win32 TextOut, and got impeccably rendered "Hello World" output indistinguishable from what AGG supposedly produces. But then, I noticed in their code they were calling the Win32 CreateFont with ANTIALIASED_QUALITY specified. So, I have no idea what AGG achieves on its own. As it turns out, ANTIALIASED_QUALITY was all I needed in my own project to begin with. I was utilizing someone else's code in which CreateFont was called with DEFAULT_QUALITY.


Here's an interesting epilogue to this story.

I recently downloaded GDI+ which I haven't used before. As I said above, just using the straight GDI CreateFont (or actually CreateFontIndirect) and specifying ANTIALIASED_QUALITY, gives you as good text quality for large fonts as could possibly be imagined.

So I was curious about the capabilities of GDI+. With it, you call,
graphics.SetTextRenderingHint(TextRenderingHintAntiAliasGridFit), which gives you the highest quality fonts available through GDI+ for non XP systems (I am using Win 2000.) So I tried it and amazingly, the quality was *much* worse than with straight GDI. It looked like it wasn't anti-aliased at all, until you notice that yeah, it is a *little* bit smoother (This was on 72 point Times New Roman; bold, italic).

This is very strange, since GDI+ itself uses over 180 GDI functions. There is one higher quality font level available in GDI+, only for XP and Win Server 2003 - TextRenderingHintClearTypeGridFit. It supposedly uses revolutionary "ClearType" technology.

I think its clear that what happened is that Microsoft just downgraded font rendering for everything prior to XP, and made their old anti-aliasing algorithm only available for XP or higher, and gave it a new name - "ClearType".

Maybe this has been observed before.
QuestionWarehouse Visualization Pin
Ali BaderEddin11-Jun-07 22:13
Ali BaderEddin11-Jun-07 22:13 
AnswerRe: Warehouse Visualization Pin
Christian Graus12-Jun-07 1:50
protectorChristian Graus12-Jun-07 1:50 
GeneralRe: Warehouse Visualization Pin
Ali BaderEddin14-Jun-07 20:54
Ali BaderEddin14-Jun-07 20:54 
QuestionHow can i capture a screen shot from handled video screen ? [modified] Pin
vmguneri11-Jun-07 6:58
vmguneri11-Jun-07 6:58 
Questionhow to convert template in to web page? Pin
bigphish10-Jun-07 19:51
bigphish10-Jun-07 19:51 
AnswerRe: how to convert template in to web page? Pin
Christian Graus10-Jun-07 20:56
protectorChristian Graus10-Jun-07 20:56 
QuestionFrozen screen after activation of Win screensaver Pin
sohst9-Jun-07 0:54
sohst9-Jun-07 0:54 
QuestionRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery9-Jun-07 8:47
Mark Salsbery9-Jun-07 8:47 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst9-Jun-07 21:40
sohst9-Jun-07 21:40 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery10-Jun-07 6:24
Mark Salsbery10-Jun-07 6:24 
GeneralRe: Frozen screen after activation of Win screensaver Pin
sohst11-Jun-07 2:37
sohst11-Jun-07 2:37 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery11-Jun-07 6:40
Mark Salsbery11-Jun-07 6:40 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst13-Jun-07 11:12
sohst13-Jun-07 11:12 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery13-Jun-07 11:50
Mark Salsbery13-Jun-07 11:50 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst14-Jun-07 8:52
sohst14-Jun-07 8:52 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst11-Jun-07 6:37
sohst11-Jun-07 6:37 
Questionvertices and bones Pin
zqueezy6-Jun-07 13:08
zqueezy6-Jun-07 13:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.