sdgui: implement text selection #2

Closed
opened 2 years ago by p · 0 comments
p commented 2 years ago
Owner

gdk_pango_layout_get_clip_region() can be used to retrieve clip regions for text selection. Other functions exist to retrieve what position corresponds to display coordinates. pango_cairo_layout_path() can be used to override the foreground colour (Pango markup may specify colours of its own, even if it's not currently supported; besides, I believe pango_cairo_show_layout() will employ some optimisations).

`gdk_pango_layout_get_clip_region()` can be used to retrieve clip regions for text selection. Other functions exist to retrieve what position corresponds to display coordinates. `pango_cairo_layout_path()` can be used to override the foreground colour (Pango markup may specify colours of its own, even if it's not currently supported; besides, I believe `pango_cairo_show_layout()` will employ some optimisations).
p self-assigned this 2 years ago
p added the
WIP
label 1 year ago
p referenced this issue from a commit 1 year ago
p closed this issue 1 year ago
Sign in to join this conversation.
No Label
WIP
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: p/tdv#2
Loading…
There is no content yet.