Closed LunaTheFoxgirl closed 5 years ago
Do you have an example of how the RectangleInt
is used in libdazzle.
It’s used in the GraphRenderer class, had to reimplement it with the low level Cairo version https://github.com/Member1221/d-dazzle/blob/master/APILookupDazzle.txt#L214
Bindings like Vala expose it as RectangleInt, so I thought it would probably be good to match that?
Though I can see my implementation of RectangleInt is quite subpar and could probably be done within the confines of gir-to-d
It looks like a bug in gir-to-d where is thinks RectangleInt is a class while it isn't.
Fixed in gir-to-d.
Okay, deleting my fork.
Some Gtk bindings (eg. libdazzle) require RectangleInt being present, this PR adds RectangleInt to cairo. Looking at gir-to-d's source it seems that it does NOT try to convert cairo and you are now using manual conversion, am I right?