Flutter Engine
The Flutter Engine
Classes | Macros | Functions | Variables
SkRegionPriv.h File Reference
#include "include/core/SkRegion.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkMath.h"
#include "include/private/base/SkTo.h"
#include <atomic>
#include <functional>

Go to the source code of this file.

Classes

class  SkRegionPriv
 
struct  SkRegion::RunHead
 

Macros

#define assert_sentinel(value, isSentinel)    SkASSERT(SkRegionValueIsSentinel(value) == isSentinel)
 

Functions

bool SkRegionValueIsSentinel (int32_t value)
 

Variables

static constexpr int SkRegion_kRunTypeSentinel = 0x7FFFFFFF
 

Macro Definition Documentation

◆ assert_sentinel

#define assert_sentinel (   value,
  isSentinel 
)     SkASSERT(SkRegionValueIsSentinel(value) == isSentinel)

Definition at line 41 of file SkRegionPriv.h.

Function Documentation

◆ SkRegionValueIsSentinel()

bool SkRegionValueIsSentinel ( int32_t  value)
inline

Definition at line 37 of file SkRegionPriv.h.

37 {
38 return value == (int32_t)SkRegion_kRunTypeSentinel;
39}
static constexpr int SkRegion_kRunTypeSentinel
Definition: SkRegionPriv.h:35
uint8_t value

Variable Documentation

◆ SkRegion_kRunTypeSentinel

constexpr int SkRegion_kRunTypeSentinel = 0x7FFFFFFF
staticconstexpr

Definition at line 35 of file SkRegionPriv.h.