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 » Get Rectf of something painted
Re: Get Rectf of something painted [message #33504 is a reply to message #33502] Mon, 15 August 2011 04:03 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 14 August 2011 04:10

Thank you Mirek for your answer

I do not know where is the bounding box of a Painter.

Looking at ApproximateQuadratic() and ApproximateCubic() it seems all painting shapes are reduced to lines stored in a LinearPathConsumer called rasterizer.

However I am lost when following Painter rendering process.


Well, from this reply I guess I was not specific enough. I do not mean all points of curve (or shape), but only those points you use to define it (3 points for quadratic, 4 for cubic).

Resulting bounding box would be larger than necessarry, but it might not be a problem in most cases.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Painter &Painter::RectPath()
Next Topic: Graphic primitives tree in Painter
Goto Forum:
  


Current Time: Thu Jun 05 03:36:51 CEST 2025

Total time taken to generate the page: 0.20993 seconds