mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
70380661fe
Allow specifying padding via --padding. The argument to --padding is a string of up to 4 comma-separated numbers, for the left, right, top, bottom padding. If less numbers are given, the remaining ones are set to zero. This commit also includes an image that can be used for testing with testdmabuf --padding 20,20,20,20 NV12 padded.png
17 lines
338 B
C
17 lines
338 B
C
#pragma once
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <graphene.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GTK_TYPE_CLIPPER (gtk_clipper_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GtkClipper, gtk_clipper, GTK, CLIPPER, GObject)
|
|
|
|
GdkPaintable * gtk_clipper_new (GdkPaintable *paintable,
|
|
const graphene_rect_t *clip);
|
|
|
|
G_END_DECLS
|
|
|