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
Location: Göttingen, DE

How to switch off antialiasing

Post by [-hh] » Thu Dec 12, 2013 9:16 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:55 pm, edited 1 time in total.
shiftLock happens

Klaus
Posts: 13865
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: How to switch off antialiasing

Post by Klaus » Thu Dec 12, 2013 10:26 pm

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: 4016
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: How to switch off antialiasing

Post by bn » Thu Dec 12, 2013 10:42 pm

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

Return to “Multimedia”