diff options
Diffstat (limited to 'src/lib/elementary/elm_photocam.eo')
-rw-r--r-- | src/lib/elementary/elm_photocam.eo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_photocam.eo b/src/lib/elementary/elm_photocam.eo index e2197bac4d..c623de5f90 100644 --- a/src/lib/elementary/elm_photocam.eo +++ b/src/lib/elementary/elm_photocam.eo @@ -186,6 +186,18 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, @in h: int; [[Height of region in image original pixels]] } } + image_data_set { + [[Set the viewed region of the image + + This shows the region of the image without using animation. + ]] + params { + @in data: void_ptr; [[X-coordinate of region in image original pixels]] + @in w: int; [[Width of region in image original pixels]] + @in h: int; [[Height of region in image original pixels]] + } + return: bool; + } } implements { class.constructor; |