Page 1 of 1
How to switch off antialiasing
Posted: Thu Dec 12, 2013 9:16 pm
by [-hh]
..........
Re: How to switch off antialiasing
Posted: Thu Dec 12, 2013 10:26 pm
by Klaus
Hi Herrmann,
I think that can only be done on "system" level, not from within Livecode.
Best
Klaus
Re: How to switch off antialiasing
Posted: Thu Dec 12, 2013 10:42 pm
by bn
Hi Hermann,
what exactly do you want to do?
I get the same formattedRect on either black font on white background or the other way around.
If you want to know how much of the formattedRect is not black in percent you probably would have to take a screenshot of the formattedRect and look at the imageData. For small rects it is quite fast. Did that once to see where the text really started, not what the formattedRect returns which also has empty space of the textHeight.
Depending on your needs you could also look at at the alphaData or maskData.
Kind regards
Bernd