Skip to content

Commit

Permalink
Merge pull request #351 from fatteneder/add-copy-page
Browse files Browse the repository at this point in the history
add missing copy_page binding
  • Loading branch information
ViralBShah authored Aug 12, 2024
2 parents 09f9ca5 + 3d3a566 commit d187a5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Cairo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export

# surface and context management
finish, destroy, status, get_source,
creategc, save, restore, show_page, width, height,
creategc, save, restore, show_page, copy_page, width, height,

# pattern
pattern_create_radial, pattern_create_linear,
Expand Down Expand Up @@ -125,7 +125,7 @@ Surfaces, the canvas you are painting on
Context, the handle to coordinate transformation, paint+Color
CairoContext, finish, destroy, status, get_source,
creategc, save, restore, show_page, width, height
creategc, save, restore, show_page, copy_page, width, height
Path creation API
Expand All @@ -142,7 +142,7 @@ Stroking and painting API
stroke_preserve, stroke_transformed, stroke_transformed_preserve
CairoContext, finish, destroy, status, get_source,
creategc, save, restore, show_page, width, height
creategc, save, restore, show_page, copy_page, width, height
"
Cairo
Expand Down Expand Up @@ -636,6 +636,7 @@ for (NAME, FUNCTION) in Any[(:_destroy, :cairo_destroy),
(:save, :cairo_save),
(:restore, :cairo_restore),
(:show_page, :cairo_show_page),
(:copy_page, :cairo_copy_page),
(:clip, :cairo_clip),
(:clip_preserve, :cairo_clip_preserve),
(:reset_clip, :cairo_reset_clip),
Expand Down

0 comments on commit d187a5d

Please sign in to comment.