aboutsummaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-05 16:21:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-08-05 16:25:01 +0000
commit36ecd0baede55c46d910b03273dff93a5db181ed (patch)
treeb76b288540c9b28971f0df36e679e39f1fe23e5a /debug.h
parentbox-drawing: wedges: don’t group similar cases together (diff)
box-drawing: wedges: fix alignment of inverted wedges
We render the inverted wedges by first rendering a non-inverted triangle, and then inverting it with PIXMAN_OP_OUT. In cases where truncating and round():ing the triangle points have different results, the final, inverted wedge ends up being unaligned with the corresponding sixel(s). This patch fixes that by handling the pre-inverted triangles specifically. I.e. we don’t re-use the same triangle coordinates as the corresponding non-inverted triangle.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions