pub fn compute_selection_highlights(
elements: &[TextElementLayout],
range: &SelectionRange,
) -> Vec<HighlightRect>Expand description
選択範囲にまたがる各テキスト要素について、描画用のハイライト矩形を算出する。
pub fn compute_selection_highlights(
elements: &[TextElementLayout],
range: &SelectionRange,
) -> Vec<HighlightRect>選択範囲にまたがる各テキスト要素について、描画用のハイライト矩形を算出する。