Changes between Initial Version and Version 1 of Ticket #19330, comment 4
- Timestamp:
- Jan 2, 2025, 12:56:26 PM (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19330, comment 4
initial v1 1 maybe it's just my use case but in a TextView, e.g. selections are provided as a BRegion and contain contiguous BRects. If you want to do your own highlighting, you might want to just draw the outline.1 maybe it's just my use case but e.g. in a `BTextView`, selections are provided as a `BRegion` of contiguous `BRect`s. If you want to do your own highlighting, you might want to just draw the outline. 2 2 3 It would be interesting to see where and how BRegions are used in the API and whether it makes sense to provide the missing function, or if this is really just a special case in my use case.3 It would be interesting to see where and how `BRegion`s are used in the API and whether it makes sense to provide the missing function, or if this is really just a special case in my use case. 4 4 5 5 Nevertheless it wouldn't hurt to provide this as a convenience, feel free to use the (trivial) sample code above as a basis.