Back to index
|void||flushPortBuffer (in CGrafPtr aPort, in RgnHandle aRegion)|
|Flushes the port buffer, a la QDFlushPortBuffer. |
|void||removePort (in CGrafPtr aPort)|
|Cancels a pending flush scheduled by calling flushPortBuffer. |
nsIQDFlushManager is responsible for rate-limiting QuickDraw buffer flushes.
Think of it as a plumber in a time of rationing. It's expected to be used as a singleton doled out by the service manager.
Flushes the port buffer, a la QDFlushPortBuffer.
If the buffer has been flushed too recently, the region to flush is instead added to the dirty region, and a buffer flush will be scheduled for an appropriate time.
|aPort||the QuickDraw port to flush|
|aRegion||the region to flush or mark as dirty|
Cancels a pending flush scheduled by calling flushPortBuffer.
This method is suitable to call when a port is destroyed.
|aPort||the QuickDraw port to not flush|