-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drawable area cairo #67
Comments
In other words, i understand that I need to create a cairo context where I need to set the target surface. |
Did you find solution ? |
Hi, I dont have time to work on this anymore. I am looking for a new
maintainer to take over
…On Sat, 12 Sep 2020 at 05:36, Michal Misiaszek ***@***.***> wrote:
In other words, i understand that I need to create a cairo context where I
need to set the target surface.
What is the surface that I need to use ?
Did you find solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAKHIYWPWLOSONS4J5GBTLSFL3F5ANCNFSM4JC2UBIA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm working on a project based on your library and example mapviewer.py.
I would like to add several layers (real-time localisation of a robot, waypoints and paths the robot can take) and I try to create a cairo drawable area that matches with the map displayed on Gtk window.
I don't know how to proceed, i see on cairo website some examples like this but how to define the surface that will be used to draw compared with map displayed ???
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
ctx = cairo.Context(surface)
Thanks a lot in advance for your help (if you can tell me lines to add to mapviewer.py)
David
The text was updated successfully, but these errors were encountered: