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

add missing copy_page binding #351

Merged
merged 3 commits into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading