GithubHelp home page GithubHelp logo

Painting text about graphx HOT 6 CLOSED

roipeker avatar roipeker commented on August 15, 2024 1
Painting text

from graphx.

Comments (6)

roipeker avatar roipeker commented on August 15, 2024 1

I think flutter (skia) rendering cant run outside the main thread, therefore graphx wouldn't run either.
I don't know what are you trying to do specifically... but you can join our discord or telegram channels if you wanna exchange ideas.

from graphx.

roipeker avatar roipeker commented on August 15, 2024

Thanks for the issue.
Not planning any updates currently as i didn't do a stress test with Texts.
Would you mind sharing a gist with the sample code?

Did you try creating a Texture out of it?

from graphx.

SivaramSS avatar SivaramSS commented on August 15, 2024

Sorry foe late response. I'll share the gist asap. I've tried painting in separate isolates, but getting ui actions are available only on main isolate.

!Did you try creating a Texture out of it?
I didn't get this. What do you mean by texture?

from graphx.

roipeker avatar roipeker commented on August 15, 2024

Create a dart Image (or GTexture) from a GDisplayObject and paint that (or use GBitmap) instead of the text.

from graphx.

SivaramSS avatar SivaramSS commented on August 15, 2024

Oh okay. I've tried painting as images, using multiple engines for this purpose. The only way to send images to main isolate is by uint8list. converting bytes back to ui:image takes ~150ms. So i have to show blank screen until image decoding is complete. I need to draw images within 16ms.

from graphx.

SivaramSS avatar SivaramSS commented on August 15, 2024

@roipeker Thank you very much for responding to my queries. I'm eager to join the telegram & discord channels for further discussion.

from graphx.

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.