Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkShaper::RunHandler::Range Struct Reference

#include <SkShaper.h>

Public Member Functions

constexpr Range ()
 
constexpr Range (size_t begin, size_t size)
 
constexpr size_t begin () const
 
constexpr size_t end () const
 
constexpr size_t size () const
 

Public Attributes

size_t fBegin
 
size_t fSize
 

Detailed Description

Definition at line 198 of file SkShaper.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

constexpr SkShaper::RunHandler::Range::Range ( )
inlineconstexpr

Definition at line 199 of file SkShaper.h.

◆ Range() [2/2]

constexpr SkShaper::RunHandler::Range::Range ( size_t  begin,
size_t  size 
)
inlineconstexpr

Definition at line 200 of file SkShaper.h.

200: fBegin(begin), fSize(size) {}
constexpr size_t size() const
Definition: SkShaper.h:205
constexpr size_t begin() const
Definition: SkShaper.h:203

Member Function Documentation

◆ begin()

constexpr size_t SkShaper::RunHandler::Range::begin ( ) const
inlineconstexpr

Definition at line 203 of file SkShaper.h.

203{ return fBegin; }

◆ end()

constexpr size_t SkShaper::RunHandler::Range::end ( ) const
inlineconstexpr

Definition at line 204 of file SkShaper.h.

204{ return begin() + size(); }

◆ size()

constexpr size_t SkShaper::RunHandler::Range::size ( ) const
inlineconstexpr

Definition at line 205 of file SkShaper.h.

205{ return fSize; }

Member Data Documentation

◆ fBegin

size_t SkShaper::RunHandler::Range::fBegin

Definition at line 201 of file SkShaper.h.

◆ fSize

size_t SkShaper::RunHandler::Range::fSize

Definition at line 202 of file SkShaper.h.


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