mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
fff912efd3
Draw a grid of 21x21 box glyphs. Each glyph is offset by n/20 pixels in the x and y direction. The background color is carefully selected to be divisible by 16, so that when the box glyph is subpixel positioned by 1/4th of a pixel offset from the pixel grid in either direction, the result will be an edge pixel whose color value can be computed exactly. Cairo still rounds this wrong for color values >= 128 which is why we use a dark gray that guarantees the resulting color values are all <128.
499 B
189x378px
499 B
189x378px