aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c (follow)
Commit message (Expand)AuthorAgeLines
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-8/+8
* box-drawing: use enum constants in draw_sextant() instead of #defineCraig Barnes2021-01-15-6/+8
* box-drawing: line thickness now depends on both DPI and cell sizeDaniel Eklöf2021-01-12-11/+21
* box-drawing: LIGHT ARC: ensure row+col are within rangeDaniel Eklöf2021-01-12-8/+12
* box-drawing: {h,v}line() + rect(): ensure *end* row/col is >= 0Daniel Eklöf2021-01-12-3/+3
* box-drawing: x/y offsets: use pre-calculated offset values from term structDaniel Eklöf2021-01-11-12/+2
* config: line-height, letter-spacing: values are in pt by default, but we allow pxDaniel Eklöf2021-01-11-2/+12
* box-drawing: compensate for non-zero {horizontal,vertical}-letter-offsetsDaniel Eklöf2021-01-11-2/+3
* Use wrappers from macros.h instead of bare GCC attributes/pragmasCraig Barnes2021-01-03-7/+2
* box-drawing: drop ‘pragma GCC optimize(“Os”)’Daniel Eklöf2021-01-02-4/+0
* box-drawing: codespell: assymetrical -> asymmetricalDaniel Eklöf2021-01-02-2/+2
* box-drawing: add macros for {h,v}line_middle_mixed()Daniel Eklöf2021-01-02-24/+28
* box-drawing: LIGHT ARC: simpler way to adjust for asymmetrical arc when mirroringDaniel Eklöf2021-01-02-4/+31
* box-drawing: LIGHT ARC: use min/max instead of checking range inside loopDaniel Eklöf2021-01-02-10/+5
* box-drawing: LIGHT ARC: fix alignment of arcs when thickness is > 1pxDaniel Eklöf2021-01-02-29/+58
* box-drawing: LIGHT ARC: test using a circle equation instead of a bezier curveDaniel Eklöf2021-01-01-73/+35
* box-drawing: guard GCC pragma with #if defined(__GNUC__)Daniel Eklöf2021-01-01-1/+3
* box-drawing: do not inline any of the utility functionsDaniel Eklöf2021-01-01-21/+21
* box-drawing: dedicated functions to draw a full horizontal/vertical lineDaniel Eklöf2021-01-01-88/+60
* box-drawing: convert {h,v}line_middle_{left,right,up,down}() macros to functionsDaniel Eklöf2021-01-01-53/+56
* box-drawing: sextants: convert sextant_*() macros to functionsDaniel Eklöf2021-01-01-12/+41
* box-drawing: quadrants: convert quad_*() macros to functionsDaniel Eklöf2021-01-01-25/+44
* box-drawing: reduce number of function argumentsDaniel Eklöf2021-01-01-579/+589
* box-drawing: force minsize optimizationDaniel Eklöf2021-01-01-0/+2
* box-drawing: disable debug outputDaniel Eklöf2021-01-01-1/+1
* box-drawing: LIGHT DIAGONALsDaniel Eklöf2021-01-01-6/+50
* box-drawing: silence variable-may-not-be-initialized warningsDaniel Eklöf2021-01-01-2/+2
* box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE VERTICALDaniel Eklöf2021-01-01-72/+138
* box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE HORIZONTALDaniel Eklöf2021-01-01-6/+130
* box-drawing: LIGHT ARC: improve symmetry when cell width is evenDaniel Eklöf2021-01-01-4/+24
* box-drawing: LIGHT ARC: no need to do floating point since we’re truncatingDaniel Eklöf2021-01-01-4/+4
* box-drawing: LIGHT ARC: pixel-perfectDaniel Eklöf2021-01-01-24/+26
* box-drawing: wip: LIGHT ARC: U+256d-U+2570Daniel Eklöf2021-01-01-6/+95
* box-drawing: {h,v}line(): handle both start/end point being too small *and* too largeDaniel Eklöf2021-01-01-2/+8
* box-drawing: thickness(): ensure thickness is *at least* 1pxDaniel Eklöf2021-01-01-1/+1
* box-drawing: make sure we never walk outside the (image) bufferDaniel Eklöf2021-01-01-13/+14
* box-drawing: wrap {h,v}hline() functions in macros, to shorten argument listDaniel Eklöf2021-01-01-94/+98
* box-drawing: SEXTANTS, U+1fb00-1fb3bDaniel Eklöf2021-01-01-0/+135
* box-drawing: oops - remove accidental ‘x’Daniel Eklöf2021-01-01-1/+1
* box-drawing: remove LOG_WARN from U+259x range - all codepoints have been implementedDaniel Eklöf2021-01-01-4/+1
* box_drawing(): mark function as ‘cold’Daniel Eklöf2021-01-01-1/+1
* box-drawing: remove __attribute__((__const__)) from thickness()Daniel Eklöf2021-01-01-1/+1
* box-drawing: make ‘term’ parameter constDaniel Eklöf2021-01-01-1/+1
* box-drawing: DOUBLE lines, U+2550-U+256CDaniel Eklöf2021-01-01-31/+418
* box-drawing: LIGHT/MEDIUM/DARK SHADEDaniel Eklöf2021-01-01-3/+39
* box-drawing: QUADRANTs: ensure all quads have equal width and hightDaniel Eklöf2021-01-01-4/+4
* box-drawing: QUADRANTsDaniel Eklöf2021-01-01-10/+86
* box-drawing: RIGHT HALF, UPPER ONE EIGHTH and RIGHT ONE EIGTHDaniel Eklöf2021-01-01-3/+21
* box-drawing: use floating point math, and round(), when drawing block elementsDaniel Eklöf2021-01-01-15/+15
* box-drawing: first half of the block elements, U+2580-U+258FDaniel Eklöf2021-01-01-18/+126
* box-drawing: mixed LIGHT/HEAVY HORIZONTAL, VERTICALDaniel Eklöf2021-01-01-4/+32
* box-drawing: use #defines for LIGHT and HEAVY thicknessesDaniel Eklöf2021-01-01-208/+211
* box-drawing: hline/vline macros now call thickness()Daniel Eklöf2021-01-01-216/+235
* box-drawing: thickness(): tag as CONST, convert point-size to a floatDaniel Eklöf2021-01-01-3/+4
* box-drawing: LIGH/HEAVY LEFT, UP, RIGTH, DOWNDaniel Eklöf2021-01-01-8/+57
* box-drawing: mixed LIGHT/HEAVY variants of VERTICAL AND HORIZONTALDaniel Eklöf2021-01-01-17/+140
* box-drawing: mixed LIGHT/HEAVY variants of UP AND HORIZONTALDaniel Eklöf2021-01-01-6/+54
* box-drawing: mixed LIGHT/HEAVY variants of DOWN AND HORIZONTALDaniel Eklöf2021-01-01-9/+54
* box-drawing: mixed LIGHT/HEAVY variants of VERTICAL AND LEFTDaniel Eklöf2021-01-01-6/+54
* box-drawing: add mixed LIGHT/HEAVY VERTICAL AND RIGHTDaniel Eklöf2021-01-01-9/+54
* box-drawing: add mixed LIGHT/HEAVY cornersDaniel Eklöf2021-01-01-22/+76
* box-drawing: add {h,v}line_middle_{left,right,up,down} primitivesDaniel Eklöf2021-01-01-109/+71
* box-drawing: HEAVY versions of solid linesDaniel Eklöf2021-01-01-33/+145
* box-drawing: break out thickness calculationDaniel Eklöf2021-01-01-10/+16
* box-drawing: initial set of LIGHT box drawingsDaniel Eklöf2021-01-01-15/+167
* box-drawing: fix compilation error on 32-bit; wc is int on 64-bit, long on 32-bitDaniel Eklöf2021-01-01-2/+2
* box-drawing: add infrastructure for rendering box drawing characters ourselvesDaniel Eklöf2021-01-01-0/+228