Iterate a nsIntRegion

| No Comments | No TrackBacks
A quick one liner to iterate a nsIntRegion:

for(nsIntRegionRectIterator iter(mUpdateRegion); const nsIntRect* R=iter.Next();)
//do something with R

No TrackBacks

TrackBack URL: http://heeen.de/blog/mt-tb.cgi/21

Leave a comment