Inks 9.5.0

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
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Inks 9.5.0

Post by richmond62 » Fri Aug 30, 2019 9:43 am

Here's a stack I created in LiveCode 7.1.4 (on Linux) with jazzy optical effects using INK
that does not work in LiveCode 9.5.0.
-
INKSstack.png
-
Pretty cheesed off.

Why has LiveCode, several times, given with one hand while taking away with the other?
Attachments
INKS.livecode.zip
Here's the stack.
(42.75 KiB) Downloaded 179 times

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1232
Joined: Thu Apr 11, 2013 11:27 am

Re: Inks 9.5.0

Post by LCMark » Fri Aug 30, 2019 10:11 am

From the (6.7!) dictionary:
Bitwise - These inks have been deprecated from version 5.0
* clear
* noop
* notSrcAnd
* notSrcAndReverse
* notSrcCopy
* notSrcOr
* notSrcOrReverse
* notSrcXor
* reverse
* set
* srcAnd
* srcAndReverse
* srcCopy
* srcOr
* srcOrReverse
* srcXor

Arithmetc: - These inks have been deprecated from version 5.0
* blend
* addPin
* addOver
* subPin
* transparent
* adMin
* addMax
All these inks were deprecated a very long time ago (srcCopy is the exception as it is the same as blendSrcOver) because they have no direct equivalents anymore in the APIs we use.

We were able to continue to support them for a long time after that, but when we last updated Skia significantly (to support Emoji rendering) it was not possible to keep support for these inks.

Chances are you can probably get similar effects using the 'image processing' or 'structural' blend modes which are supported.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Inks 9.5.0

Post by richmond62 » Fri Aug 30, 2019 11:19 am

Chances are you can probably get similar effects using the 'image processing' or 'structural' blend modes which are supported.
Gotcha. :D

Post Reply