Need help with painting routines
-
@ulrik so basically you need to not draw the background, then draw each segment. grey for the selected one and black for the unselected ones.
-
@Lindon Ok, I see what you mean, however I have set it up to draw triangles and then I mask the triangels outside of the circle, I thought that should work as well..hm....
-
@ulrik can you not just draw them as very wide arcs?
-
@Lindon could you post an example?
-
@ulrik the vector knob from the documentation shows you how to draw an arc I think.
-
@Lindon Yeah, that's right, thank you, I guess I have to redo it then if that's the only way to go.
-
@ulrik dunno if there are other ways - but that's where I would start.
-
-
@Lindon There was another way, I just had to change this
g.beginLayer(true);
to
g.beginLayer(false);
and then it works as I want :)
HiseSnippet 2350.3ocwY8taaiiDWJsdQStK2sKvg8yD9CExswNxNNoIHM6l17msAWSaPS1rGPZvBFIZahJKZHQGaeEA3dttOcOD2Cx8Fr2LjRVTxxIo4thUHVQjb3veye3vgjmDI7XwwhHK6EOax.lk8erxoSBk81qGkGZcz9V1KWYOdjW.ibLKbn0qmLfFGy7srsezOgjXu3isTO+me70z.ZnGKqJKqyEbO1a484xrZOY2+JOH3PpO6LdeCpau6Qdhv8DAhg.bdTEWqATuOQ6xdGEIagJV1eyA9boH5TIUxhsre7qE9SNsmXTnl9y4w7qBXXglVmBLRW8gh.eDwXsV60iG3eRpXGaAb4jLkvizJg+Rki497o0moL9VUCjrdXpOrW31fWSS34d+gmsA7drFdeWkS8h3CjYsfX6OT4nPIKpCELAlvRSq0BO46qrm.nHT1nO8SrCifBS6gyFttqPV20s11KuzxKADFKBXM.6NMxQW2pqRHItB8AWARGQDYMhTPZ1hDG.14XBo9bdVdIvzFKIWSiR3A5MQ1gjhntL4dh9CDgPAmpYjTMcrALMsxF9TIsw0zfgLfEe9lsmswdhqYQPityqsiB8YiABp2bpvcpVH7zPZ9BigTkIObIqeLvuKpdtHXXeV0UHUOX7fHv9vEgXoOvfg8J7KkOzd6gedNKP3wkSpdoBFEfBMra.pVyiE8vlzFLhWVv7nTsCngr.xIfiq7ChgRdHqHatUAyPmEyjlrwoyvPOIHSNcqs7Red4kP9h.Z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