Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
SkDebugUtils.h File Reference
#include "include/core/SkTileMode.h"

Go to the source code of this file.

Functions

static constexpr const char * SkTileModeToStr (SkTileMode tm)
 

Function Documentation

◆ SkTileModeToStr()

static constexpr const char * SkTileModeToStr ( SkTileMode  tm)
staticconstexpr

Definition at line 13 of file SkDebugUtils.h.

13 {
14 switch (tm) {
15 case SkTileMode::kClamp: return "Clamp";
16 case SkTileMode::kRepeat: return "Repeat";
17 case SkTileMode::kMirror: return "Mirror";
18 case SkTileMode::kDecal: return "Decal";
19 }
21}
#define SkUNREACHABLE
Definition SkAssert.h:135