May 18, 2012

sirop sirop
Lab Rat
6 posts

QVector<QRect> QRegion::rects() const : what’s behind?

 

I wonder how

  1.  QVector<QRect> QRegion::rects() const

exactly works.

Are there any constraints like return a minimum number of rectangles with the area of each rectangle maximized?

1 reply

May 18, 2012

Vass Vass
Hobby Entomologist
738 posts

Good idea for find out how something works – look to source code. ;)

 Signature 


Vasiliy

 
  ‹‹ Forward Declaration error      [SOLVED] Qt Creator Widget plugin: strange linker error ››

You must log in to post a reply. Not a member yet? Register here!