Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Clipping region
Re: Clipping region [message #36955 is a reply to message #36953] Fri, 27 July 2012 16:59 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kropniczki wrote on Fri, 27 July 2012 09:09

AFAIK, Painter::Clip() clips drawing done outside a given region. Is there a way of clipping anything drawn inside the region instead?
Similar to
Painter sw;
...
sw.Circle(x, y, radius).Clip();
, which clips any drawing made outside Circle,
but clipping off anything drawn inside Circle instead?

Tks.


Well, as you can turn any shape into Clip, it is only a matter of drawing a rectangle with hole Wink

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PNG in Draw
Next Topic: How must Alpha be managed ??
Goto Forum:
  


Current Time: Tue Apr 16 22:47:32 CEST 2024

Total time taken to generate the page: 0.03741 seconds