Forum > BGRABitmap and LazPaint

ClearType in CanvasBGRA

<< < (2/2)

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.

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.

Nice  :D

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


[0] Message Index

[*] Previous page

Go to full version