v0.2.1 c0399be

gdk-pixbuf-transform.go RawHistoryFolder

1// Package gdkpixbuf was automatically generated by github.com/bnema/puregotk DO NOT EDIT
2package gdkpixbuf
3
4import (
5	"github.com/bnema/puregotk/v4/gobject/types"
6)
7
8// Interpolation modes for scaling functions.
9//
10// The `GDK_INTERP_NEAREST` mode is the fastest scaling method, but has
11// horrible quality when scaling down; `GDK_INTERP_BILINEAR` is the best
12// choice if you aren't sure what to choose, it has a good speed/quality
13// balance.
14//
15// **Note**: Cubic filtering is missing from the list; hyperbolic
16// interpolation is just as fast and results in higher quality.
17type InterpType int
18
19var xInterpTypeGLibType func() types.GType
20
21func InterpTypeGLibType() types.GType {
22	return xInterpTypeGLibType()
23}
24
25const (
26
27	// Nearest neighbor sampling; this is the fastest
28	//  and lowest quality mode. Quality is normally unacceptable when scaling
29	//  down, but may be OK when scaling up.
30	GdkInterpNearestValue InterpType = 0
31	// This is an accurate simulation of the PostScript
32	//  image operator without any interpolation enabled.  Each pixel is
33	//  rendered as a tiny parallelogram of solid color, the edges of which
34	//  are implemented with antialiasing.  It resembles nearest neighbor for
35	//  enlargement, and bilinear for reduction.
36	GdkInterpTilesValue InterpType = 1
37	// Best quality/speed balance; use this mode by
38	//  default. Bilinear interpolation.  For enlargement, it is
39	//  equivalent to point-sampling the ideal bilinear-interpolated image.
40	//  For reduction, it is equivalent to laying down small tiles and
41	//  integrating over the coverage area.
42	GdkInterpBilinearValue InterpType = 2
43	// This is the slowest and highest quality
44	//  reconstruction function. It is derived from the hyperbolic filters in
45	//  Wolberg's "Digital Image Warping", and is formally defined as the
46	//  hyperbolic-filter sampling the ideal hyperbolic-filter interpolated
47	//  image (the filter is designed to be idempotent for 1:1 pixel mapping).
48	//  **Deprecated**: this interpolation filter is deprecated, as in reality
49	//  it has a lower quality than the @GDK_INTERP_BILINEAR filter
50	//  (Since: 2.38)
51	GdkInterpHyperValue InterpType = 3
52)
53
54// The possible rotations which can be passed to gdk_pixbuf_rotate_simple().
55//
56// To make them easier to use, their numerical values are the actual degrees.
57type PixbufRotation int
58
59var xPixbufRotationGLibType func() types.GType
60
61func PixbufRotationGLibType() types.GType {
62	return xPixbufRotationGLibType()
63}
64
65const (
66
67	// No rotation.
68	GdkPixbufRotateNoneValue PixbufRotation = 0
69	// Rotate by 90 degrees.
70	GdkPixbufRotateCounterclockwiseValue PixbufRotation = 90
71	// Rotate by 180 degrees.
72	GdkPixbufRotateUpsidedownValue PixbufRotation = 180
73	// Rotate by 270 degrees.
74	GdkPixbufRotateClockwiseValue PixbufRotation = 270
75)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close