Flutter Engine
minikin::GraphemeBreak Class Reference

#include <GraphemeBreak.h>

Public Types

enum  MoveOpt {
  AFTER = 0,
  AT_OR_AFTER = 1,
  BEFORE = 2,
  AT_OR_BEFORE = 3,
  AT = 4
}
 

Static Public Member Functions

static bool isGraphemeBreak (const float *advances, const uint16_t *buf, size_t start, size_t count, size_t offset)
 
static size_t getTextRunCursor (const float *advances, const uint16_t *buf, size_t start, size_t count, size_t offset, MoveOpt opt)
 

Detailed Description

Definition at line 25 of file GraphemeBreak.h.

Member Enumeration Documentation

◆ MoveOpt

Enumerator
AFTER 
AT_OR_AFTER 
BEFORE 
AT_OR_BEFORE 
AT 

Definition at line 28 of file GraphemeBreak.h.

Member Function Documentation

◆ getTextRunCursor()

static size_t minikin::GraphemeBreak::getTextRunCursor ( const float *  advances,
const uint16_t *  buf,
size_t  start,
size_t  count,
size_t  offset,
MoveOpt  opt 
)
static

◆ isGraphemeBreak()

static bool minikin::GraphemeBreak::isGraphemeBreak ( const float *  advances,
const uint16_t *  buf,
size_t  start,
size_t  count,
size_t  offset 
)
static

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