Skip to content
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

CairoContext from pointer only, #119

Merged
merged 2 commits into from
Sep 13, 2015
Merged

CairoContext from pointer only, #119

merged 2 commits into from
Sep 13, 2015

Conversation

lobingera
Copy link
Contributor

In working with Gtk (but not limited to) it's possible to get in calls or callbacks a cairo context as single pointer. This extends to the CairoContext by getting the surface information and adding a pango layout.

timholy added a commit that referenced this pull request Sep 13, 2015
CairoContext from pointer only,
@timholy timholy merged commit 1e6d7c3 into JuliaGraphics:master Sep 13, 2015
@timholy
Copy link
Member

timholy commented Sep 13, 2015

Looks fine. I've not had this come up, however, is it possible to give a quick sketch of when you need this?

@lobingera
Copy link
Contributor Author

'when' as in: Giving a certain date? 'when' as in: Specify the need?

for the first: i'm using a local branch with this since ~feb.
for the second: i've mentioned this here: JuliaGraphics/Gtk.jl#170 (comment); using a own draw method in Gtk returns at call the widget, user specific data and the cairo context, organized by Gtk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants