From dfc205e706ef261edcbae0e04e8ba5e1d225a886 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 27 Jun 2020 12:45:22 +0200 Subject: sixel: add sixel_split_by_rectangle() This function splits a sixel image into up to four pieces. The four pieces correspond to the relative complement (set difference) of the sixel image and the specified rectangle. Use this function when (possibly) overwriting existing sixel images when generating a new one, i.e. in sixel_unhook(). --- sixel.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sixel.h') diff --git a/sixel.h b/sixel.h index 2f3b0d86..bb3b6cb0 100644 --- a/sixel.h +++ b/sixel.h @@ -14,7 +14,6 @@ void sixel_destroy(struct sixel *sixel); void sixel_delete_in_range(struct terminal *term, int start, int end); void sixel_delete_at_row(struct terminal *term, int _row); -void sixel_delete_at_cursor(struct terminal *term); void sixel_split_at_cursor(struct terminal *term); void sixel_colors_report_current(struct terminal *term); -- cgit v1.3