Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkCanvas::AutoUpdateQRBounds Class Reference

Public Member Functions

 AutoUpdateQRBounds (SkCanvas *canvas)
 
 ~AutoUpdateQRBounds ()
 

Detailed Description

Definition at line 233 of file SkCanvas.cpp.

Constructor & Destructor Documentation

◆ AutoUpdateQRBounds()

SkCanvas::AutoUpdateQRBounds::AutoUpdateQRBounds ( SkCanvas canvas)
inlineexplicit

Definition at line 235 of file SkCanvas.cpp.

235 : fCanvas(canvas) {
236 // pre-condition, fQuickRejectBounds and other state should be valid before anything
237 // modifies the device's clip.
238 fCanvas->validateClip();
239 }

◆ ~AutoUpdateQRBounds()

SkCanvas::AutoUpdateQRBounds::~AutoUpdateQRBounds ( )
inline

Definition at line 240 of file SkCanvas.cpp.

240 {
241 fCanvas->fQuickRejectBounds = fCanvas->computeDeviceClipBounds();
242 // post-condition, we should remain valid after re-computing the bounds
243 fCanvas->validateClip();
244 }

The documentation for this class was generated from the following file: