0

Looking through the documentation of cairo::Region I can't find any functions allowing me to create not rectangle shaped regions. Did I miss something or is this simply not possible?

Natjo
  • 2,005
  • 29
  • 75
  • 1
    "Regions are a simple graphical data type representing an area of integer-aligned rectangles. They are often used on raster surfaces to track areas of interest, such as change or clip areas.", https://cairographics.org/manual/cairo-Regions.html – Stargateur Nov 01 '19 at 16:38
  • 1
    In what word do you expect this to be something else than rectangle ? cairo crate is a binding read the original doc – Stargateur Nov 01 '19 at 16:39
  • I see only rectangles makes sense. I got the idea from this question: https://stackoverflow.com/questions/48029084/creating-an-irregularly-shaped-gdk-window in which it sounded like you could get any shaped regions. – Natjo Nov 01 '19 at 17:50

0 Answers0