gdkDrawRgbImageDithalign(object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith)
object
GdkDrawable
to draw in (usually a GdkWindow
).gc
x
y
width
height
dith
GdkRgbDither
value, selecting the desired dither mode.rgb.buf
xdith
ydith
xdith
, y + ydith
). Thus, if you draw an
image into a window using zero dither alignment, then scroll up one
pixel, subsequent draws to the window should have ydith
= 1.
Setting the dither alignment correctly allows updating of small parts
of the screen while avoiding visible "seams" between the different
dither textures.