How to switch off antialiasing

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

How to switch off antialiasing

Post by [-hh] »

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:55 pm, edited 1 time in total.
shiftLock happens
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How to switch off antialiasing

Post by Klaus »

Hi Herrmann,

I think that can only be done on "system" level, not from within Livecode.


Best

Klaus
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: How to switch off antialiasing

Post 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
Post Reply