Changes between Initial Version and Version 1 of Ticket #19330


Ignore:
Timestamp:
Jan 1, 2025, 5:52:05 PM (5 weeks ago)
Author:
grexe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19330 – Description

    initial v1  
    1 I would like to draw only the outline of a Region.
    2 The View API only provides a FillRegion() but for other forms like Rects or even Polygons it provides variants to only draw the outline via matching Stroke...() calls, not so for Regions.
     1I would like to draw only the outline of a `BRegion`.
     2The View API only provides `FillRegion()` but for other forms like Rects or even Polygons it provides variants to only draw the outline via matching `Stroke()` calls, not so for Regions.
    33
    4 Since there is no way to convert between polygons and regions, this is quite cumbersome and requires manually building a polygon from a point array taken from the region, or draw individual rectangular outlines via StrokeRect(), which is not quite the same if the region is divided e.g. between lines in a TextView.
     4Since there is no way to convert between polygons and regions, this is quite cumbersome and requires manually building a polygon from a point array taken from the region, or draw individual rectangular outlines via `StrokeRect()`, which is not quite the same if the region is divided e.g. between lines in a `TextView`.