diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-05 16:21:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-05 16:25:01 +0000 |
| commit | 36ecd0baede55c46d910b03273dff93a5db181ed (patch) | |
| tree | b76b288540c9b28971f0df36e679e39f1fe23e5a /render.c | |
| parent | box-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 'render.c')
0 files changed, 0 insertions, 0 deletions
