Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skia::textlayout::ParagraphPainterAutoRestore Class Reference

#include <ParagraphPainterImpl.h>

Public Member Functions

 ParagraphPainterAutoRestore (ParagraphPainter *painter)
 
 ~ParagraphPainterAutoRestore ()
 

Detailed Description

Definition at line 32 of file ParagraphPainterImpl.h.

Constructor & Destructor Documentation

◆ ParagraphPainterAutoRestore()

skia::textlayout::ParagraphPainterAutoRestore::ParagraphPainterAutoRestore ( ParagraphPainter painter)
inline

Definition at line 34 of file ParagraphPainterImpl.h.

35 : fPainter(painter) {
36 fPainter->save();
37 }

◆ ~ParagraphPainterAutoRestore()

skia::textlayout::ParagraphPainterAutoRestore::~ParagraphPainterAutoRestore ( )
inline

Definition at line 39 of file ParagraphPainterImpl.h.

39 {
40 fPainter->restore();
41 }

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