mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
text,widget: remove dead code and fields
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -97,10 +97,6 @@ func (l Label) LayoutDetailed(gtx layout.Context, lt *text.Shaper, font font.Fon
|
||||
return dims, TextInfo{Truncated: it.truncated}
|
||||
}
|
||||
|
||||
func r2p(r clip.Rect) clip.Op {
|
||||
return clip.Stroke{Path: r.Path(), Width: 1}.Op()
|
||||
}
|
||||
|
||||
// textIterator computes the bounding box of and paints text.
|
||||
type textIterator struct {
|
||||
// viewport is the rectangle of document coordinates that the iterator is
|
||||
|
||||
Reference in New Issue
Block a user