How to switch off antialiasing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
How to switch off antialiasing
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:55 pm, edited 1 time in total.
shiftLock happens
Re: How to switch off antialiasing
Hi Herrmann,
I think that can only be done on "system" level, not from within Livecode.
Best
Klaus
I think that can only be done on "system" level, not from within Livecode.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 4016
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: How to switch off antialiasing
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
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