Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +72 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +38 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +53 -81 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +26 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +67 -83 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +62 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +117 -181 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +43 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +31 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +45 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +35 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +43 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +24 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +52 -84 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +30 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +57 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +30 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +49 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +23 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +71 -115 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +51 -77 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +22 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +80 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +97 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +20 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +14 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +85 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +50 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +41 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +143 -242 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +28 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +18 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +35 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +82 -116 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +43 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +79 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +50 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +82 -136 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +18 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +20 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +85 -141 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +1 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +44 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +80 -135 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +31 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +37 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +46 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +29 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +40 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +48 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +48 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +17 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +1 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +17 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +50 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +18 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +22 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +21 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +25 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +21 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +29 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +20 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +17 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +20 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +153 -237
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/cairo" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/gdk" | |
| @@ -29,7 +30,6 @@ type ComponentTransfer struct { | |||
| 29 | 30 | var xComponentTransferGLibType func() types.GType | |
| 30 | 31 | ||
| 31 | 32 | func ComponentTransferGLibType() types.GType { | |
| 32 | - | core.LazyRegister(&xComponentTransferGLibType, "GSK", "gsk_component_transfer_get_type", false) | |
| 33 | 33 | return xComponentTransferGLibType() | |
| 34 | 34 | } | |
| 35 | 35 | ||
| @@ -67,8 +67,6 @@ var xNewComponentTransferDiscrete func(uint, []float32) uintptr | |||
| 67 | 67 | // | |
| 68 | 68 | // </figure> | |
| 69 | 69 | func NewComponentTransferDiscrete(NVar uint, ValuesVar []float32) *ComponentTransfer { | |
| 70 | - | core.LazyRegister(&xNewComponentTransferDiscrete, "GSK", "gsk_component_transfer_new_discrete", false) | |
| 71 | - | ||
| 72 | 70 | cret := xNewComponentTransferDiscrete(NVar, ValuesVar) | |
| 73 | 71 | if cret == 0 { | |
| 74 | 72 | return nil | |
| @@ -94,8 +92,6 @@ var xNewComponentTransferGamma func(float32, float32, float32) uintptr | |||
| 94 | 92 | // | |
| 95 | 93 | // </figure> | |
| 96 | 94 | func NewComponentTransferGamma(AmpVar float32, ExpVar float32, OfsVar float32) *ComponentTransfer { | |
| 97 | - | core.LazyRegister(&xNewComponentTransferGamma, "GSK", "gsk_component_transfer_new_gamma", false) | |
| 98 | - | ||
| 99 | 95 | cret := xNewComponentTransferGamma(AmpVar, ExpVar, OfsVar) | |
| 100 | 96 | if cret == 0 { | |
| 101 | 97 | return nil | |
| @@ -117,8 +113,6 @@ var xNewComponentTransferIdentity func() uintptr | |||
| 117 | 113 | // | |
| 118 | 114 | // </figure> | |
| 119 | 115 | func NewComponentTransferIdentity() *ComponentTransfer { | |
| 120 | - | core.LazyRegister(&xNewComponentTransferIdentity, "GSK", "gsk_component_transfer_new_identity", false) | |
| 121 | - | ||
| 122 | 116 | cret := xNewComponentTransferIdentity() | |
| 123 | 117 | if cret == 0 { | |
| 124 | 118 | return nil | |
| @@ -144,8 +138,6 @@ var xNewComponentTransferLevels func(float32) uintptr | |||
| 144 | 138 | // | |
| 145 | 139 | // </figure> | |
| 146 | 140 | func NewComponentTransferLevels(NVar float32) *ComponentTransfer { | |
| 147 | - | core.LazyRegister(&xNewComponentTransferLevels, "GSK", "gsk_component_transfer_new_levels", false) | |
| 148 | - | ||
| 149 | 141 | cret := xNewComponentTransferLevels(NVar) | |
| 150 | 142 | if cret == 0 { | |
| 151 | 143 | return nil | |
| @@ -171,8 +163,6 @@ var xNewComponentTransferLinear func(float32, float32) uintptr | |||
| 171 | 163 | // | |
| 172 | 164 | // </figure> | |
| 173 | 165 | func NewComponentTransferLinear(MVar float32, BVar float32) *ComponentTransfer { | |
| 174 | - | core.LazyRegister(&xNewComponentTransferLinear, "GSK", "gsk_component_transfer_new_linear", false) | |
| 175 | - | ||
| 176 | 166 | cret := xNewComponentTransferLinear(MVar, BVar) | |
| 177 | 167 | if cret == 0 { | |
| 178 | 168 | return nil | |
| @@ -202,8 +192,6 @@ var xNewComponentTransferTable func(uint, []float32) uintptr | |||
| 202 | 192 | // | |
| 203 | 193 | // </figure> | |
| 204 | 194 | func NewComponentTransferTable(NVar uint, ValuesVar []float32) *ComponentTransfer { | |
| 205 | - | core.LazyRegister(&xNewComponentTransferTable, "GSK", "gsk_component_transfer_new_table", false) | |
| 206 | - | ||
| 207 | 195 | cret := xNewComponentTransferTable(NVar, ValuesVar) | |
| 208 | 196 | if cret == 0 { | |
| 209 | 197 | return nil | |
| @@ -215,8 +203,6 @@ var xComponentTransferCopy func(uintptr) uintptr | |||
| 215 | 203 | ||
| 216 | 204 | // Creates a copy of @other. | |
| 217 | 205 | func (x *ComponentTransfer) Copy() *ComponentTransfer { | |
| 218 | - | core.LazyRegister(&xComponentTransferCopy, "GSK", "gsk_component_transfer_copy", false) | |
| 219 | - | ||
| 220 | 206 | cret := xComponentTransferCopy(x.GoPointer()) | |
| 221 | 207 | if cret == 0 { | |
| 222 | 208 | return nil | |
| @@ -228,8 +214,6 @@ var xComponentTransferFree func(uintptr) | |||
| 228 | 214 | ||
| 229 | 215 | // Frees a component transfer. | |
| 230 | 216 | func (x *ComponentTransfer) Free() { | |
| 231 | - | core.LazyRegister(&xComponentTransferFree, "GSK", "gsk_component_transfer_free", false) | |
| 232 | - | ||
| 233 | 217 | xComponentTransferFree(x.GoPointer()) | |
| 234 | 218 | } | |
| 235 | 219 | ||
| @@ -260,7 +244,6 @@ type Path struct { | |||
| 260 | 244 | var xPathGLibType func() types.GType | |
| 261 | 245 | ||
| 262 | 246 | func PathGLibType() types.GType { | |
| 263 | - | core.LazyRegister(&xPathGLibType, "GSK", "gsk_path_get_type", false) | |
| 264 | 247 | return xPathGLibType() | |
| 265 | 248 | } | |
| 266 | 249 | ||
| @@ -283,8 +266,6 @@ var xPathEqual func(uintptr, *Path) bool | |||
| 283 | 266 | // Note that it is possible to construct paths that render | |
| 284 | 267 | // identical even though they don't have the same structure. | |
| 285 | 268 | func (x *Path) Equal(Path2Var *Path) bool { | |
| 286 | - | core.LazyRegister(&xPathEqual, "GSK", "gsk_path_equal", false) | |
| 287 | - | ||
| 288 | 269 | cret := xPathEqual(x.GoPointer(), Path2Var) | |
| 289 | 270 | return cret | |
| 290 | 271 | } | |
| @@ -305,8 +286,6 @@ var xPathForeach func(uintptr, PathForeachFlags, uintptr, uintptr) bool | |||
| 305 | 286 | // - When the @flags disallow certain operations, it provides | |
| 306 | 287 | // an approximation of the path using just the allowed operations. | |
| 307 | 288 | func (x *Path) Foreach(FlagsVar PathForeachFlags, FuncVar *PathForeachFunc, UserDataVar uintptr) bool { | |
| 308 | - | core.LazyRegister(&xPathForeach, "GSK", "gsk_path_foreach", false) | |
| 309 | - | ||
| 310 | 289 | cret := xPathForeach(x.GoPointer(), FlagsVar, glib.NewCallback(FuncVar), UserDataVar) | |
| 311 | 290 | return cret | |
| 312 | 291 | } | |
| @@ -329,8 +308,6 @@ var xPathForeachIntersection func(uintptr, *Path, uintptr, uintptr) bool | |||
| 329 | 308 | // | |
| 330 | 309 | // If @func returns `FALSE`, the iteration is stopped. | |
| 331 | 310 | func (x *Path) ForeachIntersection(Path2Var *Path, FuncVar *PathIntersectionFunc, UserDataVar uintptr) bool { | |
| 332 | - | core.LazyRegister(&xPathForeachIntersection, "GSK", "gsk_path_foreach_intersection", false) | |
| 333 | - | ||
| 334 | 311 | cret := xPathForeachIntersection(x.GoPointer(), Path2Var, glib.NewCallback(FuncVar), UserDataVar) | |
| 335 | 312 | return cret | |
| 336 | 313 | } | |
| @@ -353,8 +330,6 @@ var xPathGetBounds func(uintptr, *graphene.Rect) bool | |||
| 353 | 330 | // is a single point at the origin, where the @bounds will also be set to | |
| 354 | 331 | // the zero rectangle but true will be returned. | |
| 355 | 332 | func (x *Path) GetBounds(BoundsVar *graphene.Rect) bool { | |
| 356 | - | core.LazyRegister(&xPathGetBounds, "GSK", "gsk_path_get_bounds", false) | |
| 357 | - | ||
| 358 | 333 | cret := xPathGetBounds(x.GoPointer(), BoundsVar) | |
| 359 | 334 | return cret | |
| 360 | 335 | } | |
| @@ -366,8 +341,6 @@ var xPathGetClosestPoint func(uintptr, *graphene.Point, float32, *PathPoint, *fl | |||
| 366 | 341 | // If there is no point closer than the given threshold, | |
| 367 | 342 | // false is returned. | |
| 368 | 343 | func (x *Path) GetClosestPoint(PointVar *graphene.Point, ThresholdVar float32, ResultVar *PathPoint, DistanceVar *float32) bool { | |
| 369 | - | core.LazyRegister(&xPathGetClosestPoint, "GSK", "gsk_path_get_closest_point", false) | |
| 370 | - | ||
| 371 | 344 | cret := xPathGetClosestPoint(x.GoPointer(), PointVar, ThresholdVar, ResultVar, DistanceVar) | |
| 372 | 345 | return cret | |
| 373 | 346 | } | |
| @@ -379,8 +352,6 @@ var xPathGetEndPoint func(uintptr, *PathPoint) bool | |||
| 379 | 352 | // An empty path has no points, so false | |
| 380 | 353 | // is returned in this case. | |
| 381 | 354 | func (x *Path) GetEndPoint(ResultVar *PathPoint) bool { | |
| 382 | - | core.LazyRegister(&xPathGetEndPoint, "GSK", "gsk_path_get_end_point", false) | |
| 383 | - | ||
| 384 | 355 | cret := xPathGetEndPoint(x.GoPointer(), ResultVar) | |
| 385 | 356 | return cret | |
| 386 | 357 | } | |
| @@ -392,8 +363,6 @@ var xPathGetNext func(uintptr, *PathPoint) bool | |||
| 392 | 363 | // An empty path has no points, so false | |
| 393 | 364 | // is returned in this case. | |
| 394 | 365 | func (x *Path) GetNext(PointVar *PathPoint) bool { | |
| 395 | - | core.LazyRegister(&xPathGetNext, "GSK", "gsk_path_get_next", false) | |
| 396 | - | ||
| 397 | 366 | cret := xPathGetNext(x.GoPointer(), PointVar) | |
| 398 | 367 | return cret | |
| 399 | 368 | } | |
| @@ -405,8 +374,6 @@ var xPathGetPrevious func(uintptr, *PathPoint) bool | |||
| 405 | 374 | // An empty path has no points, so false | |
| 406 | 375 | // is returned in this case. | |
| 407 | 376 | func (x *Path) GetPrevious(PointVar *PathPoint) bool { | |
| 408 | - | core.LazyRegister(&xPathGetPrevious, "GSK", "gsk_path_get_previous", false) | |
| 409 | - | ||
| 410 | 377 | cret := xPathGetPrevious(x.GoPointer(), PointVar) | |
| 411 | 378 | return cret | |
| 412 | 379 | } | |
| @@ -418,8 +385,6 @@ var xPathGetStartPoint func(uintptr, *PathPoint) bool | |||
| 418 | 385 | // An empty path has no points, so false | |
| 419 | 386 | // is returned in this case. | |
| 420 | 387 | func (x *Path) GetStartPoint(ResultVar *PathPoint) bool { | |
| 421 | - | core.LazyRegister(&xPathGetStartPoint, "GSK", "gsk_path_get_start_point", false) | |
| 422 | - | ||
| 423 | 388 | cret := xPathGetStartPoint(x.GoPointer(), ResultVar) | |
| 424 | 389 | return cret | |
| 425 | 390 | } | |
| @@ -434,8 +399,6 @@ var xPathGetStrokeBounds func(uintptr, *Stroke, *graphene.Rect) bool | |||
| 434 | 399 | // to contain the area affected by the stroke, including protrusions | |
| 435 | 400 | // like miters. | |
| 436 | 401 | func (x *Path) GetStrokeBounds(StrokeVar *Stroke, BoundsVar *graphene.Rect) bool { | |
| 437 | - | core.LazyRegister(&xPathGetStrokeBounds, "GSK", "gsk_path_get_stroke_bounds", false) | |
| 438 | - | ||
| 439 | 402 | cret := xPathGetStrokeBounds(x.GoPointer(), StrokeVar, BoundsVar) | |
| 440 | 403 | return cret | |
| 441 | 404 | } | |
| @@ -447,8 +410,6 @@ var xPathGetTightBounds func(uintptr, *graphene.Rect) bool | |||
| 447 | 410 | // This function works harder than [method@Gsk.Path.get_bounds] to | |
| 448 | 411 | // produce the smallest possible bounds. | |
| 449 | 412 | func (x *Path) GetTightBounds(BoundsVar *graphene.Rect) bool { | |
| 450 | - | core.LazyRegister(&xPathGetTightBounds, "GSK", "gsk_path_get_tight_bounds", false) | |
| 451 | - | ||
| 452 | 413 | cret := xPathGetTightBounds(x.GoPointer(), BoundsVar) | |
| 453 | 414 | return cret | |
| 454 | 415 | } | |
| @@ -460,8 +421,6 @@ var xPathInFill func(uintptr, *graphene.Point, FillRule) bool | |||
| 460 | 421 | // Note that this function assumes that filling a contour | |
| 461 | 422 | // implicitly closes it. | |
| 462 | 423 | func (x *Path) InFill(PointVar *graphene.Point, FillRuleVar FillRule) bool { | |
| 463 | - | core.LazyRegister(&xPathInFill, "GSK", "gsk_path_in_fill", false) | |
| 464 | - | ||
| 465 | 424 | cret := xPathInFill(x.GoPointer(), PointVar, FillRuleVar) | |
| 466 | 425 | return cret | |
| 467 | 426 | } | |
| @@ -470,8 +429,6 @@ var xPathIsClosed func(uintptr) bool | |||
| 470 | 429 | ||
| 471 | 430 | // Returns if the path represents a single closed contour. | |
| 472 | 431 | func (x *Path) IsClosed() bool { | |
| 473 | - | core.LazyRegister(&xPathIsClosed, "GSK", "gsk_path_is_closed", false) | |
| 474 | - | ||
| 475 | 432 | cret := xPathIsClosed(x.GoPointer()) | |
| 476 | 433 | return cret | |
| 477 | 434 | } | |
| @@ -480,8 +437,6 @@ var xPathIsEmpty func(uintptr) bool | |||
| 480 | 437 | ||
| 481 | 438 | // Checks if the path is empty, i.e. contains no lines or curves. | |
| 482 | 439 | func (x *Path) IsEmpty() bool { | |
| 483 | - | core.LazyRegister(&xPathIsEmpty, "GSK", "gsk_path_is_empty", false) | |
| 484 | - | ||
| 485 | 440 | cret := xPathIsEmpty(x.GoPointer()) | |
| 486 | 441 | return cret | |
| 487 | 442 | } | |
| @@ -494,8 +449,6 @@ var xPathPrint func(uintptr, *glib.String) | |||
| 494 | 449 | // [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | |
| 495 | 450 | // see [func@Gsk.Path.parse] for a summary of the syntax. | |
| 496 | 451 | func (x *Path) Print(StringVar *glib.String) { | |
| 497 | - | core.LazyRegister(&xPathPrint, "GSK", "gsk_path_print", false) | |
| 498 | - | ||
| 499 | 452 | xPathPrint(x.GoPointer(), StringVar) | |
| 500 | 453 | } | |
| 501 | 454 | ||
| @@ -503,8 +456,6 @@ var xPathRef func(uintptr) uintptr | |||
| 503 | 456 | ||
| 504 | 457 | // Increases the reference count of a path by one. | |
| 505 | 458 | func (x *Path) Ref() *Path { | |
| 506 | - | core.LazyRegister(&xPathRef, "GSK", "gsk_path_ref", false) | |
| 507 | - | ||
| 508 | 459 | cret := xPathRef(x.GoPointer()) | |
| 509 | 460 | if cret == 0 { | |
| 510 | 461 | return nil | |
| @@ -522,8 +473,6 @@ var xPathToCairo func(uintptr, *cairo.Context) | |||
| 522 | 473 | // This function does not clear the existing Cairo path. Call | |
| 523 | 474 | // cairo_new_path() if you want this. | |
| 524 | 475 | func (x *Path) ToCairo(CrVar *cairo.Context) { | |
| 525 | - | core.LazyRegister(&xPathToCairo, "GSK", "gsk_path_to_cairo", false) | |
| 526 | - | ||
| 527 | 476 | xPathToCairo(x.GoPointer(), CrVar) | |
| 528 | 477 | } | |
| 529 | 478 | ||
| @@ -537,8 +486,6 @@ var xPathToString func(uintptr) string | |||
| 537 | 486 | // This is a wrapper around [method@Gsk.Path.print], see that function | |
| 538 | 487 | // for details. | |
| 539 | 488 | func (x *Path) ToString() string { | |
| 540 | - | core.LazyRegister(&xPathToString, "GSK", "gsk_path_to_string", false) | |
| 541 | - | ||
| 542 | 489 | cret := xPathToString(x.GoPointer()) | |
| 543 | 490 | return cret | |
| 544 | 491 | } | |
| @@ -549,8 +496,6 @@ var xPathUnref func(uintptr) | |||
| 549 | 496 | // | |
| 550 | 497 | // If the resulting reference count is zero, frees the path. | |
| 551 | 498 | func (x *Path) Unref() { | |
| 552 | - | core.LazyRegister(&xPathUnref, "GSK", "gsk_path_unref", false) | |
| 553 | - | ||
| 554 | 499 | xPathUnref(x.GoPointer()) | |
| 555 | 500 | } | |
| 556 | 501 | ||
| @@ -601,7 +546,6 @@ type PathBuilder struct { | |||
| 601 | 546 | var xPathBuilderGLibType func() types.GType | |
| 602 | 547 | ||
| 603 | 548 | func PathBuilderGLibType() types.GType { | |
| 604 | - | core.LazyRegister(&xPathBuilderGLibType, "GSK", "gsk_path_builder_get_type", false) | |
| 605 | 549 | return xPathBuilderGLibType() | |
| 606 | 550 | } | |
| 607 | 551 | ||
| @@ -624,8 +568,6 @@ var xNewPathBuilder func() uintptr | |||
| 624 | 568 | // The resulting builder would create an empty `GskPath`. | |
| 625 | 569 | // Use addition functions to add types to it. | |
| 626 | 570 | func NewPathBuilder() *PathBuilder { | |
| 627 | - | core.LazyRegister(&xNewPathBuilder, "GSK", "gsk_path_builder_new", false) | |
| 628 | - | ||
| 629 | 571 | cret := xNewPathBuilder() | |
| 630 | 572 | if cret == 0 { | |
| 631 | 573 | return nil | |
| @@ -640,8 +582,6 @@ var xPathBuilderAddCairoPath func(uintptr, *cairo.Path) | |||
| 640 | 582 | // You can use cairo_copy_path() to access the path | |
| 641 | 583 | // from a Cairo context. | |
| 642 | 584 | func (x *PathBuilder) AddCairoPath(PathVar *cairo.Path) { | |
| 643 | - | core.LazyRegister(&xPathBuilderAddCairoPath, "GSK", "gsk_path_builder_add_cairo_path", false) | |
| 644 | - | ||
| 645 | 585 | xPathBuilderAddCairoPath(x.GoPointer(), PathVar) | |
| 646 | 586 | } | |
| 647 | 587 | ||
| @@ -653,8 +593,6 @@ var xPathBuilderAddCircle func(uintptr, *graphene.Point, float32) | |||
| 653 | 593 | // | |
| 654 | 594 | // If @radius is zero, the contour will be a closed point. | |
| 655 | 595 | func (x *PathBuilder) AddCircle(CenterVar *graphene.Point, RadiusVar float32) { | |
| 656 | - | core.LazyRegister(&xPathBuilderAddCircle, "GSK", "gsk_path_builder_add_circle", false) | |
| 657 | - | ||
| 658 | 596 | xPathBuilderAddCircle(x.GoPointer(), CenterVar, RadiusVar) | |
| 659 | 597 | } | |
| 660 | 598 | ||
| @@ -662,8 +600,6 @@ var xPathBuilderAddLayout func(uintptr, uintptr) | |||
| 662 | 600 | ||
| 663 | 601 | // Adds the outlines for the glyphs in @layout to the builder. | |
| 664 | 602 | func (x *PathBuilder) AddLayout(LayoutVar *pango.Layout) { | |
| 665 | - | core.LazyRegister(&xPathBuilderAddLayout, "GSK", "gsk_path_builder_add_layout", false) | |
| 666 | - | ||
| 667 | 603 | xPathBuilderAddLayout(x.GoPointer(), LayoutVar.GoPointer()) | |
| 668 | 604 | } | |
| 669 | 605 | ||
| @@ -671,8 +607,6 @@ var xPathBuilderAddPath func(uintptr, *Path) | |||
| 671 | 607 | ||
| 672 | 608 | // Appends all of @path to the builder. | |
| 673 | 609 | func (x *PathBuilder) AddPath(PathVar *Path) { | |
| 674 | - | core.LazyRegister(&xPathBuilderAddPath, "GSK", "gsk_path_builder_add_path", false) | |
| 675 | - | ||
| 676 | 610 | xPathBuilderAddPath(x.GoPointer(), PathVar) | |
| 677 | 611 | } | |
| 678 | 612 | ||
| @@ -685,8 +619,6 @@ var xPathBuilderAddRect func(uintptr, *graphene.Rect) | |||
| 685 | 619 | // If the the width or height are 0, the path will be a closed | |
| 686 | 620 | // horizontal or vertical line. If both are 0, it'll be a closed dot. | |
| 687 | 621 | func (x *PathBuilder) AddRect(RectVar *graphene.Rect) { | |
| 688 | - | core.LazyRegister(&xPathBuilderAddRect, "GSK", "gsk_path_builder_add_rect", false) | |
| 689 | - | ||
| 690 | 622 | xPathBuilderAddRect(x.GoPointer(), RectVar) | |
| 691 | 623 | } | |
| 692 | 624 | ||
| @@ -694,8 +626,6 @@ var xPathBuilderAddReversePath func(uintptr, *Path) | |||
| 694 | 626 | ||
| 695 | 627 | // Appends all of @path to the builder, in reverse order. | |
| 696 | 628 | func (x *PathBuilder) AddReversePath(PathVar *Path) { | |
| 697 | - | core.LazyRegister(&xPathBuilderAddReversePath, "GSK", "gsk_path_builder_add_reverse_path", false) | |
| 698 | - | ||
| 699 | 629 | xPathBuilderAddReversePath(x.GoPointer(), PathVar) | |
| 700 | 630 | } | |
| 701 | 631 | ||
| @@ -705,8 +635,6 @@ var xPathBuilderAddRoundedRect func(uintptr, *RoundedRect) | |||
| 705 | 635 | // | |
| 706 | 636 | // The path is going around the rectangle in clockwise direction. | |
| 707 | 637 | func (x *PathBuilder) AddRoundedRect(RectVar *RoundedRect) { | |
| 708 | - | core.LazyRegister(&xPathBuilderAddRoundedRect, "GSK", "gsk_path_builder_add_rounded_rect", false) | |
| 709 | - | ||
| 710 | 638 | xPathBuilderAddRoundedRect(x.GoPointer(), RectVar) | |
| 711 | 639 | } | |
| 712 | 640 | ||
| @@ -722,8 +650,6 @@ var xPathBuilderAddSegment func(uintptr, *Path, *PathPoint, *PathPoint) | |||
| 722 | 650 | // Note that this method always adds a path with the given start point | |
| 723 | 651 | // and end point. To add a closed path, use [method@Gsk.PathBuilder.add_path]. | |
| 724 | 652 | func (x *PathBuilder) AddSegment(PathVar *Path, StartVar *PathPoint, EndVar *PathPoint) { | |
| 725 | - | core.LazyRegister(&xPathBuilderAddSegment, "GSK", "gsk_path_builder_add_segment", false) | |
| 726 | - | ||
| 727 | 653 | xPathBuilderAddSegment(x.GoPointer(), PathVar, StartVar, EndVar) | |
| 728 | 654 | } | |
| 729 | 655 | ||
| @@ -746,8 +672,6 @@ var xPathBuilderArcTo func(uintptr, float32, float32, float32, float32) | |||
| 746 | 672 | // | |
| 747 | 673 | // </picture> | |
| 748 | 674 | func (x *PathBuilder) ArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | |
| 749 | - | core.LazyRegister(&xPathBuilderArcTo, "GSK", "gsk_path_builder_arc_to", false) | |
| 750 | - | ||
| 751 | 675 | xPathBuilderArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | |
| 752 | 676 | } | |
| 753 | 677 | ||
| @@ -761,8 +685,6 @@ var xPathBuilderClose func(uintptr) | |||
| 761 | 685 | // start and end point are considered connected, so they will be | |
| 762 | 686 | // joined via the line join, and not ended with line caps. | |
| 763 | 687 | func (x *PathBuilder) Close() { | |
| 764 | - | core.LazyRegister(&xPathBuilderClose, "GSK", "gsk_path_builder_close", false) | |
| 765 | - | ||
| 766 | 688 | xPathBuilderClose(x.GoPointer()) | |
| 767 | 689 | } | |
| 768 | 690 | ||
| @@ -787,8 +709,6 @@ var xPathBuilderConicTo func(uintptr, float32, float32, float32, float32, float3 | |||
| 787 | 709 | // | |
| 788 | 710 | // </picture> | |
| 789 | 711 | func (x *PathBuilder) ConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | |
| 790 | - | core.LazyRegister(&xPathBuilderConicTo, "GSK", "gsk_path_builder_conic_to", false) | |
| 791 | - | ||
| 792 | 712 | xPathBuilderConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | |
| 793 | 713 | } | |
| 794 | 714 | ||
| @@ -807,8 +727,6 @@ var xPathBuilderCubicTo func(uintptr, float32, float32, float32, float32, float3 | |||
| 807 | 727 | // | |
| 808 | 728 | // </picture> | |
| 809 | 729 | func (x *PathBuilder) CubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | |
| 810 | - | core.LazyRegister(&xPathBuilderCubicTo, "GSK", "gsk_path_builder_cubic_to", false) | |
| 811 | - | ||
| 812 | 730 | xPathBuilderCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | |
| 813 | 731 | } | |
| 814 | 732 | ||
| @@ -817,8 +735,6 @@ var xPathBuilderFreeToPath func(uintptr) uintptr | |||
| 817 | 735 | // Creates a new path from the current state of the | |
| 818 | 736 | // builder, and unrefs the builder. | |
| 819 | 737 | func (x *PathBuilder) FreeToPath() *Path { | |
| 820 | - | core.LazyRegister(&xPathBuilderFreeToPath, "GSK", "gsk_path_builder_free_to_path", false) | |
| 821 | - | ||
| 822 | 738 | cret := xPathBuilderFreeToPath(x.GoPointer()) | |
| 823 | 739 | if cret == 0 { | |
| 824 | 740 | return nil | |
| @@ -837,8 +753,6 @@ var xPathBuilderGetCurrentPoint func(uintptr) uintptr | |||
| 837 | 753 | // to `0, 0`. Note that this is different from cairo, which starts | |
| 838 | 754 | // out without a current point. | |
| 839 | 755 | func (x *PathBuilder) GetCurrentPoint() *graphene.Point { | |
| 840 | - | core.LazyRegister(&xPathBuilderGetCurrentPoint, "GSK", "gsk_path_builder_get_current_point", false) | |
| 841 | - | ||
| 842 | 756 | cret := xPathBuilderGetCurrentPoint(x.GoPointer()) | |
| 843 | 757 | if cret == 0 { | |
| 844 | 758 | return nil | |
| @@ -858,8 +772,6 @@ var xPathBuilderHtmlArcTo func(uintptr, float32, float32, float32, float32, floa | |||
| 858 | 772 | // the circle with the given radius touches the line from | |
| 859 | 773 | // @x1, @y1 to @x2, @y2. | |
| 860 | 774 | func (x *PathBuilder) HtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | |
| 861 | - | core.LazyRegister(&xPathBuilderHtmlArcTo, "GSK", "gsk_path_builder_html_arc_to", false) | |
| 862 | - | ||
| 863 | 775 | xPathBuilderHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | |
| 864 | 776 | } | |
| 865 | 777 | ||
| @@ -875,8 +787,6 @@ var xPathBuilderLineTo func(uintptr, float32, float32) | |||
| 875 | 787 | // | |
| 876 | 788 | // </picture> | |
| 877 | 789 | func (x *PathBuilder) LineTo(XVar float32, YVar float32) { | |
| 878 | - | core.LazyRegister(&xPathBuilderLineTo, "GSK", "gsk_path_builder_line_to", false) | |
| 879 | - | ||
| 880 | 790 | xPathBuilderLineTo(x.GoPointer(), XVar, YVar) | |
| 881 | 791 | } | |
| 882 | 792 | ||
| @@ -888,8 +798,6 @@ var xPathBuilderMoveTo func(uintptr, float32, float32) | |||
| 888 | 798 | // call will result in a contour made up of a single point. | |
| 889 | 799 | // The second call will start a new contour. | |
| 890 | 800 | func (x *PathBuilder) MoveTo(XVar float32, YVar float32) { | |
| 891 | - | core.LazyRegister(&xPathBuilderMoveTo, "GSK", "gsk_path_builder_move_to", false) | |
| 892 | - | ||
| 893 | 801 | xPathBuilderMoveTo(x.GoPointer(), XVar, YVar) | |
| 894 | 802 | } | |
| 895 | 803 | ||
| @@ -907,8 +815,6 @@ var xPathBuilderQuadTo func(uintptr, float32, float32, float32, float32) | |||
| 907 | 815 | // | |
| 908 | 816 | // </picture> | |
| 909 | 817 | func (x *PathBuilder) QuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | |
| 910 | - | core.LazyRegister(&xPathBuilderQuadTo, "GSK", "gsk_path_builder_quad_to", false) | |
| 911 | - | ||
| 912 | 818 | xPathBuilderQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | |
| 913 | 819 | } | |
| 914 | 820 | ||
| @@ -919,8 +825,6 @@ var xPathBuilderRef func(uintptr) uintptr | |||
| 919 | 825 | // This function is intended primarily for language bindings. | |
| 920 | 826 | // `GskPathBuilder` objects should not be kept around. | |
| 921 | 827 | func (x *PathBuilder) Ref() *PathBuilder { | |
| 922 | - | core.LazyRegister(&xPathBuilderRef, "GSK", "gsk_path_builder_ref", false) | |
| 923 | - | ||
| 924 | 828 | cret := xPathBuilderRef(x.GoPointer()) | |
| 925 | 829 | if cret == 0 { | |
| 926 | 830 | return nil | |
| @@ -937,8 +841,6 @@ var xPathBuilderRelArcTo func(uintptr, float32, float32, float32, float32) | |||
| 937 | 841 | // | |
| 938 | 842 | // This is the relative version of [method@Gsk.PathBuilder.arc_to]. | |
| 939 | 843 | func (x *PathBuilder) RelArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | |
| 940 | - | core.LazyRegister(&xPathBuilderRelArcTo, "GSK", "gsk_path_builder_rel_arc_to", false) | |
| 941 | - | ||
| 942 | 844 | xPathBuilderRelArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | |
| 943 | 845 | } | |
| 944 | 846 | ||
| @@ -952,8 +854,6 @@ var xPathBuilderRelConicTo func(uintptr, float32, float32, float32, float32, flo | |||
| 952 | 854 | // | |
| 953 | 855 | // This is the relative version of [method@Gsk.PathBuilder.conic_to]. | |
| 954 | 856 | func (x *PathBuilder) RelConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | |
| 955 | - | core.LazyRegister(&xPathBuilderRelConicTo, "GSK", "gsk_path_builder_rel_conic_to", false) | |
| 956 | - | ||
| 957 | 857 | xPathBuilderRelConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | |
| 958 | 858 | } | |
| 959 | 859 | ||
| @@ -967,8 +867,6 @@ var xPathBuilderRelCubicTo func(uintptr, float32, float32, float32, float32, flo | |||
| 967 | 867 | // | |
| 968 | 868 | // This is the relative version of [method@Gsk.PathBuilder.cubic_to]. | |
| 969 | 869 | func (x *PathBuilder) RelCubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | |
| 970 | - | core.LazyRegister(&xPathBuilderRelCubicTo, "GSK", "gsk_path_builder_rel_cubic_to", false) | |
| 971 | - | ||
| 972 | 870 | xPathBuilderRelCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | |
| 973 | 871 | } | |
| 974 | 872 | ||
| @@ -980,8 +878,6 @@ var xPathBuilderRelHtmlArcTo func(uintptr, float32, float32, float32, float32, f | |||
| 980 | 878 | // | |
| 981 | 879 | // This is the relative version of [method@Gsk.PathBuilder.html_arc_to]. | |
| 982 | 880 | func (x *PathBuilder) RelHtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | |
| 983 | - | core.LazyRegister(&xPathBuilderRelHtmlArcTo, "GSK", "gsk_path_builder_rel_html_arc_to", false) | |
| 984 | - | ||
| 985 | 881 | xPathBuilderRelHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | |
| 986 | 882 | } | |
| 987 | 883 | ||
| @@ -992,8 +888,6 @@ var xPathBuilderRelLineTo func(uintptr, float32, float32) | |||
| 992 | 888 | // | |
| 993 | 889 | // This is the relative version of [method@Gsk.PathBuilder.line_to]. | |
| 994 | 890 | func (x *PathBuilder) RelLineTo(XVar float32, YVar float32) { | |
| 995 | - | core.LazyRegister(&xPathBuilderRelLineTo, "GSK", "gsk_path_builder_rel_line_to", false) | |
| 996 | - | ||
| 997 | 891 | xPathBuilderRelLineTo(x.GoPointer(), XVar, YVar) | |
| 998 | 892 | } | |
| 999 | 893 | ||
| @@ -1004,8 +898,6 @@ var xPathBuilderRelMoveTo func(uintptr, float32, float32) | |||
| 1004 | 898 | // | |
| 1005 | 899 | // This is the relative version of [method@Gsk.PathBuilder.move_to]. | |
| 1006 | 900 | func (x *PathBuilder) RelMoveTo(XVar float32, YVar float32) { | |
| 1007 | - | core.LazyRegister(&xPathBuilderRelMoveTo, "GSK", "gsk_path_builder_rel_move_to", false) | |
| 1008 | - | ||
| 1009 | 901 | xPathBuilderRelMoveTo(x.GoPointer(), XVar, YVar) | |
| 1010 | 902 | } | |
| 1011 | 903 | ||
| @@ -1018,8 +910,6 @@ var xPathBuilderRelQuadTo func(uintptr, float32, float32, float32, float32) | |||
| 1018 | 910 | // | |
| 1019 | 911 | // This is the relative version of [method@Gsk.PathBuilder.quad_to]. | |
| 1020 | 912 | func (x *PathBuilder) RelQuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | |
| 1021 | - | core.LazyRegister(&xPathBuilderRelQuadTo, "GSK", "gsk_path_builder_rel_quad_to", false) | |
| 1022 | - | ||
| 1023 | 913 | xPathBuilderRelQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | |
| 1024 | 914 | } | |
| 1025 | 915 | ||
| @@ -1031,8 +921,6 @@ var xPathBuilderRelSvgArcTo func(uintptr, float32, float32, float32, bool, bool, | |||
| 1031 | 921 | // | |
| 1032 | 922 | // This is the relative version of [method@Gsk.PathBuilder.svg_arc_to]. | |
| 1033 | 923 | func (x *PathBuilder) RelSvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | |
| 1034 | - | core.LazyRegister(&xPathBuilderRelSvgArcTo, "GSK", "gsk_path_builder_rel_svg_arc_to", false) | |
| 1035 | - | ||
| 1036 | 924 | xPathBuilderRelSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | |
| 1037 | 925 | } | |
| 1038 | 926 | ||
| @@ -1046,8 +934,6 @@ var xPathBuilderSvgArcTo func(uintptr, float32, float32, float32, bool, bool, fl | |||
| 1046 | 934 | // | |
| 1047 | 935 | // After this, @x, @y will be the new current point. | |
| 1048 | 936 | func (x *PathBuilder) SvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | |
| 1049 | - | core.LazyRegister(&xPathBuilderSvgArcTo, "GSK", "gsk_path_builder_svg_arc_to", false) | |
| 1050 | - | ||
| 1051 | 937 | xPathBuilderSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | |
| 1052 | 938 | } | |
| 1053 | 939 | ||
| @@ -1063,8 +949,6 @@ var xPathBuilderToPath func(uintptr) uintptr | |||
| 1063 | 949 | // This function is intended primarily for language bindings. | |
| 1064 | 950 | // C code should use [method@Gsk.PathBuilder.free_to_path]. | |
| 1065 | 951 | func (x *PathBuilder) ToPath() *Path { | |
| 1066 | - | core.LazyRegister(&xPathBuilderToPath, "GSK", "gsk_path_builder_to_path", false) | |
| 1067 | - | ||
| 1068 | 952 | cret := xPathBuilderToPath(x.GoPointer()) | |
| 1069 | 953 | if cret == 0 { | |
| 1070 | 954 | return nil | |
| @@ -1076,8 +960,6 @@ var xPathBuilderUnref func(uintptr) | |||
| 1076 | 960 | ||
| 1077 | 961 | // Releases a reference on the given builder. | |
| 1078 | 962 | func (x *PathBuilder) Unref() { | |
| 1079 | - | core.LazyRegister(&xPathBuilderUnref, "GSK", "gsk_path_builder_unref", false) | |
| 1080 | - | ||
| 1081 | 963 | xPathBuilderUnref(x.GoPointer()) | |
| 1082 | 964 | } | |
| 1083 | 965 | ||
| @@ -1097,7 +979,6 @@ type PathMeasure struct { | |||
| 1097 | 979 | var xPathMeasureGLibType func() types.GType | |
| 1098 | 980 | ||
| 1099 | 981 | func PathMeasureGLibType() types.GType { | |
| 1100 | - | core.LazyRegister(&xPathMeasureGLibType, "GSK", "gsk_path_measure_get_type", false) | |
| 1101 | 982 | return xPathMeasureGLibType() | |
| 1102 | 983 | } | |
| 1103 | 984 | ||
| @@ -1118,8 +999,6 @@ var xNewPathMeasure func(*Path) uintptr | |||
| 1118 | 999 | // Creates a measure object for the given @path with the | |
| 1119 | 1000 | // default tolerance. | |
| 1120 | 1001 | func NewPathMeasure(PathVar *Path) *PathMeasure { | |
| 1121 | - | core.LazyRegister(&xNewPathMeasure, "GSK", "gsk_path_measure_new", false) | |
| 1122 | - | ||
| 1123 | 1002 | cret := xNewPathMeasure(PathVar) | |
| 1124 | 1003 | if cret == 0 { | |
| 1125 | 1004 | return nil | |
| @@ -1131,8 +1010,6 @@ var xNewPathMeasureWithTolerance func(*Path, float32) uintptr | |||
| 1131 | 1010 | ||
| 1132 | 1011 | // Creates a measure object for the given @path and @tolerance. | |
| 1133 | 1012 | func NewPathMeasureWithTolerance(PathVar *Path, ToleranceVar float32) *PathMeasure { | |
| 1134 | - | core.LazyRegister(&xNewPathMeasureWithTolerance, "GSK", "gsk_path_measure_new_with_tolerance", false) | |
| 1135 | - | ||
| 1136 | 1013 | cret := xNewPathMeasureWithTolerance(PathVar, ToleranceVar) | |
| 1137 | 1014 | if cret == 0 { | |
| 1138 | 1015 | return nil | |
| @@ -1146,8 +1023,6 @@ var xPathMeasureGetLength func(uintptr) float32 | |||
| 1146 | 1023 | // | |
| 1147 | 1024 | // The length is cached, so this function does not do any work. | |
| 1148 | 1025 | func (x *PathMeasure) GetLength() float32 { | |
| 1149 | - | core.LazyRegister(&xPathMeasureGetLength, "GSK", "gsk_path_measure_get_length", false) | |
| 1150 | - | ||
| 1151 | 1026 | cret := xPathMeasureGetLength(x.GoPointer()) | |
| 1152 | 1027 | return cret | |
| 1153 | 1028 | } | |
| @@ -1156,8 +1031,6 @@ var xPathMeasureGetPath func(uintptr) uintptr | |||
| 1156 | 1031 | ||
| 1157 | 1032 | // Returns the path that the measure was created for. | |
| 1158 | 1033 | func (x *PathMeasure) GetPath() *Path { | |
| 1159 | - | core.LazyRegister(&xPathMeasureGetPath, "GSK", "gsk_path_measure_get_path", false) | |
| 1160 | - | ||
| 1161 | 1034 | cret := xPathMeasureGetPath(x.GoPointer()) | |
| 1162 | 1035 | if cret == 0 { | |
| 1163 | 1036 | return nil | |
| @@ -1171,8 +1044,6 @@ var xPathMeasureGetPoint func(uintptr, float32, *PathPoint) bool | |||
| 1171 | 1044 | // | |
| 1172 | 1045 | // An empty path has no points, so false is returned in that case. | |
| 1173 | 1046 | func (x *PathMeasure) GetPoint(DistanceVar float32, ResultVar *PathPoint) bool { | |
| 1174 | - | core.LazyRegister(&xPathMeasureGetPoint, "GSK", "gsk_path_measure_get_point", false) | |
| 1175 | - | ||
| 1176 | 1047 | cret := xPathMeasureGetPoint(x.GoPointer(), DistanceVar, ResultVar) | |
| 1177 | 1048 | return cret | |
| 1178 | 1049 | } | |
| @@ -1181,8 +1052,6 @@ var xPathMeasureGetTolerance func(uintptr) float32 | |||
| 1181 | 1052 | ||
| 1182 | 1053 | // Returns the tolerance that the measure was created with. | |
| 1183 | 1054 | func (x *PathMeasure) GetTolerance() float32 { | |
| 1184 | - | core.LazyRegister(&xPathMeasureGetTolerance, "GSK", "gsk_path_measure_get_tolerance", false) | |
| 1185 | - | ||
| 1186 | 1055 | cret := xPathMeasureGetTolerance(x.GoPointer()) | |
| 1187 | 1056 | return cret | |
| 1188 | 1057 | } | |
| @@ -1191,8 +1060,6 @@ var xPathMeasureRef func(uintptr) uintptr | |||
| 1191 | 1060 | ||
| 1192 | 1061 | // Increases the reference count of a `GskPathMeasure` by one. | |
| 1193 | 1062 | func (x *PathMeasure) Ref() *PathMeasure { | |
| 1194 | - | core.LazyRegister(&xPathMeasureRef, "GSK", "gsk_path_measure_ref", false) | |
| 1195 | - | ||
| 1196 | 1063 | cret := xPathMeasureRef(x.GoPointer()) | |
| 1197 | 1064 | if cret == 0 { | |
| 1198 | 1065 | return nil | |
| @@ -1206,8 +1073,6 @@ var xPathMeasureUnref func(uintptr) | |||
| 1206 | 1073 | // | |
| 1207 | 1074 | // If the resulting reference count is zero, frees the object. | |
| 1208 | 1075 | func (x *PathMeasure) Unref() { | |
| 1209 | - | core.LazyRegister(&xPathMeasureUnref, "GSK", "gsk_path_measure_unref", false) | |
| 1210 | - | ||
| 1211 | 1076 | xPathMeasureUnref(x.GoPointer()) | |
| 1212 | 1077 | } | |
| 1213 | 1078 | ||
| @@ -1304,7 +1169,6 @@ type RenderReplay struct { | |||
| 1304 | 1169 | var xRenderReplayGLibType func() types.GType | |
| 1305 | 1170 | ||
| 1306 | 1171 | func RenderReplayGLibType() types.GType { | |
| 1307 | - | core.LazyRegister(&xRenderReplayGLibType, "GSK", "gsk_render_replay_get_type", false) | |
| 1308 | 1172 | return xRenderReplayGLibType() | |
| 1309 | 1173 | } | |
| 1310 | 1174 | ||
| @@ -1324,8 +1188,6 @@ var xNewRenderReplay func() uintptr | |||
| 1324 | 1188 | ||
| 1325 | 1189 | // Creates a new replay object to replay nodes. | |
| 1326 | 1190 | func NewRenderReplay() *RenderReplay { | |
| 1327 | - | core.LazyRegister(&xNewRenderReplay, "GSK", "gsk_render_replay_new", false) | |
| 1328 | - | ||
| 1329 | 1191 | cret := xNewRenderReplay() | |
| 1330 | 1192 | if cret == 0 { | |
| 1331 | 1193 | return nil | |
| @@ -1347,7 +1209,6 @@ var xRenderReplayDefault func(uintptr, uintptr) uintptr | |||
| 1347 | 1209 | // callbacks return NULL. In that case, this function will return | |
| 1348 | 1210 | // NULL, too. | |
| 1349 | 1211 | func (x *RenderReplay) Default(NodeVar *RenderNode) *RenderNode { | |
| 1350 | - | core.LazyRegister(&xRenderReplayDefault, "GSK", "gsk_render_replay_default", false) | |
| 1351 | 1212 | var cls *RenderNode | |
| 1352 | 1213 | ||
| 1353 | 1214 | cret := xRenderReplayDefault(x.GoPointer(), NodeVar.GoPointer()) | |
| @@ -1364,7 +1225,6 @@ var xRenderReplayFilterFont func(uintptr, uintptr) uintptr | |||
| 1364 | 1225 | ||
| 1365 | 1226 | // Filters a font using the current filter function. | |
| 1366 | 1227 | func (x *RenderReplay) FilterFont(FontVar *pango.Font) *pango.Font { | |
| 1367 | - | core.LazyRegister(&xRenderReplayFilterFont, "GSK", "gsk_render_replay_filter_font", false) | |
| 1368 | 1228 | var cls *pango.Font | |
| 1369 | 1229 | ||
| 1370 | 1230 | cret := xRenderReplayFilterFont(x.GoPointer(), FontVar.GoPointer()) | |
| @@ -1387,7 +1247,6 @@ var xRenderReplayFilterNode func(uintptr, uintptr) uintptr | |||
| 1387 | 1247 | // If no filter node is set, [method@Gsk.RenderReplay.default] is | |
| 1388 | 1248 | // called instead. | |
| 1389 | 1249 | func (x *RenderReplay) FilterNode(NodeVar *RenderNode) *RenderNode { | |
| 1390 | - | core.LazyRegister(&xRenderReplayFilterNode, "GSK", "gsk_render_replay_filter_node", false) | |
| 1391 | 1250 | var cls *RenderNode | |
| 1392 | 1251 | ||
| 1393 | 1252 | cret := xRenderReplayFilterNode(x.GoPointer(), NodeVar.GoPointer()) | |
| @@ -1404,7 +1263,6 @@ var xRenderReplayFilterTexture func(uintptr, uintptr) uintptr | |||
| 1404 | 1263 | ||
| 1405 | 1264 | // Filters a texture using the current filter function. | |
| 1406 | 1265 | func (x *RenderReplay) FilterTexture(TextureVar *gdk.Texture) *gdk.Texture { | |
| 1407 | - | core.LazyRegister(&xRenderReplayFilterTexture, "GSK", "gsk_render_replay_filter_texture", false) | |
| 1408 | 1266 | var cls *gdk.Texture | |
| 1409 | 1267 | ||
| 1410 | 1268 | cret := xRenderReplayFilterTexture(x.GoPointer(), TextureVar.GoPointer()) | |
| @@ -1421,8 +1279,6 @@ var xRenderReplayFree func(uintptr) | |||
| 1421 | 1279 | ||
| 1422 | 1280 | // Frees a `GskRenderReplay`. | |
| 1423 | 1281 | func (x *RenderReplay) Free() { | |
| 1424 | - | core.LazyRegister(&xRenderReplayFree, "GSK", "gsk_render_replay_free", false) | |
| 1425 | - | ||
| 1426 | 1282 | xRenderReplayFree(x.GoPointer()) | |
| 1427 | 1283 | } | |
| 1428 | 1284 | ||
| @@ -1434,8 +1290,6 @@ var xRenderReplaySetFontFilter func(uintptr, uintptr, uintptr, uintptr) | |||
| 1434 | 1290 | // You can call [method@GskRenderReplay.filter_font] to filter | |
| 1435 | 1291 | // a font yourself. | |
| 1436 | 1292 | func (x *RenderReplay) SetFontFilter(FilterVar *RenderReplayFontFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | |
| 1437 | - | core.LazyRegister(&xRenderReplaySetFontFilter, "GSK", "gsk_render_replay_set_font_filter", false) | |
| 1438 | - | ||
| 1439 | 1293 | xRenderReplaySetFontFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | |
| 1440 | 1294 | } | |
| 1441 | 1295 | ||
| @@ -1455,8 +1309,6 @@ var xRenderReplaySetNodeFilter func(uintptr, uintptr, uintptr, uintptr) | |||
| 1455 | 1309 | // - call [method@Gsk.RenderReplay.default] to have the default handler | |
| 1456 | 1310 | // run for this node, which calls your function on its children | |
| 1457 | 1311 | func (x *RenderReplay) SetNodeFilter(FilterVar *RenderReplayNodeFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | |
| 1458 | - | core.LazyRegister(&xRenderReplaySetNodeFilter, "GSK", "gsk_render_replay_set_node_filter", false) | |
| 1459 | - | ||
| 1460 | 1312 | xRenderReplaySetNodeFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | |
| 1461 | 1313 | } | |
| 1462 | 1314 | ||
| @@ -1468,8 +1320,6 @@ var xRenderReplaySetTextureFilter func(uintptr, uintptr, uintptr, uintptr) | |||
| 1468 | 1320 | // You can call [method@GskRenderReplay.filter_texture] to filter | |
| 1469 | 1321 | // a texture yourself. | |
| 1470 | 1322 | func (x *RenderReplay) SetTextureFilter(FilterVar *RenderReplayTextureFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | |
| 1471 | - | core.LazyRegister(&xRenderReplaySetTextureFilter, "GSK", "gsk_render_replay_set_texture_filter", false) | |
| 1472 | - | ||
| 1473 | 1323 | xRenderReplaySetTextureFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | |
| 1474 | 1324 | } | |
| 1475 | 1325 | ||
| @@ -1481,7 +1331,6 @@ type Stroke struct { | |||
| 1481 | 1331 | var xStrokeGLibType func() types.GType | |
| 1482 | 1332 | ||
| 1483 | 1333 | func StrokeGLibType() types.GType { | |
| 1484 | - | core.LazyRegister(&xStrokeGLibType, "GSK", "gsk_stroke_get_type", false) | |
| 1485 | 1334 | return xStrokeGLibType() | |
| 1486 | 1335 | } | |
| 1487 | 1336 | ||
| @@ -1501,8 +1350,6 @@ var xNewStroke func(float32) uintptr | |||
| 1501 | 1350 | ||
| 1502 | 1351 | // Creates a new `GskStroke` with the given @line_width. | |
| 1503 | 1352 | func NewStroke(LineWidthVar float32) *Stroke { | |
| 1504 | - | core.LazyRegister(&xNewStroke, "GSK", "gsk_stroke_new", false) | |
| 1505 | - | ||
| 1506 | 1353 | cret := xNewStroke(LineWidthVar) | |
| 1507 | 1354 | if cret == 0 { | |
| 1508 | 1355 | return nil | |
| @@ -1514,8 +1361,6 @@ var xStrokeCopy func(uintptr) uintptr | |||
| 1514 | 1361 | ||
| 1515 | 1362 | // Creates a copy of a `GskStroke`. | |
| 1516 | 1363 | func (x *Stroke) Copy() *Stroke { | |
| 1517 | - | core.LazyRegister(&xStrokeCopy, "GSK", "gsk_stroke_copy", false) | |
| 1518 | - | ||
| 1519 | 1364 | cret := xStrokeCopy(x.GoPointer()) | |
| 1520 | 1365 | if cret == 0 { | |
| 1521 | 1366 | return nil | |
| @@ -1527,8 +1372,6 @@ var xStrokeFree func(uintptr) | |||
| 1527 | 1372 | ||
| 1528 | 1373 | // Frees a `GskStroke`. | |
| 1529 | 1374 | func (x *Stroke) Free() { | |
| 1530 | - | core.LazyRegister(&xStrokeFree, "GSK", "gsk_stroke_free", false) | |
| 1531 | - | ||
| 1532 | 1375 | xStrokeFree(x.GoPointer()) | |
| 1533 | 1376 | } | |
| 1534 | 1377 | ||
| @@ -1536,8 +1379,6 @@ var xStrokeGetDash func(uintptr, *uint) uintptr | |||
| 1536 | 1379 | ||
| 1537 | 1380 | // Gets the dash array in use. | |
| 1538 | 1381 | func (x *Stroke) GetDash(NDashVar *uint) uintptr { | |
| 1539 | - | core.LazyRegister(&xStrokeGetDash, "GSK", "gsk_stroke_get_dash", false) | |
| 1540 | - | ||
| 1541 | 1382 | cret := xStrokeGetDash(x.GoPointer(), NDashVar) | |
| 1542 | 1383 | return cret | |
| 1543 | 1384 | } | |
| @@ -1546,8 +1387,6 @@ var xStrokeGetDashOffset func(uintptr) float32 | |||
| 1546 | 1387 | ||
| 1547 | 1388 | // Gets the dash offset. | |
| 1548 | 1389 | func (x *Stroke) GetDashOffset() float32 { | |
| 1549 | - | core.LazyRegister(&xStrokeGetDashOffset, "GSK", "gsk_stroke_get_dash_offset", false) | |
| 1550 | - | ||
| 1551 | 1390 | cret := xStrokeGetDashOffset(x.GoPointer()) | |
| 1552 | 1391 | return cret | |
| 1553 | 1392 | } | |
| @@ -1558,8 +1397,6 @@ var xStrokeGetLineCap func(uintptr) LineCap | |||
| 1558 | 1397 | // | |
| 1559 | 1398 | // See [enum@Gsk.LineCap] for details. | |
| 1560 | 1399 | func (x *Stroke) GetLineCap() LineCap { | |
| 1561 | - | core.LazyRegister(&xStrokeGetLineCap, "GSK", "gsk_stroke_get_line_cap", false) | |
| 1562 | - | ||
| 1563 | 1400 | cret := xStrokeGetLineCap(x.GoPointer()) | |
| 1564 | 1401 | return cret | |
| 1565 | 1402 | } | |
| @@ -1570,8 +1407,6 @@ var xStrokeGetLineJoin func(uintptr) LineJoin | |||
| 1570 | 1407 | // | |
| 1571 | 1408 | // See [enum@Gsk.LineJoin] for details. | |
| 1572 | 1409 | func (x *Stroke) GetLineJoin() LineJoin { | |
| 1573 | - | core.LazyRegister(&xStrokeGetLineJoin, "GSK", "gsk_stroke_get_line_join", false) | |
| 1574 | - | ||
| 1575 | 1410 | cret := xStrokeGetLineJoin(x.GoPointer()) | |
| 1576 | 1411 | return cret | |
| 1577 | 1412 | } | |
| @@ -1580,8 +1415,6 @@ var xStrokeGetLineWidth func(uintptr) float32 | |||
| 1580 | 1415 | ||
| 1581 | 1416 | // Gets the line width used. | |
| 1582 | 1417 | func (x *Stroke) GetLineWidth() float32 { | |
| 1583 | - | core.LazyRegister(&xStrokeGetLineWidth, "GSK", "gsk_stroke_get_line_width", false) | |
| 1584 | - | ||
| 1585 | 1418 | cret := xStrokeGetLineWidth(x.GoPointer()) | |
| 1586 | 1419 | return cret | |
| 1587 | 1420 | } | |
| @@ -1590,8 +1423,6 @@ var xStrokeGetMiterLimit func(uintptr) float32 | |||
| 1590 | 1423 | ||
| 1591 | 1424 | // Gets the miter limit. | |
| 1592 | 1425 | func (x *Stroke) GetMiterLimit() float32 { | |
| 1593 | - | core.LazyRegister(&xStrokeGetMiterLimit, "GSK", "gsk_stroke_get_miter_limit", false) | |
| 1594 | - | ||
| 1595 | 1426 | cret := xStrokeGetMiterLimit(x.GoPointer()) | |
| 1596 | 1427 | return cret | |
| 1597 | 1428 | } | |
| @@ -1622,8 +1453,6 @@ var xStrokeSetDash func(uintptr, []float32, uint) | |||
| 1622 | 1453 | // You can specify a starting offset into the dash with | |
| 1623 | 1454 | // [method@Gsk.Stroke.set_dash_offset]. | |
| 1624 | 1455 | func (x *Stroke) SetDash(DashVar []float32, NDashVar uint) { | |
| 1625 | - | core.LazyRegister(&xStrokeSetDash, "GSK", "gsk_stroke_set_dash", false) | |
| 1626 | - | ||
| 1627 | 1456 | xStrokeSetDash(x.GoPointer(), DashVar, NDashVar) | |
| 1628 | 1457 | } | |
| 1629 | 1458 | ||
| @@ -1636,8 +1465,6 @@ var xStrokeSetDashOffset func(uintptr, float32) | |||
| 1636 | 1465 | // | |
| 1637 | 1466 | // See [method@Gsk.Stroke.set_dash] for more details on dashing. | |
| 1638 | 1467 | func (x *Stroke) SetDashOffset(OffsetVar float32) { | |
| 1639 | - | core.LazyRegister(&xStrokeSetDashOffset, "GSK", "gsk_stroke_set_dash_offset", false) | |
| 1640 | - | ||
| 1641 | 1468 | xStrokeSetDashOffset(x.GoPointer(), OffsetVar) | |
| 1642 | 1469 | } | |
| 1643 | 1470 | ||
| @@ -1647,8 +1474,6 @@ var xStrokeSetLineCap func(uintptr, LineCap) | |||
| 1647 | 1474 | // | |
| 1648 | 1475 | // See [enum@Gsk.LineCap] for details. | |
| 1649 | 1476 | func (x *Stroke) SetLineCap(LineCapVar LineCap) { | |
| 1650 | - | core.LazyRegister(&xStrokeSetLineCap, "GSK", "gsk_stroke_set_line_cap", false) | |
| 1651 | - | ||
| 1652 | 1477 | xStrokeSetLineCap(x.GoPointer(), LineCapVar) | |
| 1653 | 1478 | } | |
| 1654 | 1479 | ||
| @@ -1658,8 +1483,6 @@ var xStrokeSetLineJoin func(uintptr, LineJoin) | |||
| 1658 | 1483 | // | |
| 1659 | 1484 | // See [enum@Gsk.LineJoin] for details. | |
| 1660 | 1485 | func (x *Stroke) SetLineJoin(LineJoinVar LineJoin) { | |
| 1661 | - | core.LazyRegister(&xStrokeSetLineJoin, "GSK", "gsk_stroke_set_line_join", false) | |
| 1662 | - | ||
| 1663 | 1486 | xStrokeSetLineJoin(x.GoPointer(), LineJoinVar) | |
| 1664 | 1487 | } | |
| 1665 | 1488 | ||
| @@ -1669,8 +1492,6 @@ var xStrokeSetLineWidth func(uintptr, float32) | |||
| 1669 | 1492 | // | |
| 1670 | 1493 | // The line width must be >= 0. | |
| 1671 | 1494 | func (x *Stroke) SetLineWidth(LineWidthVar float32) { | |
| 1672 | - | core.LazyRegister(&xStrokeSetLineWidth, "GSK", "gsk_stroke_set_line_width", false) | |
| 1673 | - | ||
| 1674 | 1495 | xStrokeSetLineWidth(x.GoPointer(), LineWidthVar) | |
| 1675 | 1496 | } | |
| 1676 | 1497 | ||
| @@ -1686,8 +1507,6 @@ var xStrokeSetMiterLimit func(uintptr, float32) | |||
| 1686 | 1507 | // For joins of type [enum@Gsk.LineJoin.miter] that exceed the miter limit, | |
| 1687 | 1508 | // the join gets rendered as if it was of type [enum@Gsk.LineJoin.bevel]. | |
| 1688 | 1509 | func (x *Stroke) SetMiterLimit(LimitVar float32) { | |
| 1689 | - | core.LazyRegister(&xStrokeSetMiterLimit, "GSK", "gsk_stroke_set_miter_limit", false) | |
| 1690 | - | ||
| 1691 | 1510 | xStrokeSetMiterLimit(x.GoPointer(), LimitVar) | |
| 1692 | 1511 | } | |
| 1693 | 1512 | ||
| @@ -1696,8 +1515,6 @@ var xStrokeToCairo func(uintptr, *cairo.Context) | |||
| 1696 | 1515 | // A helper function that sets the stroke parameters | |
| 1697 | 1516 | // of a cairo context from a `GskStroke`. | |
| 1698 | 1517 | func (x *Stroke) ToCairo(CrVar *cairo.Context) { | |
| 1699 | - | core.LazyRegister(&xStrokeToCairo, "GSK", "gsk_stroke_to_cairo", false) | |
| 1700 | - | ||
| 1701 | 1518 | xStrokeToCairo(x.GoPointer(), CrVar) | |
| 1702 | 1519 | } | |
| 1703 | 1520 | ||
| @@ -1717,7 +1534,6 @@ type Transform struct { | |||
| 1717 | 1534 | var xTransformGLibType func() types.GType | |
| 1718 | 1535 | ||
| 1719 | 1536 | func TransformGLibType() types.GType { | |
| 1720 | - | core.LazyRegister(&xTransformGLibType, "GSK", "gsk_transform_get_type", false) | |
| 1721 | 1537 | return xTransformGLibType() | |
| 1722 | 1538 | } | |
| 1723 | 1539 | ||
| @@ -1740,8 +1556,6 @@ var xNewTransform func() uintptr | |||
| 1740 | 1556 | // This function is meant to be used by language | |
| 1741 | 1557 | // bindings. For C code, this is equivalent to using `NULL`. | |
| 1742 | 1558 | func NewTransform() *Transform { | |
| 1743 | - | core.LazyRegister(&xNewTransform, "GSK", "gsk_transform_new", false) | |
| 1744 | - | ||
| 1745 | 1559 | cret := xNewTransform() | |
| 1746 | 1560 | if cret == 0 { | |
| 1747 | 1561 | return nil | |
| @@ -1753,8 +1567,6 @@ var xTransformEqual func(uintptr, *Transform) bool | |||
| 1753 | 1567 | ||
| 1754 | 1568 | // Checks two transforms for equality. | |
| 1755 | 1569 | func (x *Transform) Equal(SecondVar *Transform) bool { | |
| 1756 | - | core.LazyRegister(&xTransformEqual, "GSK", "gsk_transform_equal", false) | |
| 1757 | - | ||
| 1758 | 1570 | cret := xTransformEqual(x.GoPointer(), SecondVar) | |
| 1759 | 1571 | return cret | |
| 1760 | 1572 | } | |
| @@ -1763,8 +1575,6 @@ var xTransformGetCategory func(uintptr) TransformCategory | |||
| 1763 | 1575 | ||
| 1764 | 1576 | // Returns the category this transform belongs to. | |
| 1765 | 1577 | func (x *Transform) GetCategory() TransformCategory { | |
| 1766 | - | core.LazyRegister(&xTransformGetCategory, "GSK", "gsk_transform_get_category", false) | |
| 1767 | - | ||
| 1768 | 1578 | cret := xTransformGetCategory(x.GoPointer()) | |
| 1769 | 1579 | return cret | |
| 1770 | 1580 | } | |
| @@ -1782,8 +1592,6 @@ var xTransformInvert func(uintptr) uintptr | |||
| 1782 | 1592 | // This function consumes @self. Use [method@Gsk.Transform.ref] first | |
| 1783 | 1593 | // if you want to keep it around. | |
| 1784 | 1594 | func (x *Transform) Invert() *Transform { | |
| 1785 | - | core.LazyRegister(&xTransformInvert, "GSK", "gsk_transform_invert", false) | |
| 1786 | - | ||
| 1787 | 1595 | cret := xTransformInvert(x.GoPointer()) | |
| 1788 | 1596 | if cret == 0 { | |
| 1789 | 1597 | return nil | |
| @@ -1798,8 +1606,6 @@ var xTransformMatrix func(uintptr, *graphene.Matrix) uintptr | |||
| 1798 | 1606 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1799 | 1607 | // if you want to keep it around. | |
| 1800 | 1608 | func (x *Transform) Matrix(MatrixVar *graphene.Matrix) *Transform { | |
| 1801 | - | core.LazyRegister(&xTransformMatrix, "GSK", "gsk_transform_matrix", false) | |
| 1802 | - | ||
| 1803 | 1609 | cret := xTransformMatrix(x.GoPointer(), MatrixVar) | |
| 1804 | 1610 | if cret == 0 { | |
| 1805 | 1611 | return nil | |
| @@ -1818,8 +1624,6 @@ var xTransformMatrix2d func(uintptr, float32, float32, float32, float32, float32 | |||
| 1818 | 1624 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1819 | 1625 | // if you want to keep it around. | |
| 1820 | 1626 | func (x *Transform) Matrix2d(XxVar float32, YxVar float32, XyVar float32, YyVar float32, DxVar float32, DyVar float32) *Transform { | |
| 1821 | - | core.LazyRegister(&xTransformMatrix2d, "GSK", "gsk_transform_matrix_2d", false) | |
| 1822 | - | ||
| 1823 | 1627 | cret := xTransformMatrix2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, DxVar, DyVar) | |
| 1824 | 1628 | if cret == 0 { | |
| 1825 | 1629 | return nil | |
| @@ -1839,8 +1643,6 @@ var xTransformPerspective func(uintptr, float32) uintptr | |||
| 1839 | 1643 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1840 | 1644 | // if you want to keep it around. | |
| 1841 | 1645 | func (x *Transform) Perspective(DepthVar float32) *Transform { | |
| 1842 | - | core.LazyRegister(&xTransformPerspective, "GSK", "gsk_transform_perspective", false) | |
| 1843 | - | ||
| 1844 | 1646 | cret := xTransformPerspective(x.GoPointer(), DepthVar) | |
| 1845 | 1647 | if cret == 0 { | |
| 1846 | 1648 | return nil | |
| @@ -1855,8 +1657,6 @@ var xTransformPrint func(uintptr, *glib.String) | |||
| 1855 | 1657 | // The result of this function can later be parsed with | |
| 1856 | 1658 | // [func@Gsk.Transform.parse]. | |
| 1857 | 1659 | func (x *Transform) Print(StringVar *glib.String) { | |
| 1858 | - | core.LazyRegister(&xTransformPrint, "GSK", "gsk_transform_print", false) | |
| 1859 | - | ||
| 1860 | 1660 | xTransformPrint(x.GoPointer(), StringVar) | |
| 1861 | 1661 | } | |
| 1862 | 1662 | ||
| @@ -1864,8 +1664,6 @@ var xTransformRef func(uintptr) uintptr | |||
| 1864 | 1664 | ||
| 1865 | 1665 | // Acquires a reference on the given transform. | |
| 1866 | 1666 | func (x *Transform) Ref() *Transform { | |
| 1867 | - | core.LazyRegister(&xTransformRef, "GSK", "gsk_transform_ref", false) | |
| 1868 | - | ||
| 1869 | 1667 | cret := xTransformRef(x.GoPointer()) | |
| 1870 | 1668 | if cret == 0 { | |
| 1871 | 1669 | return nil | |
| @@ -1882,8 +1680,6 @@ var xTransformRotate func(uintptr, float32) uintptr | |||
| 1882 | 1680 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1883 | 1681 | // if you want to keep it around. | |
| 1884 | 1682 | func (x *Transform) Rotate(AngleVar float32) *Transform { | |
| 1885 | - | core.LazyRegister(&xTransformRotate, "GSK", "gsk_transform_rotate", false) | |
| 1886 | - | ||
| 1887 | 1683 | cret := xTransformRotate(x.GoPointer(), AngleVar) | |
| 1888 | 1684 | if cret == 0 { | |
| 1889 | 1685 | return nil | |
| @@ -1900,8 +1696,6 @@ var xTransformRotate3d func(uintptr, float32, *graphene.Vec3) uintptr | |||
| 1900 | 1696 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1901 | 1697 | // if you want to keep it around. | |
| 1902 | 1698 | func (x *Transform) Rotate3d(AngleVar float32, AxisVar *graphene.Vec3) *Transform { | |
| 1903 | - | core.LazyRegister(&xTransformRotate3d, "GSK", "gsk_transform_rotate_3d", false) | |
| 1904 | - | ||
| 1905 | 1699 | cret := xTransformRotate3d(x.GoPointer(), AngleVar, AxisVar) | |
| 1906 | 1700 | if cret == 0 { | |
| 1907 | 1701 | return nil | |
| @@ -1918,8 +1712,6 @@ var xTransformScale func(uintptr, float32, float32) uintptr | |||
| 1918 | 1712 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1919 | 1713 | // if you want to keep it around. | |
| 1920 | 1714 | func (x *Transform) Scale(FactorXVar float32, FactorYVar float32) *Transform { | |
| 1921 | - | core.LazyRegister(&xTransformScale, "GSK", "gsk_transform_scale", false) | |
| 1922 | - | ||
| 1923 | 1715 | cret := xTransformScale(x.GoPointer(), FactorXVar, FactorYVar) | |
| 1924 | 1716 | if cret == 0 { | |
| 1925 | 1717 | return nil | |
| @@ -1934,8 +1726,6 @@ var xTransformScale3d func(uintptr, float32, float32, float32) uintptr | |||
| 1934 | 1726 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1935 | 1727 | // if you want to keep it around. | |
| 1936 | 1728 | func (x *Transform) Scale3d(FactorXVar float32, FactorYVar float32, FactorZVar float32) *Transform { | |
| 1937 | - | core.LazyRegister(&xTransformScale3d, "GSK", "gsk_transform_scale_3d", false) | |
| 1938 | - | ||
| 1939 | 1729 | cret := xTransformScale3d(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | |
| 1940 | 1730 | if cret == 0 { | |
| 1941 | 1731 | return nil | |
| @@ -1950,8 +1740,6 @@ var xTransformSkew func(uintptr, float32, float32) uintptr | |||
| 1950 | 1740 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 1951 | 1741 | // if you want to keep it around. | |
| 1952 | 1742 | func (x *Transform) Skew(SkewXVar float32, SkewYVar float32) *Transform { | |
| 1953 | - | core.LazyRegister(&xTransformSkew, "GSK", "gsk_transform_skew", false) | |
| 1954 | - | ||
| 1955 | 1743 | cret := xTransformSkew(x.GoPointer(), SkewXVar, SkewYVar) | |
| 1956 | 1744 | if cret == 0 { | |
| 1957 | 1745 | return nil | |
| @@ -1986,8 +1774,6 @@ var xTransformTo2d func(uintptr, *float32, *float32, *float32, *float32, *float3 | |||
| 1986 | 1774 | // and a matrix type from other 2D drawing libraries, in particular | |
| 1987 | 1775 | // Cairo. | |
| 1988 | 1776 | func (x *Transform) To2d(OutXxVar *float32, OutYxVar *float32, OutXyVar *float32, OutYyVar *float32, OutDxVar *float32, OutDyVar *float32) { | |
| 1989 | - | core.LazyRegister(&xTransformTo2d, "GSK", "gsk_transform_to_2d", false) | |
| 1990 | - | ||
| 1991 | 1777 | xTransformTo2d(x.GoPointer(), OutXxVar, OutYxVar, OutXyVar, OutYyVar, OutDxVar, OutDyVar) | |
| 1992 | 1778 | } | |
| 1993 | 1779 | ||
| @@ -2012,8 +1798,6 @@ var xTransformTo2dComponents func(uintptr, *float32, *float32, *float32, *float3 | |||
| 2012 | 1798 | // | |
| 2013 | 1799 | // to check. | |
| 2014 | 1800 | func (x *Transform) To2dComponents(OutSkewXVar *float32, OutSkewYVar *float32, OutScaleXVar *float32, OutScaleYVar *float32, OutAngleVar *float32, OutDxVar *float32, OutDyVar *float32) { | |
| 2015 | - | core.LazyRegister(&xTransformTo2dComponents, "GSK", "gsk_transform_to_2d_components", false) | |
| 2016 | - | ||
| 2017 | 1801 | xTransformTo2dComponents(x.GoPointer(), OutSkewXVar, OutSkewYVar, OutScaleXVar, OutScaleYVar, OutAngleVar, OutDxVar, OutDyVar) | |
| 2018 | 1802 | } | |
| 2019 | 1803 | ||
| @@ -2037,8 +1821,6 @@ var xTransformToAffine func(uintptr, *float32, *float32, *float32, *float32) | |||
| 2037 | 1821 | // | |
| 2038 | 1822 | // to check. | |
| 2039 | 1823 | func (x *Transform) ToAffine(OutScaleXVar *float32, OutScaleYVar *float32, OutDxVar *float32, OutDyVar *float32) { | |
| 2040 | - | core.LazyRegister(&xTransformToAffine, "GSK", "gsk_transform_to_affine", false) | |
| 2041 | - | ||
| 2042 | 1824 | xTransformToAffine(x.GoPointer(), OutScaleXVar, OutScaleYVar, OutDxVar, OutDyVar) | |
| 2043 | 1825 | } | |
| 2044 | 1826 | ||
| @@ -2048,8 +1830,6 @@ var xTransformToMatrix func(uintptr, *graphene.Matrix) | |||
| 2048 | 1830 | // | |
| 2049 | 1831 | // The previous value of @out_matrix will be ignored. | |
| 2050 | 1832 | func (x *Transform) ToMatrix(OutMatrixVar *graphene.Matrix) { | |
| 2051 | - | core.LazyRegister(&xTransformToMatrix, "GSK", "gsk_transform_to_matrix", false) | |
| 2052 | - | ||
| 2053 | 1833 | xTransformToMatrix(x.GoPointer(), OutMatrixVar) | |
| 2054 | 1834 | } | |
| 2055 | 1835 | ||
| @@ -2061,8 +1841,6 @@ var xTransformToString func(uintptr) string | |||
| 2061 | 1841 | // | |
| 2062 | 1842 | // This is a wrapper around [method@Gsk.Transform.print]. | |
| 2063 | 1843 | func (x *Transform) ToString() string { | |
| 2064 | - | core.LazyRegister(&xTransformToString, "GSK", "gsk_transform_to_string", false) | |
| 2065 | - | ||
| 2066 | 1844 | cret := xTransformToString(x.GoPointer()) | |
| 2067 | 1845 | return cret | |
| 2068 | 1846 | } | |
| @@ -2078,8 +1856,6 @@ var xTransformToTranslate func(uintptr, *float32, *float32) | |||
| 2078 | 1856 | // | |
| 2079 | 1857 | // to check. | |
| 2080 | 1858 | func (x *Transform) ToTranslate(OutDxVar *float32, OutDyVar *float32) { | |
| 2081 | - | core.LazyRegister(&xTransformToTranslate, "GSK", "gsk_transform_to_translate", false) | |
| 2082 | - | ||
| 2083 | 1859 | xTransformToTranslate(x.GoPointer(), OutDxVar, OutDyVar) | |
| 2084 | 1860 | } | |
| 2085 | 1861 | ||
| @@ -2090,8 +1866,6 @@ var xTransformTransform func(uintptr, *Transform) uintptr | |||
| 2090 | 1866 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 2091 | 1867 | // if you want to keep it around. | |
| 2092 | 1868 | func (x *Transform) Transform(OtherVar *Transform) *Transform { | |
| 2093 | - | core.LazyRegister(&xTransformTransform, "GSK", "gsk_transform_transform", false) | |
| 2094 | - | ||
| 2095 | 1869 | cret := xTransformTransform(x.GoPointer(), OtherVar) | |
| 2096 | 1870 | if cret == 0 { | |
| 2097 | 1871 | return nil | |
| @@ -2107,8 +1881,6 @@ var xTransformTransformBounds func(uintptr, *graphene.Rect, *graphene.Rect) | |||
| 2107 | 1881 | // | |
| 2108 | 1882 | // The input and output rect may point to the same rectangle. | |
| 2109 | 1883 | func (x *Transform) TransformBounds(RectVar *graphene.Rect, OutRectVar *graphene.Rect) { | |
| 2110 | - | core.LazyRegister(&xTransformTransformBounds, "GSK", "gsk_transform_transform_bounds", false) | |
| 2111 | - | ||
| 2112 | 1884 | xTransformTransformBounds(x.GoPointer(), RectVar, OutRectVar) | |
| 2113 | 1885 | } | |
| 2114 | 1886 | ||
| @@ -2116,8 +1888,6 @@ var xTransformTransformPoint func(uintptr, *graphene.Point, *graphene.Point) | |||
| 2116 | 1888 | ||
| 2117 | 1889 | // Transforms a point using the given transform. | |
| 2118 | 1890 | func (x *Transform) TransformPoint(PointVar *graphene.Point, OutPointVar *graphene.Point) { | |
| 2119 | - | core.LazyRegister(&xTransformTransformPoint, "GSK", "gsk_transform_transform_point", false) | |
| 2120 | - | ||
| 2121 | 1891 | xTransformTransformPoint(x.GoPointer(), PointVar, OutPointVar) | |
| 2122 | 1892 | } | |
| 2123 | 1893 | ||
| @@ -2128,8 +1898,6 @@ var xTransformTranslate func(uintptr, *graphene.Point) uintptr | |||
| 2128 | 1898 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 2129 | 1899 | // if you want to keep it around. | |
| 2130 | 1900 | func (x *Transform) Translate(PointVar *graphene.Point) *Transform { | |
| 2131 | - | core.LazyRegister(&xTransformTranslate, "GSK", "gsk_transform_translate", false) | |
| 2132 | - | ||
| 2133 | 1901 | cret := xTransformTranslate(x.GoPointer(), PointVar) | |
| 2134 | 1902 | if cret == 0 { | |
| 2135 | 1903 | return nil | |
| @@ -2144,8 +1912,6 @@ var xTransformTranslate3d func(uintptr, *graphene.Point3D) uintptr | |||
| 2144 | 1912 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | |
| 2145 | 1913 | // if you want to keep it around. | |
| 2146 | 1914 | func (x *Transform) Translate3d(PointVar *graphene.Point3D) *Transform { | |
| 2147 | - | core.LazyRegister(&xTransformTranslate3d, "GSK", "gsk_transform_translate_3d", false) | |
| 2148 | - | ||
| 2149 | 1915 | cret := xTransformTranslate3d(x.GoPointer(), PointVar) | |
| 2150 | 1916 | if cret == 0 { | |
| 2151 | 1917 | return nil | |
| @@ -2160,12 +1926,162 @@ var xTransformUnref func(uintptr) | |||
| 2160 | 1926 | // If the reference was the last, the resources associated to the @self are | |
| 2161 | 1927 | // freed. | |
| 2162 | 1928 | func (x *Transform) Unref() { | |
| 2163 | - | core.LazyRegister(&xTransformUnref, "GSK", "gsk_transform_unref", false) | |
| 2164 | - | ||
| 2165 | 1929 | xTransformUnref(x.GoPointer()) | |
| 2166 | 1930 | } | |
| 2167 | 1931 | ||
| 2168 | 1932 | func init() { | |
| 2169 | 1933 | core.SetPackageName("GSK", "gtk4") | |
| 2170 | 1934 | core.SetSharedLibraries("GSK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 1935 | + | var libs []uintptr | |
| 1936 | + | for _, libPath := range core.GetPaths("GSK") { | |
| 1937 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1938 | + | if err != nil { | |
| 1939 | + | panic(err) | |
| 1940 | + | } | |
| 1941 | + | libs = append(libs, lib) | |
| 1942 | + | } | |
| 1943 | + | ||
| 1944 | + | core.PuregoSafeRegister(&xComponentTransferGLibType, libs, "gsk_component_transfer_get_type") | |
| 1945 | + | ||
| 1946 | + | core.PuregoSafeRegister(&xNewComponentTransferDiscrete, libs, "gsk_component_transfer_new_discrete") | |
| 1947 | + | core.PuregoSafeRegister(&xNewComponentTransferGamma, libs, "gsk_component_transfer_new_gamma") | |
| 1948 | + | core.PuregoSafeRegister(&xNewComponentTransferIdentity, libs, "gsk_component_transfer_new_identity") | |
| 1949 | + | core.PuregoSafeRegister(&xNewComponentTransferLevels, libs, "gsk_component_transfer_new_levels") | |
| 1950 | + | core.PuregoSafeRegister(&xNewComponentTransferLinear, libs, "gsk_component_transfer_new_linear") | |
| 1951 | + | core.PuregoSafeRegister(&xNewComponentTransferTable, libs, "gsk_component_transfer_new_table") | |
| 1952 | + | ||
| 1953 | + | core.PuregoSafeRegister(&xComponentTransferCopy, libs, "gsk_component_transfer_copy") | |
| 1954 | + | core.PuregoSafeRegister(&xComponentTransferFree, libs, "gsk_component_transfer_free") | |
| 1955 | + | ||
| 1956 | + | core.PuregoSafeRegister(&xPathGLibType, libs, "gsk_path_get_type") | |
| 1957 | + | ||
| 1958 | + | core.PuregoSafeRegister(&xPathEqual, libs, "gsk_path_equal") | |
| 1959 | + | core.PuregoSafeRegister(&xPathForeach, libs, "gsk_path_foreach") | |
| 1960 | + | core.PuregoSafeRegister(&xPathForeachIntersection, libs, "gsk_path_foreach_intersection") | |
| 1961 | + | core.PuregoSafeRegister(&xPathGetBounds, libs, "gsk_path_get_bounds") | |
| 1962 | + | core.PuregoSafeRegister(&xPathGetClosestPoint, libs, "gsk_path_get_closest_point") | |
| 1963 | + | core.PuregoSafeRegister(&xPathGetEndPoint, libs, "gsk_path_get_end_point") | |
| 1964 | + | core.PuregoSafeRegister(&xPathGetNext, libs, "gsk_path_get_next") | |
| 1965 | + | core.PuregoSafeRegister(&xPathGetPrevious, libs, "gsk_path_get_previous") | |
| 1966 | + | core.PuregoSafeRegister(&xPathGetStartPoint, libs, "gsk_path_get_start_point") | |
| 1967 | + | core.PuregoSafeRegister(&xPathGetStrokeBounds, libs, "gsk_path_get_stroke_bounds") | |
| 1968 | + | core.PuregoSafeRegister(&xPathGetTightBounds, libs, "gsk_path_get_tight_bounds") | |
| 1969 | + | core.PuregoSafeRegister(&xPathInFill, libs, "gsk_path_in_fill") | |
| 1970 | + | core.PuregoSafeRegister(&xPathIsClosed, libs, "gsk_path_is_closed") | |
| 1971 | + | core.PuregoSafeRegister(&xPathIsEmpty, libs, "gsk_path_is_empty") | |
| 1972 | + | core.PuregoSafeRegister(&xPathPrint, libs, "gsk_path_print") | |
| 1973 | + | core.PuregoSafeRegister(&xPathRef, libs, "gsk_path_ref") | |
| 1974 | + | core.PuregoSafeRegister(&xPathToCairo, libs, "gsk_path_to_cairo") | |
| 1975 | + | core.PuregoSafeRegister(&xPathToString, libs, "gsk_path_to_string") | |
| 1976 | + | core.PuregoSafeRegister(&xPathUnref, libs, "gsk_path_unref") | |
| 1977 | + | ||
| 1978 | + | core.PuregoSafeRegister(&xPathBuilderGLibType, libs, "gsk_path_builder_get_type") | |
| 1979 | + | ||
| 1980 | + | core.PuregoSafeRegister(&xNewPathBuilder, libs, "gsk_path_builder_new") | |
| 1981 | + | ||
| 1982 | + | core.PuregoSafeRegister(&xPathBuilderAddCairoPath, libs, "gsk_path_builder_add_cairo_path") | |
| 1983 | + | core.PuregoSafeRegister(&xPathBuilderAddCircle, libs, "gsk_path_builder_add_circle") | |
| 1984 | + | core.PuregoSafeRegister(&xPathBuilderAddLayout, libs, "gsk_path_builder_add_layout") | |
| 1985 | + | core.PuregoSafeRegister(&xPathBuilderAddPath, libs, "gsk_path_builder_add_path") | |
| 1986 | + | core.PuregoSafeRegister(&xPathBuilderAddRect, libs, "gsk_path_builder_add_rect") | |
| 1987 | + | core.PuregoSafeRegister(&xPathBuilderAddReversePath, libs, "gsk_path_builder_add_reverse_path") | |
| 1988 | + | core.PuregoSafeRegister(&xPathBuilderAddRoundedRect, libs, "gsk_path_builder_add_rounded_rect") | |
| 1989 | + | core.PuregoSafeRegister(&xPathBuilderAddSegment, libs, "gsk_path_builder_add_segment") | |
| 1990 | + | core.PuregoSafeRegister(&xPathBuilderArcTo, libs, "gsk_path_builder_arc_to") | |
| 1991 | + | core.PuregoSafeRegister(&xPathBuilderClose, libs, "gsk_path_builder_close") | |
| 1992 | + | core.PuregoSafeRegister(&xPathBuilderConicTo, libs, "gsk_path_builder_conic_to") | |
| 1993 | + | core.PuregoSafeRegister(&xPathBuilderCubicTo, libs, "gsk_path_builder_cubic_to") | |
| 1994 | + | core.PuregoSafeRegister(&xPathBuilderFreeToPath, libs, "gsk_path_builder_free_to_path") | |
| 1995 | + | core.PuregoSafeRegister(&xPathBuilderGetCurrentPoint, libs, "gsk_path_builder_get_current_point") | |
| 1996 | + | core.PuregoSafeRegister(&xPathBuilderHtmlArcTo, libs, "gsk_path_builder_html_arc_to") | |
| 1997 | + | core.PuregoSafeRegister(&xPathBuilderLineTo, libs, "gsk_path_builder_line_to") | |
| 1998 | + | core.PuregoSafeRegister(&xPathBuilderMoveTo, libs, "gsk_path_builder_move_to") | |
| 1999 | + | core.PuregoSafeRegister(&xPathBuilderQuadTo, libs, "gsk_path_builder_quad_to") | |
| 2000 | + | core.PuregoSafeRegister(&xPathBuilderRef, libs, "gsk_path_builder_ref") | |
| 2001 | + | core.PuregoSafeRegister(&xPathBuilderRelArcTo, libs, "gsk_path_builder_rel_arc_to") | |
| 2002 | + | core.PuregoSafeRegister(&xPathBuilderRelConicTo, libs, "gsk_path_builder_rel_conic_to") | |
| 2003 | + | core.PuregoSafeRegister(&xPathBuilderRelCubicTo, libs, "gsk_path_builder_rel_cubic_to") | |
| 2004 | + | core.PuregoSafeRegister(&xPathBuilderRelHtmlArcTo, libs, "gsk_path_builder_rel_html_arc_to") | |
| 2005 | + | core.PuregoSafeRegister(&xPathBuilderRelLineTo, libs, "gsk_path_builder_rel_line_to") | |
| 2006 | + | core.PuregoSafeRegister(&xPathBuilderRelMoveTo, libs, "gsk_path_builder_rel_move_to") | |
| 2007 | + | core.PuregoSafeRegister(&xPathBuilderRelQuadTo, libs, "gsk_path_builder_rel_quad_to") | |
| 2008 | + | core.PuregoSafeRegister(&xPathBuilderRelSvgArcTo, libs, "gsk_path_builder_rel_svg_arc_to") | |
| 2009 | + | core.PuregoSafeRegister(&xPathBuilderSvgArcTo, libs, "gsk_path_builder_svg_arc_to") | |
| 2010 | + | core.PuregoSafeRegister(&xPathBuilderToPath, libs, "gsk_path_builder_to_path") | |
| 2011 | + | core.PuregoSafeRegister(&xPathBuilderUnref, libs, "gsk_path_builder_unref") | |
| 2012 | + | ||
| 2013 | + | core.PuregoSafeRegister(&xPathMeasureGLibType, libs, "gsk_path_measure_get_type") | |
| 2014 | + | ||
| 2015 | + | core.PuregoSafeRegister(&xNewPathMeasure, libs, "gsk_path_measure_new") | |
| 2016 | + | core.PuregoSafeRegister(&xNewPathMeasureWithTolerance, libs, "gsk_path_measure_new_with_tolerance") | |
| 2017 | + | ||
| 2018 | + | core.PuregoSafeRegister(&xPathMeasureGetLength, libs, "gsk_path_measure_get_length") | |
| 2019 | + | core.PuregoSafeRegister(&xPathMeasureGetPath, libs, "gsk_path_measure_get_path") | |
| 2020 | + | core.PuregoSafeRegister(&xPathMeasureGetPoint, libs, "gsk_path_measure_get_point") | |
| 2021 | + | core.PuregoSafeRegister(&xPathMeasureGetTolerance, libs, "gsk_path_measure_get_tolerance") | |
| 2022 | + | core.PuregoSafeRegister(&xPathMeasureRef, libs, "gsk_path_measure_ref") | |
| 2023 | + | core.PuregoSafeRegister(&xPathMeasureUnref, libs, "gsk_path_measure_unref") | |
| 2024 | + | ||
| 2025 | + | core.PuregoSafeRegister(&xRenderReplayGLibType, libs, "gsk_render_replay_get_type") | |
| 2026 | + | ||
| 2027 | + | core.PuregoSafeRegister(&xNewRenderReplay, libs, "gsk_render_replay_new") | |
| 2028 | + | ||
| 2029 | + | core.PuregoSafeRegister(&xRenderReplayDefault, libs, "gsk_render_replay_default") | |
| 2030 | + | core.PuregoSafeRegister(&xRenderReplayFilterFont, libs, "gsk_render_replay_filter_font") | |
| 2031 | + | core.PuregoSafeRegister(&xRenderReplayFilterNode, libs, "gsk_render_replay_filter_node") | |
| 2032 | + | core.PuregoSafeRegister(&xRenderReplayFilterTexture, libs, "gsk_render_replay_filter_texture") | |
| 2033 | + | core.PuregoSafeRegister(&xRenderReplayFree, libs, "gsk_render_replay_free") | |
| 2034 | + | core.PuregoSafeRegister(&xRenderReplaySetFontFilter, libs, "gsk_render_replay_set_font_filter") | |
| 2035 | + | core.PuregoSafeRegister(&xRenderReplaySetNodeFilter, libs, "gsk_render_replay_set_node_filter") | |
| 2036 | + | core.PuregoSafeRegister(&xRenderReplaySetTextureFilter, libs, "gsk_render_replay_set_texture_filter") | |
| 2037 | + | ||
| 2038 | + | core.PuregoSafeRegister(&xStrokeGLibType, libs, "gsk_stroke_get_type") | |
| 2039 | + | ||
| 2040 | + | core.PuregoSafeRegister(&xNewStroke, libs, "gsk_stroke_new") | |
| 2041 | + | ||
| 2042 | + | core.PuregoSafeRegister(&xStrokeCopy, libs, "gsk_stroke_copy") | |
| 2043 | + | core.PuregoSafeRegister(&xStrokeFree, libs, "gsk_stroke_free") | |
| 2044 | + | core.PuregoSafeRegister(&xStrokeGetDash, libs, "gsk_stroke_get_dash") | |
| 2045 | + | core.PuregoSafeRegister(&xStrokeGetDashOffset, libs, "gsk_stroke_get_dash_offset") | |
| 2046 | + | core.PuregoSafeRegister(&xStrokeGetLineCap, libs, "gsk_stroke_get_line_cap") | |
| 2047 | + | core.PuregoSafeRegister(&xStrokeGetLineJoin, libs, "gsk_stroke_get_line_join") | |
| 2048 | + | core.PuregoSafeRegister(&xStrokeGetLineWidth, libs, "gsk_stroke_get_line_width") | |
| 2049 | + | core.PuregoSafeRegister(&xStrokeGetMiterLimit, libs, "gsk_stroke_get_miter_limit") | |
| 2050 | + | core.PuregoSafeRegister(&xStrokeSetDash, libs, "gsk_stroke_set_dash") | |
| 2051 | + | core.PuregoSafeRegister(&xStrokeSetDashOffset, libs, "gsk_stroke_set_dash_offset") | |
| 2052 | + | core.PuregoSafeRegister(&xStrokeSetLineCap, libs, "gsk_stroke_set_line_cap") | |
| 2053 | + | core.PuregoSafeRegister(&xStrokeSetLineJoin, libs, "gsk_stroke_set_line_join") | |
| 2054 | + | core.PuregoSafeRegister(&xStrokeSetLineWidth, libs, "gsk_stroke_set_line_width") | |
| 2055 | + | core.PuregoSafeRegister(&xStrokeSetMiterLimit, libs, "gsk_stroke_set_miter_limit") | |
| 2056 | + | core.PuregoSafeRegister(&xStrokeToCairo, libs, "gsk_stroke_to_cairo") | |
| 2057 | + | ||
| 2058 | + | core.PuregoSafeRegister(&xTransformGLibType, libs, "gsk_transform_get_type") | |
| 2059 | + | ||
| 2060 | + | core.PuregoSafeRegister(&xNewTransform, libs, "gsk_transform_new") | |
| 2061 | + | ||
| 2062 | + | core.PuregoSafeRegister(&xTransformEqual, libs, "gsk_transform_equal") | |
| 2063 | + | core.PuregoSafeRegister(&xTransformGetCategory, libs, "gsk_transform_get_category") | |
| 2064 | + | core.PuregoSafeRegister(&xTransformInvert, libs, "gsk_transform_invert") | |
| 2065 | + | core.PuregoSafeRegister(&xTransformMatrix, libs, "gsk_transform_matrix") | |
| 2066 | + | core.PuregoSafeRegister(&xTransformMatrix2d, libs, "gsk_transform_matrix_2d") | |
| 2067 | + | core.PuregoSafeRegister(&xTransformPerspective, libs, "gsk_transform_perspective") | |
| 2068 | + | core.PuregoSafeRegister(&xTransformPrint, libs, "gsk_transform_print") | |
| 2069 | + | core.PuregoSafeRegister(&xTransformRef, libs, "gsk_transform_ref") | |
| 2070 | + | core.PuregoSafeRegister(&xTransformRotate, libs, "gsk_transform_rotate") | |
| 2071 | + | core.PuregoSafeRegister(&xTransformRotate3d, libs, "gsk_transform_rotate_3d") | |
| 2072 | + | core.PuregoSafeRegister(&xTransformScale, libs, "gsk_transform_scale") | |
| 2073 | + | core.PuregoSafeRegister(&xTransformScale3d, libs, "gsk_transform_scale_3d") | |
| 2074 | + | core.PuregoSafeRegister(&xTransformSkew, libs, "gsk_transform_skew") | |
| 2075 | + | core.PuregoSafeRegister(&xTransformTo2d, libs, "gsk_transform_to_2d") | |
| 2076 | + | core.PuregoSafeRegister(&xTransformTo2dComponents, libs, "gsk_transform_to_2d_components") | |
| 2077 | + | core.PuregoSafeRegister(&xTransformToAffine, libs, "gsk_transform_to_affine") | |
| 2078 | + | core.PuregoSafeRegister(&xTransformToMatrix, libs, "gsk_transform_to_matrix") | |
| 2079 | + | core.PuregoSafeRegister(&xTransformToString, libs, "gsk_transform_to_string") | |
| 2080 | + | core.PuregoSafeRegister(&xTransformToTranslate, libs, "gsk_transform_to_translate") | |
| 2081 | + | core.PuregoSafeRegister(&xTransformTransform, libs, "gsk_transform_transform") | |
| 2082 | + | core.PuregoSafeRegister(&xTransformTransformBounds, libs, "gsk_transform_transform_bounds") | |
| 2083 | + | core.PuregoSafeRegister(&xTransformTransformPoint, libs, "gsk_transform_transform_point") | |
| 2084 | + | core.PuregoSafeRegister(&xTransformTranslate, libs, "gsk_transform_translate") | |
| 2085 | + | core.PuregoSafeRegister(&xTransformTranslate3d, libs, "gsk_transform_translate_3d") | |
| 2086 | + | core.PuregoSafeRegister(&xTransformUnref, libs, "gsk_transform_unref") | |
| 2171 | 2087 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/cairo" | 10 | "github.com/bnema/puregotk/v4/cairo" | ||
| 10 | "github.com/bnema/puregotk/v4/gdk" | 11 | "github.com/bnema/puregotk/v4/gdk" | ||
| @@ -29,7 +30,6 @@ type ComponentTransfer struct { | |||||
| 29 | var xComponentTransferGLibType func() types.GType | 30 | var xComponentTransferGLibType func() types.GType | ||
| 30 | 31 | ||||
| 31 | func ComponentTransferGLibType() types.GType { | 32 | func ComponentTransferGLibType() types.GType { | ||
| 32 | - | core.LazyRegister(&xComponentTransferGLibType, "GSK", "gsk_component_transfer_get_type", false) | |||
| 33 | return xComponentTransferGLibType() | 33 | return xComponentTransferGLibType() | ||
| 34 | } | 34 | } | ||
| 35 | 35 | ||||
| @@ -67,8 +67,6 @@ var xNewComponentTransferDiscrete func(uint, []float32) uintptr | |||||
| 67 | // | 67 | // | ||
| 68 | // </figure> | 68 | // </figure> | ||
| 69 | func NewComponentTransferDiscrete(NVar uint, ValuesVar []float32) *ComponentTransfer { | 69 | func NewComponentTransferDiscrete(NVar uint, ValuesVar []float32) *ComponentTransfer { | ||
| 70 | - | core.LazyRegister(&xNewComponentTransferDiscrete, "GSK", "gsk_component_transfer_new_discrete", false) | |||
| 71 | - | ||||
| 72 | cret := xNewComponentTransferDiscrete(NVar, ValuesVar) | 70 | cret := xNewComponentTransferDiscrete(NVar, ValuesVar) | ||
| 73 | if cret == 0 { | 71 | if cret == 0 { | ||
| 74 | return nil | 72 | return nil | ||
| @@ -94,8 +92,6 @@ var xNewComponentTransferGamma func(float32, float32, float32) uintptr | |||||
| 94 | // | 92 | // | ||
| 95 | // </figure> | 93 | // </figure> | ||
| 96 | func NewComponentTransferGamma(AmpVar float32, ExpVar float32, OfsVar float32) *ComponentTransfer { | 94 | func NewComponentTransferGamma(AmpVar float32, ExpVar float32, OfsVar float32) *ComponentTransfer { | ||
| 97 | - | core.LazyRegister(&xNewComponentTransferGamma, "GSK", "gsk_component_transfer_new_gamma", false) | |||
| 98 | - | ||||
| 99 | cret := xNewComponentTransferGamma(AmpVar, ExpVar, OfsVar) | 95 | cret := xNewComponentTransferGamma(AmpVar, ExpVar, OfsVar) | ||
| 100 | if cret == 0 { | 96 | if cret == 0 { | ||
| 101 | return nil | 97 | return nil | ||
| @@ -117,8 +113,6 @@ var xNewComponentTransferIdentity func() uintptr | |||||
| 117 | // | 113 | // | ||
| 118 | // </figure> | 114 | // </figure> | ||
| 119 | func NewComponentTransferIdentity() *ComponentTransfer { | 115 | func NewComponentTransferIdentity() *ComponentTransfer { | ||
| 120 | - | core.LazyRegister(&xNewComponentTransferIdentity, "GSK", "gsk_component_transfer_new_identity", false) | |||
| 121 | - | ||||
| 122 | cret := xNewComponentTransferIdentity() | 116 | cret := xNewComponentTransferIdentity() | ||
| 123 | if cret == 0 { | 117 | if cret == 0 { | ||
| 124 | return nil | 118 | return nil | ||
| @@ -144,8 +138,6 @@ var xNewComponentTransferLevels func(float32) uintptr | |||||
| 144 | // | 138 | // | ||
| 145 | // </figure> | 139 | // </figure> | ||
| 146 | func NewComponentTransferLevels(NVar float32) *ComponentTransfer { | 140 | func NewComponentTransferLevels(NVar float32) *ComponentTransfer { | ||
| 147 | - | core.LazyRegister(&xNewComponentTransferLevels, "GSK", "gsk_component_transfer_new_levels", false) | |||
| 148 | - | ||||
| 149 | cret := xNewComponentTransferLevels(NVar) | 141 | cret := xNewComponentTransferLevels(NVar) | ||
| 150 | if cret == 0 { | 142 | if cret == 0 { | ||
| 151 | return nil | 143 | return nil | ||
| @@ -171,8 +163,6 @@ var xNewComponentTransferLinear func(float32, float32) uintptr | |||||
| 171 | // | 163 | // | ||
| 172 | // </figure> | 164 | // </figure> | ||
| 173 | func NewComponentTransferLinear(MVar float32, BVar float32) *ComponentTransfer { | 165 | func NewComponentTransferLinear(MVar float32, BVar float32) *ComponentTransfer { | ||
| 174 | - | core.LazyRegister(&xNewComponentTransferLinear, "GSK", "gsk_component_transfer_new_linear", false) | |||
| 175 | - | ||||
| 176 | cret := xNewComponentTransferLinear(MVar, BVar) | 166 | cret := xNewComponentTransferLinear(MVar, BVar) | ||
| 177 | if cret == 0 { | 167 | if cret == 0 { | ||
| 178 | return nil | 168 | return nil | ||
| @@ -202,8 +192,6 @@ var xNewComponentTransferTable func(uint, []float32) uintptr | |||||
| 202 | // | 192 | // | ||
| 203 | // </figure> | 193 | // </figure> | ||
| 204 | func NewComponentTransferTable(NVar uint, ValuesVar []float32) *ComponentTransfer { | 194 | func NewComponentTransferTable(NVar uint, ValuesVar []float32) *ComponentTransfer { | ||
| 205 | - | core.LazyRegister(&xNewComponentTransferTable, "GSK", "gsk_component_transfer_new_table", false) | |||
| 206 | - | ||||
| 207 | cret := xNewComponentTransferTable(NVar, ValuesVar) | 195 | cret := xNewComponentTransferTable(NVar, ValuesVar) | ||
| 208 | if cret == 0 { | 196 | if cret == 0 { | ||
| 209 | return nil | 197 | return nil | ||
| @@ -215,8 +203,6 @@ var xComponentTransferCopy func(uintptr) uintptr | |||||
| 215 | 203 | ||||
| 216 | // Creates a copy of @other. | 204 | // Creates a copy of @other. | ||
| 217 | func (x *ComponentTransfer) Copy() *ComponentTransfer { | 205 | func (x *ComponentTransfer) Copy() *ComponentTransfer { | ||
| 218 | - | core.LazyRegister(&xComponentTransferCopy, "GSK", "gsk_component_transfer_copy", false) | |||
| 219 | - | ||||
| 220 | cret := xComponentTransferCopy(x.GoPointer()) | 206 | cret := xComponentTransferCopy(x.GoPointer()) | ||
| 221 | if cret == 0 { | 207 | if cret == 0 { | ||
| 222 | return nil | 208 | return nil | ||
| @@ -228,8 +214,6 @@ var xComponentTransferFree func(uintptr) | |||||
| 228 | 214 | ||||
| 229 | // Frees a component transfer. | 215 | // Frees a component transfer. | ||
| 230 | func (x *ComponentTransfer) Free() { | 216 | func (x *ComponentTransfer) Free() { | ||
| 231 | - | core.LazyRegister(&xComponentTransferFree, "GSK", "gsk_component_transfer_free", false) | |||
| 232 | - | ||||
| 233 | xComponentTransferFree(x.GoPointer()) | 217 | xComponentTransferFree(x.GoPointer()) | ||
| 234 | } | 218 | } | ||
| 235 | 219 | ||||
| @@ -260,7 +244,6 @@ type Path struct { | |||||
| 260 | var xPathGLibType func() types.GType | 244 | var xPathGLibType func() types.GType | ||
| 261 | 245 | ||||
| 262 | func PathGLibType() types.GType { | 246 | func PathGLibType() types.GType { | ||
| 263 | - | core.LazyRegister(&xPathGLibType, "GSK", "gsk_path_get_type", false) | |||
| 264 | return xPathGLibType() | 247 | return xPathGLibType() | ||
| 265 | } | 248 | } | ||
| 266 | 249 | ||||
| @@ -283,8 +266,6 @@ var xPathEqual func(uintptr, *Path) bool | |||||
| 283 | // Note that it is possible to construct paths that render | 266 | // Note that it is possible to construct paths that render | ||
| 284 | // identical even though they don't have the same structure. | 267 | // identical even though they don't have the same structure. | ||
| 285 | func (x *Path) Equal(Path2Var *Path) bool { | 268 | func (x *Path) Equal(Path2Var *Path) bool { | ||
| 286 | - | core.LazyRegister(&xPathEqual, "GSK", "gsk_path_equal", false) | |||
| 287 | - | ||||
| 288 | cret := xPathEqual(x.GoPointer(), Path2Var) | 269 | cret := xPathEqual(x.GoPointer(), Path2Var) | ||
| 289 | return cret | 270 | return cret | ||
| 290 | } | 271 | } | ||
| @@ -305,8 +286,6 @@ var xPathForeach func(uintptr, PathForeachFlags, uintptr, uintptr) bool | |||||
| 305 | // - When the @flags disallow certain operations, it provides | 286 | // - When the @flags disallow certain operations, it provides | ||
| 306 | // an approximation of the path using just the allowed operations. | 287 | // an approximation of the path using just the allowed operations. | ||
| 307 | func (x *Path) Foreach(FlagsVar PathForeachFlags, FuncVar *PathForeachFunc, UserDataVar uintptr) bool { | 288 | func (x *Path) Foreach(FlagsVar PathForeachFlags, FuncVar *PathForeachFunc, UserDataVar uintptr) bool { | ||
| 308 | - | core.LazyRegister(&xPathForeach, "GSK", "gsk_path_foreach", false) | |||
| 309 | - | ||||
| 310 | cret := xPathForeach(x.GoPointer(), FlagsVar, glib.NewCallback(FuncVar), UserDataVar) | 289 | cret := xPathForeach(x.GoPointer(), FlagsVar, glib.NewCallback(FuncVar), UserDataVar) | ||
| 311 | return cret | 290 | return cret | ||
| 312 | } | 291 | } | ||
| @@ -329,8 +308,6 @@ var xPathForeachIntersection func(uintptr, *Path, uintptr, uintptr) bool | |||||
| 329 | // | 308 | // | ||
| 330 | // If @func returns `FALSE`, the iteration is stopped. | 309 | // If @func returns `FALSE`, the iteration is stopped. | ||
| 331 | func (x *Path) ForeachIntersection(Path2Var *Path, FuncVar *PathIntersectionFunc, UserDataVar uintptr) bool { | 310 | func (x *Path) ForeachIntersection(Path2Var *Path, FuncVar *PathIntersectionFunc, UserDataVar uintptr) bool { | ||
| 332 | - | core.LazyRegister(&xPathForeachIntersection, "GSK", "gsk_path_foreach_intersection", false) | |||
| 333 | - | ||||
| 334 | cret := xPathForeachIntersection(x.GoPointer(), Path2Var, glib.NewCallback(FuncVar), UserDataVar) | 311 | cret := xPathForeachIntersection(x.GoPointer(), Path2Var, glib.NewCallback(FuncVar), UserDataVar) | ||
| 335 | return cret | 312 | return cret | ||
| 336 | } | 313 | } | ||
| @@ -353,8 +330,6 @@ var xPathGetBounds func(uintptr, *graphene.Rect) bool | |||||
| 353 | // is a single point at the origin, where the @bounds will also be set to | 330 | // is a single point at the origin, where the @bounds will also be set to | ||
| 354 | // the zero rectangle but true will be returned. | 331 | // the zero rectangle but true will be returned. | ||
| 355 | func (x *Path) GetBounds(BoundsVar *graphene.Rect) bool { | 332 | func (x *Path) GetBounds(BoundsVar *graphene.Rect) bool { | ||
| 356 | - | core.LazyRegister(&xPathGetBounds, "GSK", "gsk_path_get_bounds", false) | |||
| 357 | - | ||||
| 358 | cret := xPathGetBounds(x.GoPointer(), BoundsVar) | 333 | cret := xPathGetBounds(x.GoPointer(), BoundsVar) | ||
| 359 | return cret | 334 | return cret | ||
| 360 | } | 335 | } | ||
| @@ -366,8 +341,6 @@ var xPathGetClosestPoint func(uintptr, *graphene.Point, float32, *PathPoint, *fl | |||||
| 366 | // If there is no point closer than the given threshold, | 341 | // If there is no point closer than the given threshold, | ||
| 367 | // false is returned. | 342 | // false is returned. | ||
| 368 | func (x *Path) GetClosestPoint(PointVar *graphene.Point, ThresholdVar float32, ResultVar *PathPoint, DistanceVar *float32) bool { | 343 | func (x *Path) GetClosestPoint(PointVar *graphene.Point, ThresholdVar float32, ResultVar *PathPoint, DistanceVar *float32) bool { | ||
| 369 | - | core.LazyRegister(&xPathGetClosestPoint, "GSK", "gsk_path_get_closest_point", false) | |||
| 370 | - | ||||
| 371 | cret := xPathGetClosestPoint(x.GoPointer(), PointVar, ThresholdVar, ResultVar, DistanceVar) | 344 | cret := xPathGetClosestPoint(x.GoPointer(), PointVar, ThresholdVar, ResultVar, DistanceVar) | ||
| 372 | return cret | 345 | return cret | ||
| 373 | } | 346 | } | ||
| @@ -379,8 +352,6 @@ var xPathGetEndPoint func(uintptr, *PathPoint) bool | |||||
| 379 | // An empty path has no points, so false | 352 | // An empty path has no points, so false | ||
| 380 | // is returned in this case. | 353 | // is returned in this case. | ||
| 381 | func (x *Path) GetEndPoint(ResultVar *PathPoint) bool { | 354 | func (x *Path) GetEndPoint(ResultVar *PathPoint) bool { | ||
| 382 | - | core.LazyRegister(&xPathGetEndPoint, "GSK", "gsk_path_get_end_point", false) | |||
| 383 | - | ||||
| 384 | cret := xPathGetEndPoint(x.GoPointer(), ResultVar) | 355 | cret := xPathGetEndPoint(x.GoPointer(), ResultVar) | ||
| 385 | return cret | 356 | return cret | ||
| 386 | } | 357 | } | ||
| @@ -392,8 +363,6 @@ var xPathGetNext func(uintptr, *PathPoint) bool | |||||
| 392 | // An empty path has no points, so false | 363 | // An empty path has no points, so false | ||
| 393 | // is returned in this case. | 364 | // is returned in this case. | ||
| 394 | func (x *Path) GetNext(PointVar *PathPoint) bool { | 365 | func (x *Path) GetNext(PointVar *PathPoint) bool { | ||
| 395 | - | core.LazyRegister(&xPathGetNext, "GSK", "gsk_path_get_next", false) | |||
| 396 | - | ||||
| 397 | cret := xPathGetNext(x.GoPointer(), PointVar) | 366 | cret := xPathGetNext(x.GoPointer(), PointVar) | ||
| 398 | return cret | 367 | return cret | ||
| 399 | } | 368 | } | ||
| @@ -405,8 +374,6 @@ var xPathGetPrevious func(uintptr, *PathPoint) bool | |||||
| 405 | // An empty path has no points, so false | 374 | // An empty path has no points, so false | ||
| 406 | // is returned in this case. | 375 | // is returned in this case. | ||
| 407 | func (x *Path) GetPrevious(PointVar *PathPoint) bool { | 376 | func (x *Path) GetPrevious(PointVar *PathPoint) bool { | ||
| 408 | - | core.LazyRegister(&xPathGetPrevious, "GSK", "gsk_path_get_previous", false) | |||
| 409 | - | ||||
| 410 | cret := xPathGetPrevious(x.GoPointer(), PointVar) | 377 | cret := xPathGetPrevious(x.GoPointer(), PointVar) | ||
| 411 | return cret | 378 | return cret | ||
| 412 | } | 379 | } | ||
| @@ -418,8 +385,6 @@ var xPathGetStartPoint func(uintptr, *PathPoint) bool | |||||
| 418 | // An empty path has no points, so false | 385 | // An empty path has no points, so false | ||
| 419 | // is returned in this case. | 386 | // is returned in this case. | ||
| 420 | func (x *Path) GetStartPoint(ResultVar *PathPoint) bool { | 387 | func (x *Path) GetStartPoint(ResultVar *PathPoint) bool { | ||
| 421 | - | core.LazyRegister(&xPathGetStartPoint, "GSK", "gsk_path_get_start_point", false) | |||
| 422 | - | ||||
| 423 | cret := xPathGetStartPoint(x.GoPointer(), ResultVar) | 388 | cret := xPathGetStartPoint(x.GoPointer(), ResultVar) | ||
| 424 | return cret | 389 | return cret | ||
| 425 | } | 390 | } | ||
| @@ -434,8 +399,6 @@ var xPathGetStrokeBounds func(uintptr, *Stroke, *graphene.Rect) bool | |||||
| 434 | // to contain the area affected by the stroke, including protrusions | 399 | // to contain the area affected by the stroke, including protrusions | ||
| 435 | // like miters. | 400 | // like miters. | ||
| 436 | func (x *Path) GetStrokeBounds(StrokeVar *Stroke, BoundsVar *graphene.Rect) bool { | 401 | func (x *Path) GetStrokeBounds(StrokeVar *Stroke, BoundsVar *graphene.Rect) bool { | ||
| 437 | - | core.LazyRegister(&xPathGetStrokeBounds, "GSK", "gsk_path_get_stroke_bounds", false) | |||
| 438 | - | ||||
| 439 | cret := xPathGetStrokeBounds(x.GoPointer(), StrokeVar, BoundsVar) | 402 | cret := xPathGetStrokeBounds(x.GoPointer(), StrokeVar, BoundsVar) | ||
| 440 | return cret | 403 | return cret | ||
| 441 | } | 404 | } | ||
| @@ -447,8 +410,6 @@ var xPathGetTightBounds func(uintptr, *graphene.Rect) bool | |||||
| 447 | // This function works harder than [method@Gsk.Path.get_bounds] to | 410 | // This function works harder than [method@Gsk.Path.get_bounds] to | ||
| 448 | // produce the smallest possible bounds. | 411 | // produce the smallest possible bounds. | ||
| 449 | func (x *Path) GetTightBounds(BoundsVar *graphene.Rect) bool { | 412 | func (x *Path) GetTightBounds(BoundsVar *graphene.Rect) bool { | ||
| 450 | - | core.LazyRegister(&xPathGetTightBounds, "GSK", "gsk_path_get_tight_bounds", false) | |||
| 451 | - | ||||
| 452 | cret := xPathGetTightBounds(x.GoPointer(), BoundsVar) | 413 | cret := xPathGetTightBounds(x.GoPointer(), BoundsVar) | ||
| 453 | return cret | 414 | return cret | ||
| 454 | } | 415 | } | ||
| @@ -460,8 +421,6 @@ var xPathInFill func(uintptr, *graphene.Point, FillRule) bool | |||||
| 460 | // Note that this function assumes that filling a contour | 421 | // Note that this function assumes that filling a contour | ||
| 461 | // implicitly closes it. | 422 | // implicitly closes it. | ||
| 462 | func (x *Path) InFill(PointVar *graphene.Point, FillRuleVar FillRule) bool { | 423 | func (x *Path) InFill(PointVar *graphene.Point, FillRuleVar FillRule) bool { | ||
| 463 | - | core.LazyRegister(&xPathInFill, "GSK", "gsk_path_in_fill", false) | |||
| 464 | - | ||||
| 465 | cret := xPathInFill(x.GoPointer(), PointVar, FillRuleVar) | 424 | cret := xPathInFill(x.GoPointer(), PointVar, FillRuleVar) | ||
| 466 | return cret | 425 | return cret | ||
| 467 | } | 426 | } | ||
| @@ -470,8 +429,6 @@ var xPathIsClosed func(uintptr) bool | |||||
| 470 | 429 | ||||
| 471 | // Returns if the path represents a single closed contour. | 430 | // Returns if the path represents a single closed contour. | ||
| 472 | func (x *Path) IsClosed() bool { | 431 | func (x *Path) IsClosed() bool { | ||
| 473 | - | core.LazyRegister(&xPathIsClosed, "GSK", "gsk_path_is_closed", false) | |||
| 474 | - | ||||
| 475 | cret := xPathIsClosed(x.GoPointer()) | 432 | cret := xPathIsClosed(x.GoPointer()) | ||
| 476 | return cret | 433 | return cret | ||
| 477 | } | 434 | } | ||
| @@ -480,8 +437,6 @@ var xPathIsEmpty func(uintptr) bool | |||||
| 480 | 437 | ||||
| 481 | // Checks if the path is empty, i.e. contains no lines or curves. | 438 | // Checks if the path is empty, i.e. contains no lines or curves. | ||
| 482 | func (x *Path) IsEmpty() bool { | 439 | func (x *Path) IsEmpty() bool { | ||
| 483 | - | core.LazyRegister(&xPathIsEmpty, "GSK", "gsk_path_is_empty", false) | |||
| 484 | - | ||||
| 485 | cret := xPathIsEmpty(x.GoPointer()) | 440 | cret := xPathIsEmpty(x.GoPointer()) | ||
| 486 | return cret | 441 | return cret | ||
| 487 | } | 442 | } | ||
| @@ -494,8 +449,6 @@ var xPathPrint func(uintptr, *glib.String) | |||||
| 494 | // [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | 449 | // [SVG path syntax](https://www.w3.org/TR/SVG11/paths.html#PathData), | ||
| 495 | // see [func@Gsk.Path.parse] for a summary of the syntax. | 450 | // see [func@Gsk.Path.parse] for a summary of the syntax. | ||
| 496 | func (x *Path) Print(StringVar *glib.String) { | 451 | func (x *Path) Print(StringVar *glib.String) { | ||
| 497 | - | core.LazyRegister(&xPathPrint, "GSK", "gsk_path_print", false) | |||
| 498 | - | ||||
| 499 | xPathPrint(x.GoPointer(), StringVar) | 452 | xPathPrint(x.GoPointer(), StringVar) | ||
| 500 | } | 453 | } | ||
| 501 | 454 | ||||
| @@ -503,8 +456,6 @@ var xPathRef func(uintptr) uintptr | |||||
| 503 | 456 | ||||
| 504 | // Increases the reference count of a path by one. | 457 | // Increases the reference count of a path by one. | ||
| 505 | func (x *Path) Ref() *Path { | 458 | func (x *Path) Ref() *Path { | ||
| 506 | - | core.LazyRegister(&xPathRef, "GSK", "gsk_path_ref", false) | |||
| 507 | - | ||||
| 508 | cret := xPathRef(x.GoPointer()) | 459 | cret := xPathRef(x.GoPointer()) | ||
| 509 | if cret == 0 { | 460 | if cret == 0 { | ||
| 510 | return nil | 461 | return nil | ||
| @@ -522,8 +473,6 @@ var xPathToCairo func(uintptr, *cairo.Context) | |||||
| 522 | // This function does not clear the existing Cairo path. Call | 473 | // This function does not clear the existing Cairo path. Call | ||
| 523 | // cairo_new_path() if you want this. | 474 | // cairo_new_path() if you want this. | ||
| 524 | func (x *Path) ToCairo(CrVar *cairo.Context) { | 475 | func (x *Path) ToCairo(CrVar *cairo.Context) { | ||
| 525 | - | core.LazyRegister(&xPathToCairo, "GSK", "gsk_path_to_cairo", false) | |||
| 526 | - | ||||
| 527 | xPathToCairo(x.GoPointer(), CrVar) | 476 | xPathToCairo(x.GoPointer(), CrVar) | ||
| 528 | } | 477 | } | ||
| 529 | 478 | ||||
| @@ -537,8 +486,6 @@ var xPathToString func(uintptr) string | |||||
| 537 | // This is a wrapper around [method@Gsk.Path.print], see that function | 486 | // This is a wrapper around [method@Gsk.Path.print], see that function | ||
| 538 | // for details. | 487 | // for details. | ||
| 539 | func (x *Path) ToString() string { | 488 | func (x *Path) ToString() string { | ||
| 540 | - | core.LazyRegister(&xPathToString, "GSK", "gsk_path_to_string", false) | |||
| 541 | - | ||||
| 542 | cret := xPathToString(x.GoPointer()) | 489 | cret := xPathToString(x.GoPointer()) | ||
| 543 | return cret | 490 | return cret | ||
| 544 | } | 491 | } | ||
| @@ -549,8 +496,6 @@ var xPathUnref func(uintptr) | |||||
| 549 | // | 496 | // | ||
| 550 | // If the resulting reference count is zero, frees the path. | 497 | // If the resulting reference count is zero, frees the path. | ||
| 551 | func (x *Path) Unref() { | 498 | func (x *Path) Unref() { | ||
| 552 | - | core.LazyRegister(&xPathUnref, "GSK", "gsk_path_unref", false) | |||
| 553 | - | ||||
| 554 | xPathUnref(x.GoPointer()) | 499 | xPathUnref(x.GoPointer()) | ||
| 555 | } | 500 | } | ||
| 556 | 501 | ||||
| @@ -601,7 +546,6 @@ type PathBuilder struct { | |||||
| 601 | var xPathBuilderGLibType func() types.GType | 546 | var xPathBuilderGLibType func() types.GType | ||
| 602 | 547 | ||||
| 603 | func PathBuilderGLibType() types.GType { | 548 | func PathBuilderGLibType() types.GType { | ||
| 604 | - | core.LazyRegister(&xPathBuilderGLibType, "GSK", "gsk_path_builder_get_type", false) | |||
| 605 | return xPathBuilderGLibType() | 549 | return xPathBuilderGLibType() | ||
| 606 | } | 550 | } | ||
| 607 | 551 | ||||
| @@ -624,8 +568,6 @@ var xNewPathBuilder func() uintptr | |||||
| 624 | // The resulting builder would create an empty `GskPath`. | 568 | // The resulting builder would create an empty `GskPath`. | ||
| 625 | // Use addition functions to add types to it. | 569 | // Use addition functions to add types to it. | ||
| 626 | func NewPathBuilder() *PathBuilder { | 570 | func NewPathBuilder() *PathBuilder { | ||
| 627 | - | core.LazyRegister(&xNewPathBuilder, "GSK", "gsk_path_builder_new", false) | |||
| 628 | - | ||||
| 629 | cret := xNewPathBuilder() | 571 | cret := xNewPathBuilder() | ||
| 630 | if cret == 0 { | 572 | if cret == 0 { | ||
| 631 | return nil | 573 | return nil | ||
| @@ -640,8 +582,6 @@ var xPathBuilderAddCairoPath func(uintptr, *cairo.Path) | |||||
| 640 | // You can use cairo_copy_path() to access the path | 582 | // You can use cairo_copy_path() to access the path | ||
| 641 | // from a Cairo context. | 583 | // from a Cairo context. | ||
| 642 | func (x *PathBuilder) AddCairoPath(PathVar *cairo.Path) { | 584 | func (x *PathBuilder) AddCairoPath(PathVar *cairo.Path) { | ||
| 643 | - | core.LazyRegister(&xPathBuilderAddCairoPath, "GSK", "gsk_path_builder_add_cairo_path", false) | |||
| 644 | - | ||||
| 645 | xPathBuilderAddCairoPath(x.GoPointer(), PathVar) | 585 | xPathBuilderAddCairoPath(x.GoPointer(), PathVar) | ||
| 646 | } | 586 | } | ||
| 647 | 587 | ||||
| @@ -653,8 +593,6 @@ var xPathBuilderAddCircle func(uintptr, *graphene.Point, float32) | |||||
| 653 | // | 593 | // | ||
| 654 | // If @radius is zero, the contour will be a closed point. | 594 | // If @radius is zero, the contour will be a closed point. | ||
| 655 | func (x *PathBuilder) AddCircle(CenterVar *graphene.Point, RadiusVar float32) { | 595 | func (x *PathBuilder) AddCircle(CenterVar *graphene.Point, RadiusVar float32) { | ||
| 656 | - | core.LazyRegister(&xPathBuilderAddCircle, "GSK", "gsk_path_builder_add_circle", false) | |||
| 657 | - | ||||
| 658 | xPathBuilderAddCircle(x.GoPointer(), CenterVar, RadiusVar) | 596 | xPathBuilderAddCircle(x.GoPointer(), CenterVar, RadiusVar) | ||
| 659 | } | 597 | } | ||
| 660 | 598 | ||||
| @@ -662,8 +600,6 @@ var xPathBuilderAddLayout func(uintptr, uintptr) | |||||
| 662 | 600 | ||||
| 663 | // Adds the outlines for the glyphs in @layout to the builder. | 601 | // Adds the outlines for the glyphs in @layout to the builder. | ||
| 664 | func (x *PathBuilder) AddLayout(LayoutVar *pango.Layout) { | 602 | func (x *PathBuilder) AddLayout(LayoutVar *pango.Layout) { | ||
| 665 | - | core.LazyRegister(&xPathBuilderAddLayout, "GSK", "gsk_path_builder_add_layout", false) | |||
| 666 | - | ||||
| 667 | xPathBuilderAddLayout(x.GoPointer(), LayoutVar.GoPointer()) | 603 | xPathBuilderAddLayout(x.GoPointer(), LayoutVar.GoPointer()) | ||
| 668 | } | 604 | } | ||
| 669 | 605 | ||||
| @@ -671,8 +607,6 @@ var xPathBuilderAddPath func(uintptr, *Path) | |||||
| 671 | 607 | ||||
| 672 | // Appends all of @path to the builder. | 608 | // Appends all of @path to the builder. | ||
| 673 | func (x *PathBuilder) AddPath(PathVar *Path) { | 609 | func (x *PathBuilder) AddPath(PathVar *Path) { | ||
| 674 | - | core.LazyRegister(&xPathBuilderAddPath, "GSK", "gsk_path_builder_add_path", false) | |||
| 675 | - | ||||
| 676 | xPathBuilderAddPath(x.GoPointer(), PathVar) | 610 | xPathBuilderAddPath(x.GoPointer(), PathVar) | ||
| 677 | } | 611 | } | ||
| 678 | 612 | ||||
| @@ -685,8 +619,6 @@ var xPathBuilderAddRect func(uintptr, *graphene.Rect) | |||||
| 685 | // If the the width or height are 0, the path will be a closed | 619 | // If the the width or height are 0, the path will be a closed | ||
| 686 | // horizontal or vertical line. If both are 0, it'll be a closed dot. | 620 | // horizontal or vertical line. If both are 0, it'll be a closed dot. | ||
| 687 | func (x *PathBuilder) AddRect(RectVar *graphene.Rect) { | 621 | func (x *PathBuilder) AddRect(RectVar *graphene.Rect) { | ||
| 688 | - | core.LazyRegister(&xPathBuilderAddRect, "GSK", "gsk_path_builder_add_rect", false) | |||
| 689 | - | ||||
| 690 | xPathBuilderAddRect(x.GoPointer(), RectVar) | 622 | xPathBuilderAddRect(x.GoPointer(), RectVar) | ||
| 691 | } | 623 | } | ||
| 692 | 624 | ||||
| @@ -694,8 +626,6 @@ var xPathBuilderAddReversePath func(uintptr, *Path) | |||||
| 694 | 626 | ||||
| 695 | // Appends all of @path to the builder, in reverse order. | 627 | // Appends all of @path to the builder, in reverse order. | ||
| 696 | func (x *PathBuilder) AddReversePath(PathVar *Path) { | 628 | func (x *PathBuilder) AddReversePath(PathVar *Path) { | ||
| 697 | - | core.LazyRegister(&xPathBuilderAddReversePath, "GSK", "gsk_path_builder_add_reverse_path", false) | |||
| 698 | - | ||||
| 699 | xPathBuilderAddReversePath(x.GoPointer(), PathVar) | 629 | xPathBuilderAddReversePath(x.GoPointer(), PathVar) | ||
| 700 | } | 630 | } | ||
| 701 | 631 | ||||
| @@ -705,8 +635,6 @@ var xPathBuilderAddRoundedRect func(uintptr, *RoundedRect) | |||||
| 705 | // | 635 | // | ||
| 706 | // The path is going around the rectangle in clockwise direction. | 636 | // The path is going around the rectangle in clockwise direction. | ||
| 707 | func (x *PathBuilder) AddRoundedRect(RectVar *RoundedRect) { | 637 | func (x *PathBuilder) AddRoundedRect(RectVar *RoundedRect) { | ||
| 708 | - | core.LazyRegister(&xPathBuilderAddRoundedRect, "GSK", "gsk_path_builder_add_rounded_rect", false) | |||
| 709 | - | ||||
| 710 | xPathBuilderAddRoundedRect(x.GoPointer(), RectVar) | 638 | xPathBuilderAddRoundedRect(x.GoPointer(), RectVar) | ||
| 711 | } | 639 | } | ||
| 712 | 640 | ||||
| @@ -722,8 +650,6 @@ var xPathBuilderAddSegment func(uintptr, *Path, *PathPoint, *PathPoint) | |||||
| 722 | // Note that this method always adds a path with the given start point | 650 | // Note that this method always adds a path with the given start point | ||
| 723 | // and end point. To add a closed path, use [method@Gsk.PathBuilder.add_path]. | 651 | // and end point. To add a closed path, use [method@Gsk.PathBuilder.add_path]. | ||
| 724 | func (x *PathBuilder) AddSegment(PathVar *Path, StartVar *PathPoint, EndVar *PathPoint) { | 652 | func (x *PathBuilder) AddSegment(PathVar *Path, StartVar *PathPoint, EndVar *PathPoint) { | ||
| 725 | - | core.LazyRegister(&xPathBuilderAddSegment, "GSK", "gsk_path_builder_add_segment", false) | |||
| 726 | - | ||||
| 727 | xPathBuilderAddSegment(x.GoPointer(), PathVar, StartVar, EndVar) | 653 | xPathBuilderAddSegment(x.GoPointer(), PathVar, StartVar, EndVar) | ||
| 728 | } | 654 | } | ||
| 729 | 655 | ||||
| @@ -746,8 +672,6 @@ var xPathBuilderArcTo func(uintptr, float32, float32, float32, float32) | |||||
| 746 | // | 672 | // | ||
| 747 | // </picture> | 673 | // </picture> | ||
| 748 | func (x *PathBuilder) ArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | 674 | func (x *PathBuilder) ArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | ||
| 749 | - | core.LazyRegister(&xPathBuilderArcTo, "GSK", "gsk_path_builder_arc_to", false) | |||
| 750 | - | ||||
| 751 | xPathBuilderArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | 675 | xPathBuilderArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | ||
| 752 | } | 676 | } | ||
| 753 | 677 | ||||
| @@ -761,8 +685,6 @@ var xPathBuilderClose func(uintptr) | |||||
| 761 | // start and end point are considered connected, so they will be | 685 | // start and end point are considered connected, so they will be | ||
| 762 | // joined via the line join, and not ended with line caps. | 686 | // joined via the line join, and not ended with line caps. | ||
| 763 | func (x *PathBuilder) Close() { | 687 | func (x *PathBuilder) Close() { | ||
| 764 | - | core.LazyRegister(&xPathBuilderClose, "GSK", "gsk_path_builder_close", false) | |||
| 765 | - | ||||
| 766 | xPathBuilderClose(x.GoPointer()) | 688 | xPathBuilderClose(x.GoPointer()) | ||
| 767 | } | 689 | } | ||
| 768 | 690 | ||||
| @@ -787,8 +709,6 @@ var xPathBuilderConicTo func(uintptr, float32, float32, float32, float32, float3 | |||||
| 787 | // | 709 | // | ||
| 788 | // </picture> | 710 | // </picture> | ||
| 789 | func (x *PathBuilder) ConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | 711 | func (x *PathBuilder) ConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | ||
| 790 | - | core.LazyRegister(&xPathBuilderConicTo, "GSK", "gsk_path_builder_conic_to", false) | |||
| 791 | - | ||||
| 792 | xPathBuilderConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | 712 | xPathBuilderConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | ||
| 793 | } | 713 | } | ||
| 794 | 714 | ||||
| @@ -807,8 +727,6 @@ var xPathBuilderCubicTo func(uintptr, float32, float32, float32, float32, float3 | |||||
| 807 | // | 727 | // | ||
| 808 | // </picture> | 728 | // </picture> | ||
| 809 | func (x *PathBuilder) CubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | 729 | func (x *PathBuilder) CubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | ||
| 810 | - | core.LazyRegister(&xPathBuilderCubicTo, "GSK", "gsk_path_builder_cubic_to", false) | |||
| 811 | - | ||||
| 812 | xPathBuilderCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | 730 | xPathBuilderCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | ||
| 813 | } | 731 | } | ||
| 814 | 732 | ||||
| @@ -817,8 +735,6 @@ var xPathBuilderFreeToPath func(uintptr) uintptr | |||||
| 817 | // Creates a new path from the current state of the | 735 | // Creates a new path from the current state of the | ||
| 818 | // builder, and unrefs the builder. | 736 | // builder, and unrefs the builder. | ||
| 819 | func (x *PathBuilder) FreeToPath() *Path { | 737 | func (x *PathBuilder) FreeToPath() *Path { | ||
| 820 | - | core.LazyRegister(&xPathBuilderFreeToPath, "GSK", "gsk_path_builder_free_to_path", false) | |||
| 821 | - | ||||
| 822 | cret := xPathBuilderFreeToPath(x.GoPointer()) | 738 | cret := xPathBuilderFreeToPath(x.GoPointer()) | ||
| 823 | if cret == 0 { | 739 | if cret == 0 { | ||
| 824 | return nil | 740 | return nil | ||
| @@ -837,8 +753,6 @@ var xPathBuilderGetCurrentPoint func(uintptr) uintptr | |||||
| 837 | // to `0, 0`. Note that this is different from cairo, which starts | 753 | // to `0, 0`. Note that this is different from cairo, which starts | ||
| 838 | // out without a current point. | 754 | // out without a current point. | ||
| 839 | func (x *PathBuilder) GetCurrentPoint() *graphene.Point { | 755 | func (x *PathBuilder) GetCurrentPoint() *graphene.Point { | ||
| 840 | - | core.LazyRegister(&xPathBuilderGetCurrentPoint, "GSK", "gsk_path_builder_get_current_point", false) | |||
| 841 | - | ||||
| 842 | cret := xPathBuilderGetCurrentPoint(x.GoPointer()) | 756 | cret := xPathBuilderGetCurrentPoint(x.GoPointer()) | ||
| 843 | if cret == 0 { | 757 | if cret == 0 { | ||
| 844 | return nil | 758 | return nil | ||
| @@ -858,8 +772,6 @@ var xPathBuilderHtmlArcTo func(uintptr, float32, float32, float32, float32, floa | |||||
| 858 | // the circle with the given radius touches the line from | 772 | // the circle with the given radius touches the line from | ||
| 859 | // @x1, @y1 to @x2, @y2. | 773 | // @x1, @y1 to @x2, @y2. | ||
| 860 | func (x *PathBuilder) HtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | 774 | func (x *PathBuilder) HtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | ||
| 861 | - | core.LazyRegister(&xPathBuilderHtmlArcTo, "GSK", "gsk_path_builder_html_arc_to", false) | |||
| 862 | - | ||||
| 863 | xPathBuilderHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | 775 | xPathBuilderHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | ||
| 864 | } | 776 | } | ||
| 865 | 777 | ||||
| @@ -875,8 +787,6 @@ var xPathBuilderLineTo func(uintptr, float32, float32) | |||||
| 875 | // | 787 | // | ||
| 876 | // </picture> | 788 | // </picture> | ||
| 877 | func (x *PathBuilder) LineTo(XVar float32, YVar float32) { | 789 | func (x *PathBuilder) LineTo(XVar float32, YVar float32) { | ||
| 878 | - | core.LazyRegister(&xPathBuilderLineTo, "GSK", "gsk_path_builder_line_to", false) | |||
| 879 | - | ||||
| 880 | xPathBuilderLineTo(x.GoPointer(), XVar, YVar) | 790 | xPathBuilderLineTo(x.GoPointer(), XVar, YVar) | ||
| 881 | } | 791 | } | ||
| 882 | 792 | ||||
| @@ -888,8 +798,6 @@ var xPathBuilderMoveTo func(uintptr, float32, float32) | |||||
| 888 | // call will result in a contour made up of a single point. | 798 | // call will result in a contour made up of a single point. | ||
| 889 | // The second call will start a new contour. | 799 | // The second call will start a new contour. | ||
| 890 | func (x *PathBuilder) MoveTo(XVar float32, YVar float32) { | 800 | func (x *PathBuilder) MoveTo(XVar float32, YVar float32) { | ||
| 891 | - | core.LazyRegister(&xPathBuilderMoveTo, "GSK", "gsk_path_builder_move_to", false) | |||
| 892 | - | ||||
| 893 | xPathBuilderMoveTo(x.GoPointer(), XVar, YVar) | 801 | xPathBuilderMoveTo(x.GoPointer(), XVar, YVar) | ||
| 894 | } | 802 | } | ||
| 895 | 803 | ||||
| @@ -907,8 +815,6 @@ var xPathBuilderQuadTo func(uintptr, float32, float32, float32, float32) | |||||
| 907 | // | 815 | // | ||
| 908 | // </picture> | 816 | // </picture> | ||
| 909 | func (x *PathBuilder) QuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | 817 | func (x *PathBuilder) QuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | ||
| 910 | - | core.LazyRegister(&xPathBuilderQuadTo, "GSK", "gsk_path_builder_quad_to", false) | |||
| 911 | - | ||||
| 912 | xPathBuilderQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | 818 | xPathBuilderQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | ||
| 913 | } | 819 | } | ||
| 914 | 820 | ||||
| @@ -919,8 +825,6 @@ var xPathBuilderRef func(uintptr) uintptr | |||||
| 919 | // This function is intended primarily for language bindings. | 825 | // This function is intended primarily for language bindings. | ||
| 920 | // `GskPathBuilder` objects should not be kept around. | 826 | // `GskPathBuilder` objects should not be kept around. | ||
| 921 | func (x *PathBuilder) Ref() *PathBuilder { | 827 | func (x *PathBuilder) Ref() *PathBuilder { | ||
| 922 | - | core.LazyRegister(&xPathBuilderRef, "GSK", "gsk_path_builder_ref", false) | |||
| 923 | - | ||||
| 924 | cret := xPathBuilderRef(x.GoPointer()) | 828 | cret := xPathBuilderRef(x.GoPointer()) | ||
| 925 | if cret == 0 { | 829 | if cret == 0 { | ||
| 926 | return nil | 830 | return nil | ||
| @@ -937,8 +841,6 @@ var xPathBuilderRelArcTo func(uintptr, float32, float32, float32, float32) | |||||
| 937 | // | 841 | // | ||
| 938 | // This is the relative version of [method@Gsk.PathBuilder.arc_to]. | 842 | // This is the relative version of [method@Gsk.PathBuilder.arc_to]. | ||
| 939 | func (x *PathBuilder) RelArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | 843 | func (x *PathBuilder) RelArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | ||
| 940 | - | core.LazyRegister(&xPathBuilderRelArcTo, "GSK", "gsk_path_builder_rel_arc_to", false) | |||
| 941 | - | ||||
| 942 | xPathBuilderRelArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | 844 | xPathBuilderRelArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | ||
| 943 | } | 845 | } | ||
| 944 | 846 | ||||
| @@ -952,8 +854,6 @@ var xPathBuilderRelConicTo func(uintptr, float32, float32, float32, float32, flo | |||||
| 952 | // | 854 | // | ||
| 953 | // This is the relative version of [method@Gsk.PathBuilder.conic_to]. | 855 | // This is the relative version of [method@Gsk.PathBuilder.conic_to]. | ||
| 954 | func (x *PathBuilder) RelConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | 856 | func (x *PathBuilder) RelConicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, WeightVar float32) { | ||
| 955 | - | core.LazyRegister(&xPathBuilderRelConicTo, "GSK", "gsk_path_builder_rel_conic_to", false) | |||
| 956 | - | ||||
| 957 | xPathBuilderRelConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | 857 | xPathBuilderRelConicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, WeightVar) | ||
| 958 | } | 858 | } | ||
| 959 | 859 | ||||
| @@ -967,8 +867,6 @@ var xPathBuilderRelCubicTo func(uintptr, float32, float32, float32, float32, flo | |||||
| 967 | // | 867 | // | ||
| 968 | // This is the relative version of [method@Gsk.PathBuilder.cubic_to]. | 868 | // This is the relative version of [method@Gsk.PathBuilder.cubic_to]. | ||
| 969 | func (x *PathBuilder) RelCubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | 869 | func (x *PathBuilder) RelCubicTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, X3Var float32, Y3Var float32) { | ||
| 970 | - | core.LazyRegister(&xPathBuilderRelCubicTo, "GSK", "gsk_path_builder_rel_cubic_to", false) | |||
| 971 | - | ||||
| 972 | xPathBuilderRelCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | 870 | xPathBuilderRelCubicTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, X3Var, Y3Var) | ||
| 973 | } | 871 | } | ||
| 974 | 872 | ||||
| @@ -980,8 +878,6 @@ var xPathBuilderRelHtmlArcTo func(uintptr, float32, float32, float32, float32, f | |||||
| 980 | // | 878 | // | ||
| 981 | // This is the relative version of [method@Gsk.PathBuilder.html_arc_to]. | 879 | // This is the relative version of [method@Gsk.PathBuilder.html_arc_to]. | ||
| 982 | func (x *PathBuilder) RelHtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | 880 | func (x *PathBuilder) RelHtmlArcTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32, RadiusVar float32) { | ||
| 983 | - | core.LazyRegister(&xPathBuilderRelHtmlArcTo, "GSK", "gsk_path_builder_rel_html_arc_to", false) | |||
| 984 | - | ||||
| 985 | xPathBuilderRelHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | 881 | xPathBuilderRelHtmlArcTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var, RadiusVar) | ||
| 986 | } | 882 | } | ||
| 987 | 883 | ||||
| @@ -992,8 +888,6 @@ var xPathBuilderRelLineTo func(uintptr, float32, float32) | |||||
| 992 | // | 888 | // | ||
| 993 | // This is the relative version of [method@Gsk.PathBuilder.line_to]. | 889 | // This is the relative version of [method@Gsk.PathBuilder.line_to]. | ||
| 994 | func (x *PathBuilder) RelLineTo(XVar float32, YVar float32) { | 890 | func (x *PathBuilder) RelLineTo(XVar float32, YVar float32) { | ||
| 995 | - | core.LazyRegister(&xPathBuilderRelLineTo, "GSK", "gsk_path_builder_rel_line_to", false) | |||
| 996 | - | ||||
| 997 | xPathBuilderRelLineTo(x.GoPointer(), XVar, YVar) | 891 | xPathBuilderRelLineTo(x.GoPointer(), XVar, YVar) | ||
| 998 | } | 892 | } | ||
| 999 | 893 | ||||
| @@ -1004,8 +898,6 @@ var xPathBuilderRelMoveTo func(uintptr, float32, float32) | |||||
| 1004 | // | 898 | // | ||
| 1005 | // This is the relative version of [method@Gsk.PathBuilder.move_to]. | 899 | // This is the relative version of [method@Gsk.PathBuilder.move_to]. | ||
| 1006 | func (x *PathBuilder) RelMoveTo(XVar float32, YVar float32) { | 900 | func (x *PathBuilder) RelMoveTo(XVar float32, YVar float32) { | ||
| 1007 | - | core.LazyRegister(&xPathBuilderRelMoveTo, "GSK", "gsk_path_builder_rel_move_to", false) | |||
| 1008 | - | ||||
| 1009 | xPathBuilderRelMoveTo(x.GoPointer(), XVar, YVar) | 901 | xPathBuilderRelMoveTo(x.GoPointer(), XVar, YVar) | ||
| 1010 | } | 902 | } | ||
| 1011 | 903 | ||||
| @@ -1018,8 +910,6 @@ var xPathBuilderRelQuadTo func(uintptr, float32, float32, float32, float32) | |||||
| 1018 | // | 910 | // | ||
| 1019 | // This is the relative version of [method@Gsk.PathBuilder.quad_to]. | 911 | // This is the relative version of [method@Gsk.PathBuilder.quad_to]. | ||
| 1020 | func (x *PathBuilder) RelQuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | 912 | func (x *PathBuilder) RelQuadTo(X1Var float32, Y1Var float32, X2Var float32, Y2Var float32) { | ||
| 1021 | - | core.LazyRegister(&xPathBuilderRelQuadTo, "GSK", "gsk_path_builder_rel_quad_to", false) | |||
| 1022 | - | ||||
| 1023 | xPathBuilderRelQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | 913 | xPathBuilderRelQuadTo(x.GoPointer(), X1Var, Y1Var, X2Var, Y2Var) | ||
| 1024 | } | 914 | } | ||
| 1025 | 915 | ||||
| @@ -1031,8 +921,6 @@ var xPathBuilderRelSvgArcTo func(uintptr, float32, float32, float32, bool, bool, | |||||
| 1031 | // | 921 | // | ||
| 1032 | // This is the relative version of [method@Gsk.PathBuilder.svg_arc_to]. | 922 | // This is the relative version of [method@Gsk.PathBuilder.svg_arc_to]. | ||
| 1033 | func (x *PathBuilder) RelSvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | 923 | func (x *PathBuilder) RelSvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | ||
| 1034 | - | core.LazyRegister(&xPathBuilderRelSvgArcTo, "GSK", "gsk_path_builder_rel_svg_arc_to", false) | |||
| 1035 | - | ||||
| 1036 | xPathBuilderRelSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | 924 | xPathBuilderRelSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | ||
| 1037 | } | 925 | } | ||
| 1038 | 926 | ||||
| @@ -1046,8 +934,6 @@ var xPathBuilderSvgArcTo func(uintptr, float32, float32, float32, bool, bool, fl | |||||
| 1046 | // | 934 | // | ||
| 1047 | // After this, @x, @y will be the new current point. | 935 | // After this, @x, @y will be the new current point. | ||
| 1048 | func (x *PathBuilder) SvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | 936 | func (x *PathBuilder) SvgArcTo(RxVar float32, RyVar float32, XAxisRotationVar float32, LargeArcVar bool, PositiveSweepVar bool, XVar float32, YVar float32) { | ||
| 1049 | - | core.LazyRegister(&xPathBuilderSvgArcTo, "GSK", "gsk_path_builder_svg_arc_to", false) | |||
| 1050 | - | ||||
| 1051 | xPathBuilderSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | 937 | xPathBuilderSvgArcTo(x.GoPointer(), RxVar, RyVar, XAxisRotationVar, LargeArcVar, PositiveSweepVar, XVar, YVar) | ||
| 1052 | } | 938 | } | ||
| 1053 | 939 | ||||
| @@ -1063,8 +949,6 @@ var xPathBuilderToPath func(uintptr) uintptr | |||||
| 1063 | // This function is intended primarily for language bindings. | 949 | // This function is intended primarily for language bindings. | ||
| 1064 | // C code should use [method@Gsk.PathBuilder.free_to_path]. | 950 | // C code should use [method@Gsk.PathBuilder.free_to_path]. | ||
| 1065 | func (x *PathBuilder) ToPath() *Path { | 951 | func (x *PathBuilder) ToPath() *Path { | ||
| 1066 | - | core.LazyRegister(&xPathBuilderToPath, "GSK", "gsk_path_builder_to_path", false) | |||
| 1067 | - | ||||
| 1068 | cret := xPathBuilderToPath(x.GoPointer()) | 952 | cret := xPathBuilderToPath(x.GoPointer()) | ||
| 1069 | if cret == 0 { | 953 | if cret == 0 { | ||
| 1070 | return nil | 954 | return nil | ||
| @@ -1076,8 +960,6 @@ var xPathBuilderUnref func(uintptr) | |||||
| 1076 | 960 | ||||
| 1077 | // Releases a reference on the given builder. | 961 | // Releases a reference on the given builder. | ||
| 1078 | func (x *PathBuilder) Unref() { | 962 | func (x *PathBuilder) Unref() { | ||
| 1079 | - | core.LazyRegister(&xPathBuilderUnref, "GSK", "gsk_path_builder_unref", false) | |||
| 1080 | - | ||||
| 1081 | xPathBuilderUnref(x.GoPointer()) | 963 | xPathBuilderUnref(x.GoPointer()) | ||
| 1082 | } | 964 | } | ||
| 1083 | 965 | ||||
| @@ -1097,7 +979,6 @@ type PathMeasure struct { | |||||
| 1097 | var xPathMeasureGLibType func() types.GType | 979 | var xPathMeasureGLibType func() types.GType | ||
| 1098 | 980 | ||||
| 1099 | func PathMeasureGLibType() types.GType { | 981 | func PathMeasureGLibType() types.GType { | ||
| 1100 | - | core.LazyRegister(&xPathMeasureGLibType, "GSK", "gsk_path_measure_get_type", false) | |||
| 1101 | return xPathMeasureGLibType() | 982 | return xPathMeasureGLibType() | ||
| 1102 | } | 983 | } | ||
| 1103 | 984 | ||||
| @@ -1118,8 +999,6 @@ var xNewPathMeasure func(*Path) uintptr | |||||
| 1118 | // Creates a measure object for the given @path with the | 999 | // Creates a measure object for the given @path with the | ||
| 1119 | // default tolerance. | 1000 | // default tolerance. | ||
| 1120 | func NewPathMeasure(PathVar *Path) *PathMeasure { | 1001 | func NewPathMeasure(PathVar *Path) *PathMeasure { | ||
| 1121 | - | core.LazyRegister(&xNewPathMeasure, "GSK", "gsk_path_measure_new", false) | |||
| 1122 | - | ||||
| 1123 | cret := xNewPathMeasure(PathVar) | 1002 | cret := xNewPathMeasure(PathVar) | ||
| 1124 | if cret == 0 { | 1003 | if cret == 0 { | ||
| 1125 | return nil | 1004 | return nil | ||
| @@ -1131,8 +1010,6 @@ var xNewPathMeasureWithTolerance func(*Path, float32) uintptr | |||||
| 1131 | 1010 | ||||
| 1132 | // Creates a measure object for the given @path and @tolerance. | 1011 | // Creates a measure object for the given @path and @tolerance. | ||
| 1133 | func NewPathMeasureWithTolerance(PathVar *Path, ToleranceVar float32) *PathMeasure { | 1012 | func NewPathMeasureWithTolerance(PathVar *Path, ToleranceVar float32) *PathMeasure { | ||
| 1134 | - | core.LazyRegister(&xNewPathMeasureWithTolerance, "GSK", "gsk_path_measure_new_with_tolerance", false) | |||
| 1135 | - | ||||
| 1136 | cret := xNewPathMeasureWithTolerance(PathVar, ToleranceVar) | 1013 | cret := xNewPathMeasureWithTolerance(PathVar, ToleranceVar) | ||
| 1137 | if cret == 0 { | 1014 | if cret == 0 { | ||
| 1138 | return nil | 1015 | return nil | ||
| @@ -1146,8 +1023,6 @@ var xPathMeasureGetLength func(uintptr) float32 | |||||
| 1146 | // | 1023 | // | ||
| 1147 | // The length is cached, so this function does not do any work. | 1024 | // The length is cached, so this function does not do any work. | ||
| 1148 | func (x *PathMeasure) GetLength() float32 { | 1025 | func (x *PathMeasure) GetLength() float32 { | ||
| 1149 | - | core.LazyRegister(&xPathMeasureGetLength, "GSK", "gsk_path_measure_get_length", false) | |||
| 1150 | - | ||||
| 1151 | cret := xPathMeasureGetLength(x.GoPointer()) | 1026 | cret := xPathMeasureGetLength(x.GoPointer()) | ||
| 1152 | return cret | 1027 | return cret | ||
| 1153 | } | 1028 | } | ||
| @@ -1156,8 +1031,6 @@ var xPathMeasureGetPath func(uintptr) uintptr | |||||
| 1156 | 1031 | ||||
| 1157 | // Returns the path that the measure was created for. | 1032 | // Returns the path that the measure was created for. | ||
| 1158 | func (x *PathMeasure) GetPath() *Path { | 1033 | func (x *PathMeasure) GetPath() *Path { | ||
| 1159 | - | core.LazyRegister(&xPathMeasureGetPath, "GSK", "gsk_path_measure_get_path", false) | |||
| 1160 | - | ||||
| 1161 | cret := xPathMeasureGetPath(x.GoPointer()) | 1034 | cret := xPathMeasureGetPath(x.GoPointer()) | ||
| 1162 | if cret == 0 { | 1035 | if cret == 0 { | ||
| 1163 | return nil | 1036 | return nil | ||
| @@ -1171,8 +1044,6 @@ var xPathMeasureGetPoint func(uintptr, float32, *PathPoint) bool | |||||
| 1171 | // | 1044 | // | ||
| 1172 | // An empty path has no points, so false is returned in that case. | 1045 | // An empty path has no points, so false is returned in that case. | ||
| 1173 | func (x *PathMeasure) GetPoint(DistanceVar float32, ResultVar *PathPoint) bool { | 1046 | func (x *PathMeasure) GetPoint(DistanceVar float32, ResultVar *PathPoint) bool { | ||
| 1174 | - | core.LazyRegister(&xPathMeasureGetPoint, "GSK", "gsk_path_measure_get_point", false) | |||
| 1175 | - | ||||
| 1176 | cret := xPathMeasureGetPoint(x.GoPointer(), DistanceVar, ResultVar) | 1047 | cret := xPathMeasureGetPoint(x.GoPointer(), DistanceVar, ResultVar) | ||
| 1177 | return cret | 1048 | return cret | ||
| 1178 | } | 1049 | } | ||
| @@ -1181,8 +1052,6 @@ var xPathMeasureGetTolerance func(uintptr) float32 | |||||
| 1181 | 1052 | ||||
| 1182 | // Returns the tolerance that the measure was created with. | 1053 | // Returns the tolerance that the measure was created with. | ||
| 1183 | func (x *PathMeasure) GetTolerance() float32 { | 1054 | func (x *PathMeasure) GetTolerance() float32 { | ||
| 1184 | - | core.LazyRegister(&xPathMeasureGetTolerance, "GSK", "gsk_path_measure_get_tolerance", false) | |||
| 1185 | - | ||||
| 1186 | cret := xPathMeasureGetTolerance(x.GoPointer()) | 1055 | cret := xPathMeasureGetTolerance(x.GoPointer()) | ||
| 1187 | return cret | 1056 | return cret | ||
| 1188 | } | 1057 | } | ||
| @@ -1191,8 +1060,6 @@ var xPathMeasureRef func(uintptr) uintptr | |||||
| 1191 | 1060 | ||||
| 1192 | // Increases the reference count of a `GskPathMeasure` by one. | 1061 | // Increases the reference count of a `GskPathMeasure` by one. | ||
| 1193 | func (x *PathMeasure) Ref() *PathMeasure { | 1062 | func (x *PathMeasure) Ref() *PathMeasure { | ||
| 1194 | - | core.LazyRegister(&xPathMeasureRef, "GSK", "gsk_path_measure_ref", false) | |||
| 1195 | - | ||||
| 1196 | cret := xPathMeasureRef(x.GoPointer()) | 1063 | cret := xPathMeasureRef(x.GoPointer()) | ||
| 1197 | if cret == 0 { | 1064 | if cret == 0 { | ||
| 1198 | return nil | 1065 | return nil | ||
| @@ -1206,8 +1073,6 @@ var xPathMeasureUnref func(uintptr) | |||||
| 1206 | // | 1073 | // | ||
| 1207 | // If the resulting reference count is zero, frees the object. | 1074 | // If the resulting reference count is zero, frees the object. | ||
| 1208 | func (x *PathMeasure) Unref() { | 1075 | func (x *PathMeasure) Unref() { | ||
| 1209 | - | core.LazyRegister(&xPathMeasureUnref, "GSK", "gsk_path_measure_unref", false) | |||
| 1210 | - | ||||
| 1211 | xPathMeasureUnref(x.GoPointer()) | 1076 | xPathMeasureUnref(x.GoPointer()) | ||
| 1212 | } | 1077 | } | ||
| 1213 | 1078 | ||||
| @@ -1304,7 +1169,6 @@ type RenderReplay struct { | |||||
| 1304 | var xRenderReplayGLibType func() types.GType | 1169 | var xRenderReplayGLibType func() types.GType | ||
| 1305 | 1170 | ||||
| 1306 | func RenderReplayGLibType() types.GType { | 1171 | func RenderReplayGLibType() types.GType { | ||
| 1307 | - | core.LazyRegister(&xRenderReplayGLibType, "GSK", "gsk_render_replay_get_type", false) | |||
| 1308 | return xRenderReplayGLibType() | 1172 | return xRenderReplayGLibType() | ||
| 1309 | } | 1173 | } | ||
| 1310 | 1174 | ||||
| @@ -1324,8 +1188,6 @@ var xNewRenderReplay func() uintptr | |||||
| 1324 | 1188 | ||||
| 1325 | // Creates a new replay object to replay nodes. | 1189 | // Creates a new replay object to replay nodes. | ||
| 1326 | func NewRenderReplay() *RenderReplay { | 1190 | func NewRenderReplay() *RenderReplay { | ||
| 1327 | - | core.LazyRegister(&xNewRenderReplay, "GSK", "gsk_render_replay_new", false) | |||
| 1328 | - | ||||
| 1329 | cret := xNewRenderReplay() | 1191 | cret := xNewRenderReplay() | ||
| 1330 | if cret == 0 { | 1192 | if cret == 0 { | ||
| 1331 | return nil | 1193 | return nil | ||
| @@ -1347,7 +1209,6 @@ var xRenderReplayDefault func(uintptr, uintptr) uintptr | |||||
| 1347 | // callbacks return NULL. In that case, this function will return | 1209 | // callbacks return NULL. In that case, this function will return | ||
| 1348 | // NULL, too. | 1210 | // NULL, too. | ||
| 1349 | func (x *RenderReplay) Default(NodeVar *RenderNode) *RenderNode { | 1211 | func (x *RenderReplay) Default(NodeVar *RenderNode) *RenderNode { | ||
| 1350 | - | core.LazyRegister(&xRenderReplayDefault, "GSK", "gsk_render_replay_default", false) | |||
| 1351 | var cls *RenderNode | 1212 | var cls *RenderNode | ||
| 1352 | 1213 | ||||
| 1353 | cret := xRenderReplayDefault(x.GoPointer(), NodeVar.GoPointer()) | 1214 | cret := xRenderReplayDefault(x.GoPointer(), NodeVar.GoPointer()) | ||
| @@ -1364,7 +1225,6 @@ var xRenderReplayFilterFont func(uintptr, uintptr) uintptr | |||||
| 1364 | 1225 | ||||
| 1365 | // Filters a font using the current filter function. | 1226 | // Filters a font using the current filter function. | ||
| 1366 | func (x *RenderReplay) FilterFont(FontVar *pango.Font) *pango.Font { | 1227 | func (x *RenderReplay) FilterFont(FontVar *pango.Font) *pango.Font { | ||
| 1367 | - | core.LazyRegister(&xRenderReplayFilterFont, "GSK", "gsk_render_replay_filter_font", false) | |||
| 1368 | var cls *pango.Font | 1228 | var cls *pango.Font | ||
| 1369 | 1229 | ||||
| 1370 | cret := xRenderReplayFilterFont(x.GoPointer(), FontVar.GoPointer()) | 1230 | cret := xRenderReplayFilterFont(x.GoPointer(), FontVar.GoPointer()) | ||
| @@ -1387,7 +1247,6 @@ var xRenderReplayFilterNode func(uintptr, uintptr) uintptr | |||||
| 1387 | // If no filter node is set, [method@Gsk.RenderReplay.default] is | 1247 | // If no filter node is set, [method@Gsk.RenderReplay.default] is | ||
| 1388 | // called instead. | 1248 | // called instead. | ||
| 1389 | func (x *RenderReplay) FilterNode(NodeVar *RenderNode) *RenderNode { | 1249 | func (x *RenderReplay) FilterNode(NodeVar *RenderNode) *RenderNode { | ||
| 1390 | - | core.LazyRegister(&xRenderReplayFilterNode, "GSK", "gsk_render_replay_filter_node", false) | |||
| 1391 | var cls *RenderNode | 1250 | var cls *RenderNode | ||
| 1392 | 1251 | ||||
| 1393 | cret := xRenderReplayFilterNode(x.GoPointer(), NodeVar.GoPointer()) | 1252 | cret := xRenderReplayFilterNode(x.GoPointer(), NodeVar.GoPointer()) | ||
| @@ -1404,7 +1263,6 @@ var xRenderReplayFilterTexture func(uintptr, uintptr) uintptr | |||||
| 1404 | 1263 | ||||
| 1405 | // Filters a texture using the current filter function. | 1264 | // Filters a texture using the current filter function. | ||
| 1406 | func (x *RenderReplay) FilterTexture(TextureVar *gdk.Texture) *gdk.Texture { | 1265 | func (x *RenderReplay) FilterTexture(TextureVar *gdk.Texture) *gdk.Texture { | ||
| 1407 | - | core.LazyRegister(&xRenderReplayFilterTexture, "GSK", "gsk_render_replay_filter_texture", false) | |||
| 1408 | var cls *gdk.Texture | 1266 | var cls *gdk.Texture | ||
| 1409 | 1267 | ||||
| 1410 | cret := xRenderReplayFilterTexture(x.GoPointer(), TextureVar.GoPointer()) | 1268 | cret := xRenderReplayFilterTexture(x.GoPointer(), TextureVar.GoPointer()) | ||
| @@ -1421,8 +1279,6 @@ var xRenderReplayFree func(uintptr) | |||||
| 1421 | 1279 | ||||
| 1422 | // Frees a `GskRenderReplay`. | 1280 | // Frees a `GskRenderReplay`. | ||
| 1423 | func (x *RenderReplay) Free() { | 1281 | func (x *RenderReplay) Free() { | ||
| 1424 | - | core.LazyRegister(&xRenderReplayFree, "GSK", "gsk_render_replay_free", false) | |||
| 1425 | - | ||||
| 1426 | xRenderReplayFree(x.GoPointer()) | 1282 | xRenderReplayFree(x.GoPointer()) | ||
| 1427 | } | 1283 | } | ||
| 1428 | 1284 | ||||
| @@ -1434,8 +1290,6 @@ var xRenderReplaySetFontFilter func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1434 | // You can call [method@GskRenderReplay.filter_font] to filter | 1290 | // You can call [method@GskRenderReplay.filter_font] to filter | ||
| 1435 | // a font yourself. | 1291 | // a font yourself. | ||
| 1436 | func (x *RenderReplay) SetFontFilter(FilterVar *RenderReplayFontFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | 1292 | func (x *RenderReplay) SetFontFilter(FilterVar *RenderReplayFontFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | ||
| 1437 | - | core.LazyRegister(&xRenderReplaySetFontFilter, "GSK", "gsk_render_replay_set_font_filter", false) | |||
| 1438 | - | ||||
| 1439 | xRenderReplaySetFontFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | 1293 | xRenderReplaySetFontFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | ||
| 1440 | } | 1294 | } | ||
| 1441 | 1295 | ||||
| @@ -1455,8 +1309,6 @@ var xRenderReplaySetNodeFilter func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1455 | // - call [method@Gsk.RenderReplay.default] to have the default handler | 1309 | // - call [method@Gsk.RenderReplay.default] to have the default handler | ||
| 1456 | // run for this node, which calls your function on its children | 1310 | // run for this node, which calls your function on its children | ||
| 1457 | func (x *RenderReplay) SetNodeFilter(FilterVar *RenderReplayNodeFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | 1311 | func (x *RenderReplay) SetNodeFilter(FilterVar *RenderReplayNodeFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | ||
| 1458 | - | core.LazyRegister(&xRenderReplaySetNodeFilter, "GSK", "gsk_render_replay_set_node_filter", false) | |||
| 1459 | - | ||||
| 1460 | xRenderReplaySetNodeFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | 1312 | xRenderReplaySetNodeFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | ||
| 1461 | } | 1313 | } | ||
| 1462 | 1314 | ||||
| @@ -1468,8 +1320,6 @@ var xRenderReplaySetTextureFilter func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1468 | // You can call [method@GskRenderReplay.filter_texture] to filter | 1320 | // You can call [method@GskRenderReplay.filter_texture] to filter | ||
| 1469 | // a texture yourself. | 1321 | // a texture yourself. | ||
| 1470 | func (x *RenderReplay) SetTextureFilter(FilterVar *RenderReplayTextureFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | 1322 | func (x *RenderReplay) SetTextureFilter(FilterVar *RenderReplayTextureFilter, UserDataVar uintptr, UserDestroyVar *glib.DestroyNotify) { | ||
| 1471 | - | core.LazyRegister(&xRenderReplaySetTextureFilter, "GSK", "gsk_render_replay_set_texture_filter", false) | |||
| 1472 | - | ||||
| 1473 | xRenderReplaySetTextureFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | 1323 | xRenderReplaySetTextureFilter(x.GoPointer(), glib.NewCallbackNullable(FilterVar), UserDataVar, glib.NewCallbackNullable(UserDestroyVar)) | ||
| 1474 | } | 1324 | } | ||
| 1475 | 1325 | ||||
| @@ -1481,7 +1331,6 @@ type Stroke struct { | |||||
| 1481 | var xStrokeGLibType func() types.GType | 1331 | var xStrokeGLibType func() types.GType | ||
| 1482 | 1332 | ||||
| 1483 | func StrokeGLibType() types.GType { | 1333 | func StrokeGLibType() types.GType { | ||
| 1484 | - | core.LazyRegister(&xStrokeGLibType, "GSK", "gsk_stroke_get_type", false) | |||
| 1485 | return xStrokeGLibType() | 1334 | return xStrokeGLibType() | ||
| 1486 | } | 1335 | } | ||
| 1487 | 1336 | ||||
| @@ -1501,8 +1350,6 @@ var xNewStroke func(float32) uintptr | |||||
| 1501 | 1350 | ||||
| 1502 | // Creates a new `GskStroke` with the given @line_width. | 1351 | // Creates a new `GskStroke` with the given @line_width. | ||
| 1503 | func NewStroke(LineWidthVar float32) *Stroke { | 1352 | func NewStroke(LineWidthVar float32) *Stroke { | ||
| 1504 | - | core.LazyRegister(&xNewStroke, "GSK", "gsk_stroke_new", false) | |||
| 1505 | - | ||||
| 1506 | cret := xNewStroke(LineWidthVar) | 1353 | cret := xNewStroke(LineWidthVar) | ||
| 1507 | if cret == 0 { | 1354 | if cret == 0 { | ||
| 1508 | return nil | 1355 | return nil | ||
| @@ -1514,8 +1361,6 @@ var xStrokeCopy func(uintptr) uintptr | |||||
| 1514 | 1361 | ||||
| 1515 | // Creates a copy of a `GskStroke`. | 1362 | // Creates a copy of a `GskStroke`. | ||
| 1516 | func (x *Stroke) Copy() *Stroke { | 1363 | func (x *Stroke) Copy() *Stroke { | ||
| 1517 | - | core.LazyRegister(&xStrokeCopy, "GSK", "gsk_stroke_copy", false) | |||
| 1518 | - | ||||
| 1519 | cret := xStrokeCopy(x.GoPointer()) | 1364 | cret := xStrokeCopy(x.GoPointer()) | ||
| 1520 | if cret == 0 { | 1365 | if cret == 0 { | ||
| 1521 | return nil | 1366 | return nil | ||
| @@ -1527,8 +1372,6 @@ var xStrokeFree func(uintptr) | |||||
| 1527 | 1372 | ||||
| 1528 | // Frees a `GskStroke`. | 1373 | // Frees a `GskStroke`. | ||
| 1529 | func (x *Stroke) Free() { | 1374 | func (x *Stroke) Free() { | ||
| 1530 | - | core.LazyRegister(&xStrokeFree, "GSK", "gsk_stroke_free", false) | |||
| 1531 | - | ||||
| 1532 | xStrokeFree(x.GoPointer()) | 1375 | xStrokeFree(x.GoPointer()) | ||
| 1533 | } | 1376 | } | ||
| 1534 | 1377 | ||||
| @@ -1536,8 +1379,6 @@ var xStrokeGetDash func(uintptr, *uint) uintptr | |||||
| 1536 | 1379 | ||||
| 1537 | // Gets the dash array in use. | 1380 | // Gets the dash array in use. | ||
| 1538 | func (x *Stroke) GetDash(NDashVar *uint) uintptr { | 1381 | func (x *Stroke) GetDash(NDashVar *uint) uintptr { | ||
| 1539 | - | core.LazyRegister(&xStrokeGetDash, "GSK", "gsk_stroke_get_dash", false) | |||
| 1540 | - | ||||
| 1541 | cret := xStrokeGetDash(x.GoPointer(), NDashVar) | 1382 | cret := xStrokeGetDash(x.GoPointer(), NDashVar) | ||
| 1542 | return cret | 1383 | return cret | ||
| 1543 | } | 1384 | } | ||
| @@ -1546,8 +1387,6 @@ var xStrokeGetDashOffset func(uintptr) float32 | |||||
| 1546 | 1387 | ||||
| 1547 | // Gets the dash offset. | 1388 | // Gets the dash offset. | ||
| 1548 | func (x *Stroke) GetDashOffset() float32 { | 1389 | func (x *Stroke) GetDashOffset() float32 { | ||
| 1549 | - | core.LazyRegister(&xStrokeGetDashOffset, "GSK", "gsk_stroke_get_dash_offset", false) | |||
| 1550 | - | ||||
| 1551 | cret := xStrokeGetDashOffset(x.GoPointer()) | 1390 | cret := xStrokeGetDashOffset(x.GoPointer()) | ||
| 1552 | return cret | 1391 | return cret | ||
| 1553 | } | 1392 | } | ||
| @@ -1558,8 +1397,6 @@ var xStrokeGetLineCap func(uintptr) LineCap | |||||
| 1558 | // | 1397 | // | ||
| 1559 | // See [enum@Gsk.LineCap] for details. | 1398 | // See [enum@Gsk.LineCap] for details. | ||
| 1560 | func (x *Stroke) GetLineCap() LineCap { | 1399 | func (x *Stroke) GetLineCap() LineCap { | ||
| 1561 | - | core.LazyRegister(&xStrokeGetLineCap, "GSK", "gsk_stroke_get_line_cap", false) | |||
| 1562 | - | ||||
| 1563 | cret := xStrokeGetLineCap(x.GoPointer()) | 1400 | cret := xStrokeGetLineCap(x.GoPointer()) | ||
| 1564 | return cret | 1401 | return cret | ||
| 1565 | } | 1402 | } | ||
| @@ -1570,8 +1407,6 @@ var xStrokeGetLineJoin func(uintptr) LineJoin | |||||
| 1570 | // | 1407 | // | ||
| 1571 | // See [enum@Gsk.LineJoin] for details. | 1408 | // See [enum@Gsk.LineJoin] for details. | ||
| 1572 | func (x *Stroke) GetLineJoin() LineJoin { | 1409 | func (x *Stroke) GetLineJoin() LineJoin { | ||
| 1573 | - | core.LazyRegister(&xStrokeGetLineJoin, "GSK", "gsk_stroke_get_line_join", false) | |||
| 1574 | - | ||||
| 1575 | cret := xStrokeGetLineJoin(x.GoPointer()) | 1410 | cret := xStrokeGetLineJoin(x.GoPointer()) | ||
| 1576 | return cret | 1411 | return cret | ||
| 1577 | } | 1412 | } | ||
| @@ -1580,8 +1415,6 @@ var xStrokeGetLineWidth func(uintptr) float32 | |||||
| 1580 | 1415 | ||||
| 1581 | // Gets the line width used. | 1416 | // Gets the line width used. | ||
| 1582 | func (x *Stroke) GetLineWidth() float32 { | 1417 | func (x *Stroke) GetLineWidth() float32 { | ||
| 1583 | - | core.LazyRegister(&xStrokeGetLineWidth, "GSK", "gsk_stroke_get_line_width", false) | |||
| 1584 | - | ||||
| 1585 | cret := xStrokeGetLineWidth(x.GoPointer()) | 1418 | cret := xStrokeGetLineWidth(x.GoPointer()) | ||
| 1586 | return cret | 1419 | return cret | ||
| 1587 | } | 1420 | } | ||
| @@ -1590,8 +1423,6 @@ var xStrokeGetMiterLimit func(uintptr) float32 | |||||
| 1590 | 1423 | ||||
| 1591 | // Gets the miter limit. | 1424 | // Gets the miter limit. | ||
| 1592 | func (x *Stroke) GetMiterLimit() float32 { | 1425 | func (x *Stroke) GetMiterLimit() float32 { | ||
| 1593 | - | core.LazyRegister(&xStrokeGetMiterLimit, "GSK", "gsk_stroke_get_miter_limit", false) | |||
| 1594 | - | ||||
| 1595 | cret := xStrokeGetMiterLimit(x.GoPointer()) | 1426 | cret := xStrokeGetMiterLimit(x.GoPointer()) | ||
| 1596 | return cret | 1427 | return cret | ||
| 1597 | } | 1428 | } | ||
| @@ -1622,8 +1453,6 @@ var xStrokeSetDash func(uintptr, []float32, uint) | |||||
| 1622 | // You can specify a starting offset into the dash with | 1453 | // You can specify a starting offset into the dash with | ||
| 1623 | // [method@Gsk.Stroke.set_dash_offset]. | 1454 | // [method@Gsk.Stroke.set_dash_offset]. | ||
| 1624 | func (x *Stroke) SetDash(DashVar []float32, NDashVar uint) { | 1455 | func (x *Stroke) SetDash(DashVar []float32, NDashVar uint) { | ||
| 1625 | - | core.LazyRegister(&xStrokeSetDash, "GSK", "gsk_stroke_set_dash", false) | |||
| 1626 | - | ||||
| 1627 | xStrokeSetDash(x.GoPointer(), DashVar, NDashVar) | 1456 | xStrokeSetDash(x.GoPointer(), DashVar, NDashVar) | ||
| 1628 | } | 1457 | } | ||
| 1629 | 1458 | ||||
| @@ -1636,8 +1465,6 @@ var xStrokeSetDashOffset func(uintptr, float32) | |||||
| 1636 | // | 1465 | // | ||
| 1637 | // See [method@Gsk.Stroke.set_dash] for more details on dashing. | 1466 | // See [method@Gsk.Stroke.set_dash] for more details on dashing. | ||
| 1638 | func (x *Stroke) SetDashOffset(OffsetVar float32) { | 1467 | func (x *Stroke) SetDashOffset(OffsetVar float32) { | ||
| 1639 | - | core.LazyRegister(&xStrokeSetDashOffset, "GSK", "gsk_stroke_set_dash_offset", false) | |||
| 1640 | - | ||||
| 1641 | xStrokeSetDashOffset(x.GoPointer(), OffsetVar) | 1468 | xStrokeSetDashOffset(x.GoPointer(), OffsetVar) | ||
| 1642 | } | 1469 | } | ||
| 1643 | 1470 | ||||
| @@ -1647,8 +1474,6 @@ var xStrokeSetLineCap func(uintptr, LineCap) | |||||
| 1647 | // | 1474 | // | ||
| 1648 | // See [enum@Gsk.LineCap] for details. | 1475 | // See [enum@Gsk.LineCap] for details. | ||
| 1649 | func (x *Stroke) SetLineCap(LineCapVar LineCap) { | 1476 | func (x *Stroke) SetLineCap(LineCapVar LineCap) { | ||
| 1650 | - | core.LazyRegister(&xStrokeSetLineCap, "GSK", "gsk_stroke_set_line_cap", false) | |||
| 1651 | - | ||||
| 1652 | xStrokeSetLineCap(x.GoPointer(), LineCapVar) | 1477 | xStrokeSetLineCap(x.GoPointer(), LineCapVar) | ||
| 1653 | } | 1478 | } | ||
| 1654 | 1479 | ||||
| @@ -1658,8 +1483,6 @@ var xStrokeSetLineJoin func(uintptr, LineJoin) | |||||
| 1658 | // | 1483 | // | ||
| 1659 | // See [enum@Gsk.LineJoin] for details. | 1484 | // See [enum@Gsk.LineJoin] for details. | ||
| 1660 | func (x *Stroke) SetLineJoin(LineJoinVar LineJoin) { | 1485 | func (x *Stroke) SetLineJoin(LineJoinVar LineJoin) { | ||
| 1661 | - | core.LazyRegister(&xStrokeSetLineJoin, "GSK", "gsk_stroke_set_line_join", false) | |||
| 1662 | - | ||||
| 1663 | xStrokeSetLineJoin(x.GoPointer(), LineJoinVar) | 1486 | xStrokeSetLineJoin(x.GoPointer(), LineJoinVar) | ||
| 1664 | } | 1487 | } | ||
| 1665 | 1488 | ||||
| @@ -1669,8 +1492,6 @@ var xStrokeSetLineWidth func(uintptr, float32) | |||||
| 1669 | // | 1492 | // | ||
| 1670 | // The line width must be >= 0. | 1493 | // The line width must be >= 0. | ||
| 1671 | func (x *Stroke) SetLineWidth(LineWidthVar float32) { | 1494 | func (x *Stroke) SetLineWidth(LineWidthVar float32) { | ||
| 1672 | - | core.LazyRegister(&xStrokeSetLineWidth, "GSK", "gsk_stroke_set_line_width", false) | |||
| 1673 | - | ||||
| 1674 | xStrokeSetLineWidth(x.GoPointer(), LineWidthVar) | 1495 | xStrokeSetLineWidth(x.GoPointer(), LineWidthVar) | ||
| 1675 | } | 1496 | } | ||
| 1676 | 1497 | ||||
| @@ -1686,8 +1507,6 @@ var xStrokeSetMiterLimit func(uintptr, float32) | |||||
| 1686 | // For joins of type [enum@Gsk.LineJoin.miter] that exceed the miter limit, | 1507 | // For joins of type [enum@Gsk.LineJoin.miter] that exceed the miter limit, | ||
| 1687 | // the join gets rendered as if it was of type [enum@Gsk.LineJoin.bevel]. | 1508 | // the join gets rendered as if it was of type [enum@Gsk.LineJoin.bevel]. | ||
| 1688 | func (x *Stroke) SetMiterLimit(LimitVar float32) { | 1509 | func (x *Stroke) SetMiterLimit(LimitVar float32) { | ||
| 1689 | - | core.LazyRegister(&xStrokeSetMiterLimit, "GSK", "gsk_stroke_set_miter_limit", false) | |||
| 1690 | - | ||||
| 1691 | xStrokeSetMiterLimit(x.GoPointer(), LimitVar) | 1510 | xStrokeSetMiterLimit(x.GoPointer(), LimitVar) | ||
| 1692 | } | 1511 | } | ||
| 1693 | 1512 | ||||
| @@ -1696,8 +1515,6 @@ var xStrokeToCairo func(uintptr, *cairo.Context) | |||||
| 1696 | // A helper function that sets the stroke parameters | 1515 | // A helper function that sets the stroke parameters | ||
| 1697 | // of a cairo context from a `GskStroke`. | 1516 | // of a cairo context from a `GskStroke`. | ||
| 1698 | func (x *Stroke) ToCairo(CrVar *cairo.Context) { | 1517 | func (x *Stroke) ToCairo(CrVar *cairo.Context) { | ||
| 1699 | - | core.LazyRegister(&xStrokeToCairo, "GSK", "gsk_stroke_to_cairo", false) | |||
| 1700 | - | ||||
| 1701 | xStrokeToCairo(x.GoPointer(), CrVar) | 1518 | xStrokeToCairo(x.GoPointer(), CrVar) | ||
| 1702 | } | 1519 | } | ||
| 1703 | 1520 | ||||
| @@ -1717,7 +1534,6 @@ type Transform struct { | |||||
| 1717 | var xTransformGLibType func() types.GType | 1534 | var xTransformGLibType func() types.GType | ||
| 1718 | 1535 | ||||
| 1719 | func TransformGLibType() types.GType { | 1536 | func TransformGLibType() types.GType { | ||
| 1720 | - | core.LazyRegister(&xTransformGLibType, "GSK", "gsk_transform_get_type", false) | |||
| 1721 | return xTransformGLibType() | 1537 | return xTransformGLibType() | ||
| 1722 | } | 1538 | } | ||
| 1723 | 1539 | ||||
| @@ -1740,8 +1556,6 @@ var xNewTransform func() uintptr | |||||
| 1740 | // This function is meant to be used by language | 1556 | // This function is meant to be used by language | ||
| 1741 | // bindings. For C code, this is equivalent to using `NULL`. | 1557 | // bindings. For C code, this is equivalent to using `NULL`. | ||
| 1742 | func NewTransform() *Transform { | 1558 | func NewTransform() *Transform { | ||
| 1743 | - | core.LazyRegister(&xNewTransform, "GSK", "gsk_transform_new", false) | |||
| 1744 | - | ||||
| 1745 | cret := xNewTransform() | 1559 | cret := xNewTransform() | ||
| 1746 | if cret == 0 { | 1560 | if cret == 0 { | ||
| 1747 | return nil | 1561 | return nil | ||
| @@ -1753,8 +1567,6 @@ var xTransformEqual func(uintptr, *Transform) bool | |||||
| 1753 | 1567 | ||||
| 1754 | // Checks two transforms for equality. | 1568 | // Checks two transforms for equality. | ||
| 1755 | func (x *Transform) Equal(SecondVar *Transform) bool { | 1569 | func (x *Transform) Equal(SecondVar *Transform) bool { | ||
| 1756 | - | core.LazyRegister(&xTransformEqual, "GSK", "gsk_transform_equal", false) | |||
| 1757 | - | ||||
| 1758 | cret := xTransformEqual(x.GoPointer(), SecondVar) | 1570 | cret := xTransformEqual(x.GoPointer(), SecondVar) | ||
| 1759 | return cret | 1571 | return cret | ||
| 1760 | } | 1572 | } | ||
| @@ -1763,8 +1575,6 @@ var xTransformGetCategory func(uintptr) TransformCategory | |||||
| 1763 | 1575 | ||||
| 1764 | // Returns the category this transform belongs to. | 1576 | // Returns the category this transform belongs to. | ||
| 1765 | func (x *Transform) GetCategory() TransformCategory { | 1577 | func (x *Transform) GetCategory() TransformCategory { | ||
| 1766 | - | core.LazyRegister(&xTransformGetCategory, "GSK", "gsk_transform_get_category", false) | |||
| 1767 | - | ||||
| 1768 | cret := xTransformGetCategory(x.GoPointer()) | 1578 | cret := xTransformGetCategory(x.GoPointer()) | ||
| 1769 | return cret | 1579 | return cret | ||
| 1770 | } | 1580 | } | ||
| @@ -1782,8 +1592,6 @@ var xTransformInvert func(uintptr) uintptr | |||||
| 1782 | // This function consumes @self. Use [method@Gsk.Transform.ref] first | 1592 | // This function consumes @self. Use [method@Gsk.Transform.ref] first | ||
| 1783 | // if you want to keep it around. | 1593 | // if you want to keep it around. | ||
| 1784 | func (x *Transform) Invert() *Transform { | 1594 | func (x *Transform) Invert() *Transform { | ||
| 1785 | - | core.LazyRegister(&xTransformInvert, "GSK", "gsk_transform_invert", false) | |||
| 1786 | - | ||||
| 1787 | cret := xTransformInvert(x.GoPointer()) | 1595 | cret := xTransformInvert(x.GoPointer()) | ||
| 1788 | if cret == 0 { | 1596 | if cret == 0 { | ||
| 1789 | return nil | 1597 | return nil | ||
| @@ -1798,8 +1606,6 @@ var xTransformMatrix func(uintptr, *graphene.Matrix) uintptr | |||||
| 1798 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1606 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1799 | // if you want to keep it around. | 1607 | // if you want to keep it around. | ||
| 1800 | func (x *Transform) Matrix(MatrixVar *graphene.Matrix) *Transform { | 1608 | func (x *Transform) Matrix(MatrixVar *graphene.Matrix) *Transform { | ||
| 1801 | - | core.LazyRegister(&xTransformMatrix, "GSK", "gsk_transform_matrix", false) | |||
| 1802 | - | ||||
| 1803 | cret := xTransformMatrix(x.GoPointer(), MatrixVar) | 1609 | cret := xTransformMatrix(x.GoPointer(), MatrixVar) | ||
| 1804 | if cret == 0 { | 1610 | if cret == 0 { | ||
| 1805 | return nil | 1611 | return nil | ||
| @@ -1818,8 +1624,6 @@ var xTransformMatrix2d func(uintptr, float32, float32, float32, float32, float32 | |||||
| 1818 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1624 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1819 | // if you want to keep it around. | 1625 | // if you want to keep it around. | ||
| 1820 | func (x *Transform) Matrix2d(XxVar float32, YxVar float32, XyVar float32, YyVar float32, DxVar float32, DyVar float32) *Transform { | 1626 | func (x *Transform) Matrix2d(XxVar float32, YxVar float32, XyVar float32, YyVar float32, DxVar float32, DyVar float32) *Transform { | ||
| 1821 | - | core.LazyRegister(&xTransformMatrix2d, "GSK", "gsk_transform_matrix_2d", false) | |||
| 1822 | - | ||||
| 1823 | cret := xTransformMatrix2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, DxVar, DyVar) | 1627 | cret := xTransformMatrix2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, DxVar, DyVar) | ||
| 1824 | if cret == 0 { | 1628 | if cret == 0 { | ||
| 1825 | return nil | 1629 | return nil | ||
| @@ -1839,8 +1643,6 @@ var xTransformPerspective func(uintptr, float32) uintptr | |||||
| 1839 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1643 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1840 | // if you want to keep it around. | 1644 | // if you want to keep it around. | ||
| 1841 | func (x *Transform) Perspective(DepthVar float32) *Transform { | 1645 | func (x *Transform) Perspective(DepthVar float32) *Transform { | ||
| 1842 | - | core.LazyRegister(&xTransformPerspective, "GSK", "gsk_transform_perspective", false) | |||
| 1843 | - | ||||
| 1844 | cret := xTransformPerspective(x.GoPointer(), DepthVar) | 1646 | cret := xTransformPerspective(x.GoPointer(), DepthVar) | ||
| 1845 | if cret == 0 { | 1647 | if cret == 0 { | ||
| 1846 | return nil | 1648 | return nil | ||
| @@ -1855,8 +1657,6 @@ var xTransformPrint func(uintptr, *glib.String) | |||||
| 1855 | // The result of this function can later be parsed with | 1657 | // The result of this function can later be parsed with | ||
| 1856 | // [func@Gsk.Transform.parse]. | 1658 | // [func@Gsk.Transform.parse]. | ||
| 1857 | func (x *Transform) Print(StringVar *glib.String) { | 1659 | func (x *Transform) Print(StringVar *glib.String) { | ||
| 1858 | - | core.LazyRegister(&xTransformPrint, "GSK", "gsk_transform_print", false) | |||
| 1859 | - | ||||
| 1860 | xTransformPrint(x.GoPointer(), StringVar) | 1660 | xTransformPrint(x.GoPointer(), StringVar) | ||
| 1861 | } | 1661 | } | ||
| 1862 | 1662 | ||||
| @@ -1864,8 +1664,6 @@ var xTransformRef func(uintptr) uintptr | |||||
| 1864 | 1664 | ||||
| 1865 | // Acquires a reference on the given transform. | 1665 | // Acquires a reference on the given transform. | ||
| 1866 | func (x *Transform) Ref() *Transform { | 1666 | func (x *Transform) Ref() *Transform { | ||
| 1867 | - | core.LazyRegister(&xTransformRef, "GSK", "gsk_transform_ref", false) | |||
| 1868 | - | ||||
| 1869 | cret := xTransformRef(x.GoPointer()) | 1667 | cret := xTransformRef(x.GoPointer()) | ||
| 1870 | if cret == 0 { | 1668 | if cret == 0 { | ||
| 1871 | return nil | 1669 | return nil | ||
| @@ -1882,8 +1680,6 @@ var xTransformRotate func(uintptr, float32) uintptr | |||||
| 1882 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1680 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1883 | // if you want to keep it around. | 1681 | // if you want to keep it around. | ||
| 1884 | func (x *Transform) Rotate(AngleVar float32) *Transform { | 1682 | func (x *Transform) Rotate(AngleVar float32) *Transform { | ||
| 1885 | - | core.LazyRegister(&xTransformRotate, "GSK", "gsk_transform_rotate", false) | |||
| 1886 | - | ||||
| 1887 | cret := xTransformRotate(x.GoPointer(), AngleVar) | 1683 | cret := xTransformRotate(x.GoPointer(), AngleVar) | ||
| 1888 | if cret == 0 { | 1684 | if cret == 0 { | ||
| 1889 | return nil | 1685 | return nil | ||
| @@ -1900,8 +1696,6 @@ var xTransformRotate3d func(uintptr, float32, *graphene.Vec3) uintptr | |||||
| 1900 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1696 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1901 | // if you want to keep it around. | 1697 | // if you want to keep it around. | ||
| 1902 | func (x *Transform) Rotate3d(AngleVar float32, AxisVar *graphene.Vec3) *Transform { | 1698 | func (x *Transform) Rotate3d(AngleVar float32, AxisVar *graphene.Vec3) *Transform { | ||
| 1903 | - | core.LazyRegister(&xTransformRotate3d, "GSK", "gsk_transform_rotate_3d", false) | |||
| 1904 | - | ||||
| 1905 | cret := xTransformRotate3d(x.GoPointer(), AngleVar, AxisVar) | 1699 | cret := xTransformRotate3d(x.GoPointer(), AngleVar, AxisVar) | ||
| 1906 | if cret == 0 { | 1700 | if cret == 0 { | ||
| 1907 | return nil | 1701 | return nil | ||
| @@ -1918,8 +1712,6 @@ var xTransformScale func(uintptr, float32, float32) uintptr | |||||
| 1918 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1712 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1919 | // if you want to keep it around. | 1713 | // if you want to keep it around. | ||
| 1920 | func (x *Transform) Scale(FactorXVar float32, FactorYVar float32) *Transform { | 1714 | func (x *Transform) Scale(FactorXVar float32, FactorYVar float32) *Transform { | ||
| 1921 | - | core.LazyRegister(&xTransformScale, "GSK", "gsk_transform_scale", false) | |||
| 1922 | - | ||||
| 1923 | cret := xTransformScale(x.GoPointer(), FactorXVar, FactorYVar) | 1715 | cret := xTransformScale(x.GoPointer(), FactorXVar, FactorYVar) | ||
| 1924 | if cret == 0 { | 1716 | if cret == 0 { | ||
| 1925 | return nil | 1717 | return nil | ||
| @@ -1934,8 +1726,6 @@ var xTransformScale3d func(uintptr, float32, float32, float32) uintptr | |||||
| 1934 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1726 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1935 | // if you want to keep it around. | 1727 | // if you want to keep it around. | ||
| 1936 | func (x *Transform) Scale3d(FactorXVar float32, FactorYVar float32, FactorZVar float32) *Transform { | 1728 | func (x *Transform) Scale3d(FactorXVar float32, FactorYVar float32, FactorZVar float32) *Transform { | ||
| 1937 | - | core.LazyRegister(&xTransformScale3d, "GSK", "gsk_transform_scale_3d", false) | |||
| 1938 | - | ||||
| 1939 | cret := xTransformScale3d(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | 1729 | cret := xTransformScale3d(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | ||
| 1940 | if cret == 0 { | 1730 | if cret == 0 { | ||
| 1941 | return nil | 1731 | return nil | ||
| @@ -1950,8 +1740,6 @@ var xTransformSkew func(uintptr, float32, float32) uintptr | |||||
| 1950 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1740 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 1951 | // if you want to keep it around. | 1741 | // if you want to keep it around. | ||
| 1952 | func (x *Transform) Skew(SkewXVar float32, SkewYVar float32) *Transform { | 1742 | func (x *Transform) Skew(SkewXVar float32, SkewYVar float32) *Transform { | ||
| 1953 | - | core.LazyRegister(&xTransformSkew, "GSK", "gsk_transform_skew", false) | |||
| 1954 | - | ||||
| 1955 | cret := xTransformSkew(x.GoPointer(), SkewXVar, SkewYVar) | 1743 | cret := xTransformSkew(x.GoPointer(), SkewXVar, SkewYVar) | ||
| 1956 | if cret == 0 { | 1744 | if cret == 0 { | ||
| 1957 | return nil | 1745 | return nil | ||
| @@ -1986,8 +1774,6 @@ var xTransformTo2d func(uintptr, *float32, *float32, *float32, *float32, *float3 | |||||
| 1986 | // and a matrix type from other 2D drawing libraries, in particular | 1774 | // and a matrix type from other 2D drawing libraries, in particular | ||
| 1987 | // Cairo. | 1775 | // Cairo. | ||
| 1988 | func (x *Transform) To2d(OutXxVar *float32, OutYxVar *float32, OutXyVar *float32, OutYyVar *float32, OutDxVar *float32, OutDyVar *float32) { | 1776 | func (x *Transform) To2d(OutXxVar *float32, OutYxVar *float32, OutXyVar *float32, OutYyVar *float32, OutDxVar *float32, OutDyVar *float32) { | ||
| 1989 | - | core.LazyRegister(&xTransformTo2d, "GSK", "gsk_transform_to_2d", false) | |||
| 1990 | - | ||||
| 1991 | xTransformTo2d(x.GoPointer(), OutXxVar, OutYxVar, OutXyVar, OutYyVar, OutDxVar, OutDyVar) | 1777 | xTransformTo2d(x.GoPointer(), OutXxVar, OutYxVar, OutXyVar, OutYyVar, OutDxVar, OutDyVar) | ||
| 1992 | } | 1778 | } | ||
| 1993 | 1779 | ||||
| @@ -2012,8 +1798,6 @@ var xTransformTo2dComponents func(uintptr, *float32, *float32, *float32, *float3 | |||||
| 2012 | // | 1798 | // | ||
| 2013 | // to check. | 1799 | // to check. | ||
| 2014 | func (x *Transform) To2dComponents(OutSkewXVar *float32, OutSkewYVar *float32, OutScaleXVar *float32, OutScaleYVar *float32, OutAngleVar *float32, OutDxVar *float32, OutDyVar *float32) { | 1800 | func (x *Transform) To2dComponents(OutSkewXVar *float32, OutSkewYVar *float32, OutScaleXVar *float32, OutScaleYVar *float32, OutAngleVar *float32, OutDxVar *float32, OutDyVar *float32) { | ||
| 2015 | - | core.LazyRegister(&xTransformTo2dComponents, "GSK", "gsk_transform_to_2d_components", false) | |||
| 2016 | - | ||||
| 2017 | xTransformTo2dComponents(x.GoPointer(), OutSkewXVar, OutSkewYVar, OutScaleXVar, OutScaleYVar, OutAngleVar, OutDxVar, OutDyVar) | 1801 | xTransformTo2dComponents(x.GoPointer(), OutSkewXVar, OutSkewYVar, OutScaleXVar, OutScaleYVar, OutAngleVar, OutDxVar, OutDyVar) | ||
| 2018 | } | 1802 | } | ||
| 2019 | 1803 | ||||
| @@ -2037,8 +1821,6 @@ var xTransformToAffine func(uintptr, *float32, *float32, *float32, *float32) | |||||
| 2037 | // | 1821 | // | ||
| 2038 | // to check. | 1822 | // to check. | ||
| 2039 | func (x *Transform) ToAffine(OutScaleXVar *float32, OutScaleYVar *float32, OutDxVar *float32, OutDyVar *float32) { | 1823 | func (x *Transform) ToAffine(OutScaleXVar *float32, OutScaleYVar *float32, OutDxVar *float32, OutDyVar *float32) { | ||
| 2040 | - | core.LazyRegister(&xTransformToAffine, "GSK", "gsk_transform_to_affine", false) | |||
| 2041 | - | ||||
| 2042 | xTransformToAffine(x.GoPointer(), OutScaleXVar, OutScaleYVar, OutDxVar, OutDyVar) | 1824 | xTransformToAffine(x.GoPointer(), OutScaleXVar, OutScaleYVar, OutDxVar, OutDyVar) | ||
| 2043 | } | 1825 | } | ||
| 2044 | 1826 | ||||
| @@ -2048,8 +1830,6 @@ var xTransformToMatrix func(uintptr, *graphene.Matrix) | |||||
| 2048 | // | 1830 | // | ||
| 2049 | // The previous value of @out_matrix will be ignored. | 1831 | // The previous value of @out_matrix will be ignored. | ||
| 2050 | func (x *Transform) ToMatrix(OutMatrixVar *graphene.Matrix) { | 1832 | func (x *Transform) ToMatrix(OutMatrixVar *graphene.Matrix) { | ||
| 2051 | - | core.LazyRegister(&xTransformToMatrix, "GSK", "gsk_transform_to_matrix", false) | |||
| 2052 | - | ||||
| 2053 | xTransformToMatrix(x.GoPointer(), OutMatrixVar) | 1833 | xTransformToMatrix(x.GoPointer(), OutMatrixVar) | ||
| 2054 | } | 1834 | } | ||
| 2055 | 1835 | ||||
| @@ -2061,8 +1841,6 @@ var xTransformToString func(uintptr) string | |||||
| 2061 | // | 1841 | // | ||
| 2062 | // This is a wrapper around [method@Gsk.Transform.print]. | 1842 | // This is a wrapper around [method@Gsk.Transform.print]. | ||
| 2063 | func (x *Transform) ToString() string { | 1843 | func (x *Transform) ToString() string { | ||
| 2064 | - | core.LazyRegister(&xTransformToString, "GSK", "gsk_transform_to_string", false) | |||
| 2065 | - | ||||
| 2066 | cret := xTransformToString(x.GoPointer()) | 1844 | cret := xTransformToString(x.GoPointer()) | ||
| 2067 | return cret | 1845 | return cret | ||
| 2068 | } | 1846 | } | ||
| @@ -2078,8 +1856,6 @@ var xTransformToTranslate func(uintptr, *float32, *float32) | |||||
| 2078 | // | 1856 | // | ||
| 2079 | // to check. | 1857 | // to check. | ||
| 2080 | func (x *Transform) ToTranslate(OutDxVar *float32, OutDyVar *float32) { | 1858 | func (x *Transform) ToTranslate(OutDxVar *float32, OutDyVar *float32) { | ||
| 2081 | - | core.LazyRegister(&xTransformToTranslate, "GSK", "gsk_transform_to_translate", false) | |||
| 2082 | - | ||||
| 2083 | xTransformToTranslate(x.GoPointer(), OutDxVar, OutDyVar) | 1859 | xTransformToTranslate(x.GoPointer(), OutDxVar, OutDyVar) | ||
| 2084 | } | 1860 | } | ||
| 2085 | 1861 | ||||
| @@ -2090,8 +1866,6 @@ var xTransformTransform func(uintptr, *Transform) uintptr | |||||
| 2090 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1866 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 2091 | // if you want to keep it around. | 1867 | // if you want to keep it around. | ||
| 2092 | func (x *Transform) Transform(OtherVar *Transform) *Transform { | 1868 | func (x *Transform) Transform(OtherVar *Transform) *Transform { | ||
| 2093 | - | core.LazyRegister(&xTransformTransform, "GSK", "gsk_transform_transform", false) | |||
| 2094 | - | ||||
| 2095 | cret := xTransformTransform(x.GoPointer(), OtherVar) | 1869 | cret := xTransformTransform(x.GoPointer(), OtherVar) | ||
| 2096 | if cret == 0 { | 1870 | if cret == 0 { | ||
| 2097 | return nil | 1871 | return nil | ||
| @@ -2107,8 +1881,6 @@ var xTransformTransformBounds func(uintptr, *graphene.Rect, *graphene.Rect) | |||||
| 2107 | // | 1881 | // | ||
| 2108 | // The input and output rect may point to the same rectangle. | 1882 | // The input and output rect may point to the same rectangle. | ||
| 2109 | func (x *Transform) TransformBounds(RectVar *graphene.Rect, OutRectVar *graphene.Rect) { | 1883 | func (x *Transform) TransformBounds(RectVar *graphene.Rect, OutRectVar *graphene.Rect) { | ||
| 2110 | - | core.LazyRegister(&xTransformTransformBounds, "GSK", "gsk_transform_transform_bounds", false) | |||
| 2111 | - | ||||
| 2112 | xTransformTransformBounds(x.GoPointer(), RectVar, OutRectVar) | 1884 | xTransformTransformBounds(x.GoPointer(), RectVar, OutRectVar) | ||
| 2113 | } | 1885 | } | ||
| 2114 | 1886 | ||||
| @@ -2116,8 +1888,6 @@ var xTransformTransformPoint func(uintptr, *graphene.Point, *graphene.Point) | |||||
| 2116 | 1888 | ||||
| 2117 | // Transforms a point using the given transform. | 1889 | // Transforms a point using the given transform. | ||
| 2118 | func (x *Transform) TransformPoint(PointVar *graphene.Point, OutPointVar *graphene.Point) { | 1890 | func (x *Transform) TransformPoint(PointVar *graphene.Point, OutPointVar *graphene.Point) { | ||
| 2119 | - | core.LazyRegister(&xTransformTransformPoint, "GSK", "gsk_transform_transform_point", false) | |||
| 2120 | - | ||||
| 2121 | xTransformTransformPoint(x.GoPointer(), PointVar, OutPointVar) | 1891 | xTransformTransformPoint(x.GoPointer(), PointVar, OutPointVar) | ||
| 2122 | } | 1892 | } | ||
| 2123 | 1893 | ||||
| @@ -2128,8 +1898,6 @@ var xTransformTranslate func(uintptr, *graphene.Point) uintptr | |||||
| 2128 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1898 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 2129 | // if you want to keep it around. | 1899 | // if you want to keep it around. | ||
| 2130 | func (x *Transform) Translate(PointVar *graphene.Point) *Transform { | 1900 | func (x *Transform) Translate(PointVar *graphene.Point) *Transform { | ||
| 2131 | - | core.LazyRegister(&xTransformTranslate, "GSK", "gsk_transform_translate", false) | |||
| 2132 | - | ||||
| 2133 | cret := xTransformTranslate(x.GoPointer(), PointVar) | 1901 | cret := xTransformTranslate(x.GoPointer(), PointVar) | ||
| 2134 | if cret == 0 { | 1902 | if cret == 0 { | ||
| 2135 | return nil | 1903 | return nil | ||
| @@ -2144,8 +1912,6 @@ var xTransformTranslate3d func(uintptr, *graphene.Point3D) uintptr | |||||
| 2144 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | 1912 | // This function consumes @next. Use [method@Gsk.Transform.ref] first | ||
| 2145 | // if you want to keep it around. | 1913 | // if you want to keep it around. | ||
| 2146 | func (x *Transform) Translate3d(PointVar *graphene.Point3D) *Transform { | 1914 | func (x *Transform) Translate3d(PointVar *graphene.Point3D) *Transform { | ||
| 2147 | - | core.LazyRegister(&xTransformTranslate3d, "GSK", "gsk_transform_translate_3d", false) | |||
| 2148 | - | ||||
| 2149 | cret := xTransformTranslate3d(x.GoPointer(), PointVar) | 1915 | cret := xTransformTranslate3d(x.GoPointer(), PointVar) | ||
| 2150 | if cret == 0 { | 1916 | if cret == 0 { | ||
| 2151 | return nil | 1917 | return nil | ||
| @@ -2160,12 +1926,162 @@ var xTransformUnref func(uintptr) | |||||
| 2160 | // If the reference was the last, the resources associated to the @self are | 1926 | // If the reference was the last, the resources associated to the @self are | ||
| 2161 | // freed. | 1927 | // freed. | ||
| 2162 | func (x *Transform) Unref() { | 1928 | func (x *Transform) Unref() { | ||
| 2163 | - | core.LazyRegister(&xTransformUnref, "GSK", "gsk_transform_unref", false) | |||
| 2164 | - | ||||
| 2165 | xTransformUnref(x.GoPointer()) | 1929 | xTransformUnref(x.GoPointer()) | ||
| 2166 | } | 1930 | } | ||
| 2167 | 1931 | ||||
| 2168 | func init() { | 1932 | func init() { | ||
| 2169 | core.SetPackageName("GSK", "gtk4") | 1933 | core.SetPackageName("GSK", "gtk4") | ||
| 2170 | core.SetSharedLibraries("GSK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 1934 | core.SetSharedLibraries("GSK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 1935 | + | var libs []uintptr | |||
| 1936 | + | for _, libPath := range core.GetPaths("GSK") { | |||
| 1937 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1938 | + | if err != nil { | |||
| 1939 | + | panic(err) | |||
| 1940 | + | } | |||
| 1941 | + | libs = append(libs, lib) | |||
| 1942 | + | } | |||
| 1943 | + | ||||
| 1944 | + | core.PuregoSafeRegister(&xComponentTransferGLibType, libs, "gsk_component_transfer_get_type") | |||
| 1945 | + | ||||
| 1946 | + | core.PuregoSafeRegister(&xNewComponentTransferDiscrete, libs, "gsk_component_transfer_new_discrete") | |||
| 1947 | + | core.PuregoSafeRegister(&xNewComponentTransferGamma, libs, "gsk_component_transfer_new_gamma") | |||
| 1948 | + | core.PuregoSafeRegister(&xNewComponentTransferIdentity, libs, "gsk_component_transfer_new_identity") | |||
| 1949 | + | core.PuregoSafeRegister(&xNewComponentTransferLevels, libs, "gsk_component_transfer_new_levels") | |||
| 1950 | + | core.PuregoSafeRegister(&xNewComponentTransferLinear, libs, "gsk_component_transfer_new_linear") | |||
| 1951 | + | core.PuregoSafeRegister(&xNewComponentTransferTable, libs, "gsk_component_transfer_new_table") | |||
| 1952 | + | ||||
| 1953 | + | core.PuregoSafeRegister(&xComponentTransferCopy, libs, "gsk_component_transfer_copy") | |||
| 1954 | + | core.PuregoSafeRegister(&xComponentTransferFree, libs, "gsk_component_transfer_free") | |||
| 1955 | + | ||||
| 1956 | + | core.PuregoSafeRegister(&xPathGLibType, libs, "gsk_path_get_type") | |||
| 1957 | + | ||||
| 1958 | + | core.PuregoSafeRegister(&xPathEqual, libs, "gsk_path_equal") | |||
| 1959 | + | core.PuregoSafeRegister(&xPathForeach, libs, "gsk_path_foreach") | |||
| 1960 | + | core.PuregoSafeRegister(&xPathForeachIntersection, libs, "gsk_path_foreach_intersection") | |||
| 1961 | + | core.PuregoSafeRegister(&xPathGetBounds, libs, "gsk_path_get_bounds") | |||
| 1962 | + | core.PuregoSafeRegister(&xPathGetClosestPoint, libs, "gsk_path_get_closest_point") | |||
| 1963 | + | core.PuregoSafeRegister(&xPathGetEndPoint, libs, "gsk_path_get_end_point") | |||
| 1964 | + | core.PuregoSafeRegister(&xPathGetNext, libs, "gsk_path_get_next") | |||
| 1965 | + | core.PuregoSafeRegister(&xPathGetPrevious, libs, "gsk_path_get_previous") | |||
| 1966 | + | core.PuregoSafeRegister(&xPathGetStartPoint, libs, "gsk_path_get_start_point") | |||
| 1967 | + | core.PuregoSafeRegister(&xPathGetStrokeBounds, libs, "gsk_path_get_stroke_bounds") | |||
| 1968 | + | core.PuregoSafeRegister(&xPathGetTightBounds, libs, "gsk_path_get_tight_bounds") | |||
| 1969 | + | core.PuregoSafeRegister(&xPathInFill, libs, "gsk_path_in_fill") | |||
| 1970 | + | core.PuregoSafeRegister(&xPathIsClosed, libs, "gsk_path_is_closed") | |||
| 1971 | + | core.PuregoSafeRegister(&xPathIsEmpty, libs, "gsk_path_is_empty") | |||
| 1972 | + | core.PuregoSafeRegister(&xPathPrint, libs, "gsk_path_print") | |||
| 1973 | + | core.PuregoSafeRegister(&xPathRef, libs, "gsk_path_ref") | |||
| 1974 | + | core.PuregoSafeRegister(&xPathToCairo, libs, "gsk_path_to_cairo") | |||
| 1975 | + | core.PuregoSafeRegister(&xPathToString, libs, "gsk_path_to_string") | |||
| 1976 | + | core.PuregoSafeRegister(&xPathUnref, libs, "gsk_path_unref") | |||
| 1977 | + | ||||
| 1978 | + | core.PuregoSafeRegister(&xPathBuilderGLibType, libs, "gsk_path_builder_get_type") | |||
| 1979 | + | ||||
| 1980 | + | core.PuregoSafeRegister(&xNewPathBuilder, libs, "gsk_path_builder_new") | |||
| 1981 | + | ||||
| 1982 | + | core.PuregoSafeRegister(&xPathBuilderAddCairoPath, libs, "gsk_path_builder_add_cairo_path") | |||
| 1983 | + | core.PuregoSafeRegister(&xPathBuilderAddCircle, libs, "gsk_path_builder_add_circle") | |||
| 1984 | + | core.PuregoSafeRegister(&xPathBuilderAddLayout, libs, "gsk_path_builder_add_layout") | |||
| 1985 | + | core.PuregoSafeRegister(&xPathBuilderAddPath, libs, "gsk_path_builder_add_path") | |||
| 1986 | + | core.PuregoSafeRegister(&xPathBuilderAddRect, libs, "gsk_path_builder_add_rect") | |||
| 1987 | + | core.PuregoSafeRegister(&xPathBuilderAddReversePath, libs, "gsk_path_builder_add_reverse_path") | |||
| 1988 | + | core.PuregoSafeRegister(&xPathBuilderAddRoundedRect, libs, "gsk_path_builder_add_rounded_rect") | |||
| 1989 | + | core.PuregoSafeRegister(&xPathBuilderAddSegment, libs, "gsk_path_builder_add_segment") | |||
| 1990 | + | core.PuregoSafeRegister(&xPathBuilderArcTo, libs, "gsk_path_builder_arc_to") | |||
| 1991 | + | core.PuregoSafeRegister(&xPathBuilderClose, libs, "gsk_path_builder_close") | |||
| 1992 | + | core.PuregoSafeRegister(&xPathBuilderConicTo, libs, "gsk_path_builder_conic_to") | |||
| 1993 | + | core.PuregoSafeRegister(&xPathBuilderCubicTo, libs, "gsk_path_builder_cubic_to") | |||
| 1994 | + | core.PuregoSafeRegister(&xPathBuilderFreeToPath, libs, "gsk_path_builder_free_to_path") | |||
| 1995 | + | core.PuregoSafeRegister(&xPathBuilderGetCurrentPoint, libs, "gsk_path_builder_get_current_point") | |||
| 1996 | + | core.PuregoSafeRegister(&xPathBuilderHtmlArcTo, libs, "gsk_path_builder_html_arc_to") | |||
| 1997 | + | core.PuregoSafeRegister(&xPathBuilderLineTo, libs, "gsk_path_builder_line_to") | |||
| 1998 | + | core.PuregoSafeRegister(&xPathBuilderMoveTo, libs, "gsk_path_builder_move_to") | |||
| 1999 | + | core.PuregoSafeRegister(&xPathBuilderQuadTo, libs, "gsk_path_builder_quad_to") | |||
| 2000 | + | core.PuregoSafeRegister(&xPathBuilderRef, libs, "gsk_path_builder_ref") | |||
| 2001 | + | core.PuregoSafeRegister(&xPathBuilderRelArcTo, libs, "gsk_path_builder_rel_arc_to") | |||
| 2002 | + | core.PuregoSafeRegister(&xPathBuilderRelConicTo, libs, "gsk_path_builder_rel_conic_to") | |||
| 2003 | + | core.PuregoSafeRegister(&xPathBuilderRelCubicTo, libs, "gsk_path_builder_rel_cubic_to") | |||
| 2004 | + | core.PuregoSafeRegister(&xPathBuilderRelHtmlArcTo, libs, "gsk_path_builder_rel_html_arc_to") | |||
| 2005 | + | core.PuregoSafeRegister(&xPathBuilderRelLineTo, libs, "gsk_path_builder_rel_line_to") | |||
| 2006 | + | core.PuregoSafeRegister(&xPathBuilderRelMoveTo, libs, "gsk_path_builder_rel_move_to") | |||
| 2007 | + | core.PuregoSafeRegister(&xPathBuilderRelQuadTo, libs, "gsk_path_builder_rel_quad_to") | |||
| 2008 | + | core.PuregoSafeRegister(&xPathBuilderRelSvgArcTo, libs, "gsk_path_builder_rel_svg_arc_to") | |||
| 2009 | + | core.PuregoSafeRegister(&xPathBuilderSvgArcTo, libs, "gsk_path_builder_svg_arc_to") | |||
| 2010 | + | core.PuregoSafeRegister(&xPathBuilderToPath, libs, "gsk_path_builder_to_path") | |||
| 2011 | + | core.PuregoSafeRegister(&xPathBuilderUnref, libs, "gsk_path_builder_unref") | |||
| 2012 | + | ||||
| 2013 | + | core.PuregoSafeRegister(&xPathMeasureGLibType, libs, "gsk_path_measure_get_type") | |||
| 2014 | + | ||||
| 2015 | + | core.PuregoSafeRegister(&xNewPathMeasure, libs, "gsk_path_measure_new") | |||
| 2016 | + | core.PuregoSafeRegister(&xNewPathMeasureWithTolerance, libs, "gsk_path_measure_new_with_tolerance") | |||
| 2017 | + | ||||
| 2018 | + | core.PuregoSafeRegister(&xPathMeasureGetLength, libs, "gsk_path_measure_get_length") | |||
| 2019 | + | core.PuregoSafeRegister(&xPathMeasureGetPath, libs, "gsk_path_measure_get_path") | |||
| 2020 | + | core.PuregoSafeRegister(&xPathMeasureGetPoint, libs, "gsk_path_measure_get_point") | |||
| 2021 | + | core.PuregoSafeRegister(&xPathMeasureGetTolerance, libs, "gsk_path_measure_get_tolerance") | |||
| 2022 | + | core.PuregoSafeRegister(&xPathMeasureRef, libs, "gsk_path_measure_ref") | |||
| 2023 | + | core.PuregoSafeRegister(&xPathMeasureUnref, libs, "gsk_path_measure_unref") | |||
| 2024 | + | ||||
| 2025 | + | core.PuregoSafeRegister(&xRenderReplayGLibType, libs, "gsk_render_replay_get_type") | |||
| 2026 | + | ||||
| 2027 | + | core.PuregoSafeRegister(&xNewRenderReplay, libs, "gsk_render_replay_new") | |||
| 2028 | + | ||||
| 2029 | + | core.PuregoSafeRegister(&xRenderReplayDefault, libs, "gsk_render_replay_default") | |||
| 2030 | + | core.PuregoSafeRegister(&xRenderReplayFilterFont, libs, "gsk_render_replay_filter_font") | |||
| 2031 | + | core.PuregoSafeRegister(&xRenderReplayFilterNode, libs, "gsk_render_replay_filter_node") | |||
| 2032 | + | core.PuregoSafeRegister(&xRenderReplayFilterTexture, libs, "gsk_render_replay_filter_texture") | |||
| 2033 | + | core.PuregoSafeRegister(&xRenderReplayFree, libs, "gsk_render_replay_free") | |||
| 2034 | + | core.PuregoSafeRegister(&xRenderReplaySetFontFilter, libs, "gsk_render_replay_set_font_filter") | |||
| 2035 | + | core.PuregoSafeRegister(&xRenderReplaySetNodeFilter, libs, "gsk_render_replay_set_node_filter") | |||
| 2036 | + | core.PuregoSafeRegister(&xRenderReplaySetTextureFilter, libs, "gsk_render_replay_set_texture_filter") | |||
| 2037 | + | ||||
| 2038 | + | core.PuregoSafeRegister(&xStrokeGLibType, libs, "gsk_stroke_get_type") | |||
| 2039 | + | ||||
| 2040 | + | core.PuregoSafeRegister(&xNewStroke, libs, "gsk_stroke_new") | |||
| 2041 | + | ||||
| 2042 | + | core.PuregoSafeRegister(&xStrokeCopy, libs, "gsk_stroke_copy") | |||
| 2043 | + | core.PuregoSafeRegister(&xStrokeFree, libs, "gsk_stroke_free") | |||
| 2044 | + | core.PuregoSafeRegister(&xStrokeGetDash, libs, "gsk_stroke_get_dash") | |||
| 2045 | + | core.PuregoSafeRegister(&xStrokeGetDashOffset, libs, "gsk_stroke_get_dash_offset") | |||
| 2046 | + | core.PuregoSafeRegister(&xStrokeGetLineCap, libs, "gsk_stroke_get_line_cap") | |||
| 2047 | + | core.PuregoSafeRegister(&xStrokeGetLineJoin, libs, "gsk_stroke_get_line_join") | |||
| 2048 | + | core.PuregoSafeRegister(&xStrokeGetLineWidth, libs, "gsk_stroke_get_line_width") | |||
| 2049 | + | core.PuregoSafeRegister(&xStrokeGetMiterLimit, libs, "gsk_stroke_get_miter_limit") | |||
| 2050 | + | core.PuregoSafeRegister(&xStrokeSetDash, libs, "gsk_stroke_set_dash") | |||
| 2051 | + | core.PuregoSafeRegister(&xStrokeSetDashOffset, libs, "gsk_stroke_set_dash_offset") | |||
| 2052 | + | core.PuregoSafeRegister(&xStrokeSetLineCap, libs, "gsk_stroke_set_line_cap") | |||
| 2053 | + | core.PuregoSafeRegister(&xStrokeSetLineJoin, libs, "gsk_stroke_set_line_join") | |||
| 2054 | + | core.PuregoSafeRegister(&xStrokeSetLineWidth, libs, "gsk_stroke_set_line_width") | |||
| 2055 | + | core.PuregoSafeRegister(&xStrokeSetMiterLimit, libs, "gsk_stroke_set_miter_limit") | |||
| 2056 | + | core.PuregoSafeRegister(&xStrokeToCairo, libs, "gsk_stroke_to_cairo") | |||
| 2057 | + | ||||
| 2058 | + | core.PuregoSafeRegister(&xTransformGLibType, libs, "gsk_transform_get_type") | |||
| 2059 | + | ||||
| 2060 | + | core.PuregoSafeRegister(&xNewTransform, libs, "gsk_transform_new") | |||
| 2061 | + | ||||
| 2062 | + | core.PuregoSafeRegister(&xTransformEqual, libs, "gsk_transform_equal") | |||
| 2063 | + | core.PuregoSafeRegister(&xTransformGetCategory, libs, "gsk_transform_get_category") | |||
| 2064 | + | core.PuregoSafeRegister(&xTransformInvert, libs, "gsk_transform_invert") | |||
| 2065 | + | core.PuregoSafeRegister(&xTransformMatrix, libs, "gsk_transform_matrix") | |||
| 2066 | + | core.PuregoSafeRegister(&xTransformMatrix2d, libs, "gsk_transform_matrix_2d") | |||
| 2067 | + | core.PuregoSafeRegister(&xTransformPerspective, libs, "gsk_transform_perspective") | |||
| 2068 | + | core.PuregoSafeRegister(&xTransformPrint, libs, "gsk_transform_print") | |||
| 2069 | + | core.PuregoSafeRegister(&xTransformRef, libs, "gsk_transform_ref") | |||
| 2070 | + | core.PuregoSafeRegister(&xTransformRotate, libs, "gsk_transform_rotate") | |||
| 2071 | + | core.PuregoSafeRegister(&xTransformRotate3d, libs, "gsk_transform_rotate_3d") | |||
| 2072 | + | core.PuregoSafeRegister(&xTransformScale, libs, "gsk_transform_scale") | |||
| 2073 | + | core.PuregoSafeRegister(&xTransformScale3d, libs, "gsk_transform_scale_3d") | |||
| 2074 | + | core.PuregoSafeRegister(&xTransformSkew, libs, "gsk_transform_skew") | |||
| 2075 | + | core.PuregoSafeRegister(&xTransformTo2d, libs, "gsk_transform_to_2d") | |||
| 2076 | + | core.PuregoSafeRegister(&xTransformTo2dComponents, libs, "gsk_transform_to_2d_components") | |||
| 2077 | + | core.PuregoSafeRegister(&xTransformToAffine, libs, "gsk_transform_to_affine") | |||
| 2078 | + | core.PuregoSafeRegister(&xTransformToMatrix, libs, "gsk_transform_to_matrix") | |||
| 2079 | + | core.PuregoSafeRegister(&xTransformToString, libs, "gsk_transform_to_string") | |||
| 2080 | + | core.PuregoSafeRegister(&xTransformToTranslate, libs, "gsk_transform_to_translate") | |||
| 2081 | + | core.PuregoSafeRegister(&xTransformTransform, libs, "gsk_transform_transform") | |||
| 2082 | + | core.PuregoSafeRegister(&xTransformTransformBounds, libs, "gsk_transform_transform_bounds") | |||
| 2083 | + | core.PuregoSafeRegister(&xTransformTransformPoint, libs, "gsk_transform_transform_point") | |||
| 2084 | + | core.PuregoSafeRegister(&xTransformTranslate, libs, "gsk_transform_translate") | |||
| 2085 | + | core.PuregoSafeRegister(&xTransformTranslate3d, libs, "gsk_transform_translate_3d") | |||
| 2086 | + | core.PuregoSafeRegister(&xTransformUnref, libs, "gsk_transform_unref") | |||
| 2171 | } | 2087 | } | ||