box-drawing: reduce number of function arguments

We were using so many function arguments that a lot of the emitted
code was just stack push and pops to pass around arguments.

Bundle the buffer data, width, height, stride, and current DPI, into a
single ‘buf’ argument. This greatly reduces the number of arguments to
all functions.
This commit is contained in:
Daniel Eklöf 2021-01-01 21:47:05 +01:00
parent 25f21d4202
commit c75192b4f8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

File diff suppressed because it is too large Load diff