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



  • I wonder how @ 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?



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.