TICKIT_RENDERBUFFER_CLEAR(3)
β¨ NAME β¨
tickit_renderbuffer_eraserect,tickit_renderbuffer_clearβ erase large areas
okay so bestie, you know how sometimes you just gotta wipe a whole chunk of your buffer and start fresh? that's literally these two π
π¦ SYNOPSIS π¦
#include <tickit.h>
void tickit_renderbuffer_eraserect(TickitRenderBuffer *rb,
TickitRect *rect);
void tickit_renderbuffer_clear(TickitRenderBuffer *rb);
Link with -ltickit.
π DESCRIPTION π
tickit_renderbuffer_eraserect() does the thing where it creates erase regions for every single line in rect within the buffer, and it sets them all to the current pen. so like, the whole rectangle gets the erase-region treatment, line by line, no skips β¨
tickit_renderbuffer_clear() goes full send π₯ β it erases the entire buffer area within the current clipping region and masks, setting the whole thing up to be erase regions with the current pen. whole vibe, gone, replaced with erasure energy.
ok important note bestie π β neither of these functions use or update the virtual cursor. they do not touch it. it stays exactly where it was. periodt.
πΈ RETURN VALUE πΈ
These functions return nothing π«Ά (void behavior, they just do their lil job and dip)
π₯ SEE ALSO π₯
tickit_renderbuffer_new(3)tickit_renderbuffer_blit(3)tickit_renderbuffer_flush_to_term(3)tickit_renderbuffer(7)tickit(7)
and that's the whole page, bestie π this one's living under TICKIT_REN...R_ERASERECT(3) in the Library Functions Manual β go erase something iconic ππ
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms