GithubHelp home page GithubHelp logo

Comments (7)

HinTak avatar HinTak commented on July 2, 2024

getBlendMode was removed upstream. There is a new getBlendMode_or(...) function, which seems to overlap somewhat in functionality. Patch welcome.

from skia-python.

HinTak avatar HinTak commented on July 2, 2024

This was removed in google/skia@64e67c3, which also provides the code for emulating it.

from skia-python.

HinTak avatar HinTak commented on July 2, 2024

BlendMode is a class itself - that should be obvious? You read the BlendMode class documentation on what it means.

from skia-python.

HinTak avatar HinTak commented on July 2, 2024

I have put the emulation in 69e25c3 . Download the new build when it finishes to give it a try if you can.

I am not going to release that as 123bX as 124 is already out, so there will be a pull for m124-public soon, and 124bX will ship with this fix.

from skia-python.

pavpanchekha avatar pavpanchekha commented on July 2, 2024

Thank you, perfect. I'll check it out later today. By BlendMode documentation, I mean that BlendMode isn't in the list of possible keyword arguments for skia.Paint.__init__, even though it in fact appears to be a valid keyword argument.

from skia-python.

HinTak avatar HinTak commented on July 2, 2024

The docstring indeed seems to never mention Blendmode despite the code clearly can accept it. How do you list the possible keyword arguments?

from skia-python.

pavpanchekha avatar pavpanchekha commented on July 2, 2024

Ok, confirming that that build worked. Thank you!

from skia-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.