Re: Antialiasing/fading label
From: Jens Gruschel (nospam_at_thisurldoesnotexist.com)
Date: 03/18/05
- Next message: Era Soluzioni: "ANN: Database schema synchronization"
- Previous message: Jens Gruschel: "Re: Licence and software protection"
- In reply to: Karsten: "Antialiasing/fading label"
- Next in thread: Jens Gruschel: "Re: Antialiasing/fading label"
- Reply: Jens Gruschel: "Re: Antialiasing/fading label"
- Reply: Karsten: "Re: Antialiasing/fading label"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Mar 2005 14:49:50 +0100
> I'm looking for a label which supports antialiazing or another method so the
> borders of text on the label gets blended with the background.
Such a label can easily be made using Grpahics32 (http://www.g32.org),
there is a method RenderText (IIRC).
The basic idea is to draw the text larger than needed (twice or four
times as large) to a temporary bitmap and downscale it then (using
resampling).
If you don't want to use Graphics32, I have something for you. Take a
look at the attachment newsgroup (but I need some time, right now I
don't have access to the sources, I try to remember to put it there in a
few hours).
But Windows should do this automatically (the LOGFONT type has a
lfQuality member), but Windows sometimes decides not to use antialiasing
(depending on the font and font size, and also on the device the text is
rendered to).
Jens
- Next message: Era Soluzioni: "ANN: Database schema synchronization"
- Previous message: Jens Gruschel: "Re: Licence and software protection"
- In reply to: Karsten: "Antialiasing/fading label"
- Next in thread: Jens Gruschel: "Re: Antialiasing/fading label"
- Reply: Jens Gruschel: "Re: Antialiasing/fading label"
- Reply: Karsten: "Re: Antialiasing/fading label"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|