Skip to content

Commit

Permalink
fix for CairoMakie 0.5.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Jun 14, 2021
1 parent 3a651ec commit 2019f67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
authors = ["Anshul Singhvi"]
name = "MakieTeX"
uuid = "6d554a22-29e7-47bd-aee5-0c5f06619414"
version = "0.0.3"
version = "0.0.4"

[deps]
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
Expand All @@ -12,9 +12,9 @@ LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
Rsvg = "c4c386cf-5103-5370-be45-f3a111cca3b8"

[compat]
Makie = "0.13"
Makie = "0.13, 0.14"
Cairo = "1.0.4"
CairoMakie = "0.5"
CairoMakie = "0.5.5, 0.6"
Colors = "0.9, 0.10, 0.11, 0.12"
LaTeXStrings = "1.2"
Rsvg = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/recipe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function get_ink_extents(surf::CairoSurface)
dims = zeros(Float64, 4)

ccall(
(:cairo_recording_surface_ink_extents, CairoMakie.LIB_CAIRO),
(:cairo_recording_surface_ink_extents, CairoMakie.Cairo.libcairo),
Cvoid,
(Ptr{Cvoid}, Ptr{Cdouble}, Ptr{Cdouble}, Ptr{Cdouble}, Ptr{Cdouble}),
surf.ptr, Ref(dims, 1), Ref(dims, 2), Ref(dims, 3), Ref(dims, 4)
Expand Down

0 comments on commit 2019f67

Please sign in to comment.