What resets the antialiased/blendlevel of graphics?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

What resets the antialiased/blendlevel of graphics?

Post by Scoperzor » Mon Jul 13, 2015 7:23 am

This question may come across as vague, but what commands or properties have the potential to reset the antialiased properties of graphics in a stack? I have a number of graphics that when re-opening the stack are losing their antialiased property and blend levels and I am struggling to determine what would be triggering this.

I have commented out "set the acceleratedRendering of this stack to true" but that did not help. In preOpenStack, this code also didn't yield the expected the results:

Code: Select all

   repeat with i=1 to the number of graphics
      set the antialiased of graphic i to true
   end repeat
All the graphics retained a false antialiased property after this.
Last edited by Scoperzor on Tue Jul 14, 2015 7:16 am, edited 1 time in total.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: What resets the antialiased of graphics?

Post by dunbarx » Mon Jul 13, 2015 5:45 pm

Hi.

I never use this, and the only thing I can find in the dictionary pertains to dashed lines. I don't suppose you are using dashed lines?

Craig Newman

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: What resets the antialiased of graphics?

Post by Scoperzor » Tue Jul 14, 2015 6:18 am

dunbarx wrote:Hi.

I never use this, and the only thing I can find in the dictionary pertains to dashed lines. I don't suppose you are using dashed lines?

Craig Newman
I saw that too. None of my graphics have the dashed line property as true.

Edit: I see that it is adjusting all my custom set blend levels back to zero as well.

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: What resets the antialiased/blendlevel of graphics?

Post by Scoperzor » Fri Jul 17, 2015 8:51 am

Does no one have any insight around this?

I answered the blendLevel of a graphic as the first statement in preOpenStack and it was 0 when I had saved it as 50 and then closed the stack just before that. I tried the same on a completely fresh stack and the blendLevel didn't change. So it really makes no sense to me, it seems to be a Livecode setting/issue that is causing this?

Post Reply