Forum > BGRABitmap and LazPaint

ClearType in CanvasBGRA

<< < (2/2)

lainz:
You can try the latest BGRAControls git. Open testbgracontrols, i'm trying to use the ClearType in the 'Windows 7 ToolBar example' the main problem is the normal state is transparent.

There is a way to avoid the grayed background, and using ClearType?

The drawing code is in the procedure 'DrawTextCanvas' in 'BGRAButton' unit.

circular:
I think I found a way to compute cleartype on alpha pixels. It's on subversion.

Now ClearType just behaves like normal drawing when there are no pixels under.

lainz:
Nice  :D

circular:
I've improved font rendering in version 5.1. Here is what you get now :

Navigation

[0] Message Index

[*] Previous page

Go to full version