From 64fa2a3d017c7f6dd41b126b5b121940ffbe7b7b Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 13 May 2026 15:25:30 -0400 Subject: libdocument: adding annotation squiggly. This adds the type to libdocument, as well as a method to create such annotations. Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/81c268b8 --- libdocument/ev-annotation.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libdocument/ev-annotation.c') diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index 93e2194a..7b4b575d 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -1343,6 +1343,15 @@ ev_annotation_text_markup_underline_new (EvPage *page) NULL)); } +EvAnnotation * +ev_annotation_text_markup_squiggly_new (EvPage *page) +{ + return EV_ANNOTATION (g_object_new (EV_TYPE_ANNOTATION_TEXT_MARKUP, + "page", page, + "type", EV_ANNOTATION_TEXT_MARKUP_SQUIGGLY, + NULL)); +} + EvAnnotationTextMarkupType ev_annotation_text_markup_get_markup_type (EvAnnotationTextMarkup *annot) { -- cgit v1.2.1