11#include <unicode/ubidi.h>
12#include <unicode/umachine.h>
13#include <unicode/utypes.h>
37 UErrorCode* pErrorCode)
const {
38 return SkGetICULib()->f_ubidi_openSized(maxLength, maxRunCount, pErrorCode);
45 UBiDiLevel* embeddingLevels,
46 UErrorCode* status)
const {
52 int32_t logicalFromVisual[])
const {
53 SkGetICULib()->f_ubidi_reorderVisual(runLevels, levelsCount, logicalFromVisual);
const SkICULib * SkGetICULib()
void(*)(UBiDi *bidi) BidiCloseCallback
const char * errorName(UErrorCode status) const override
UBiDiDirection bidi_getDirection(const UBiDi *bidi) const override
SkBidiIterator::Position bidi_getLength(const UBiDi *bidi) const override
SkBidiFactory::BidiCloseCallback bidi_close_callback() const override
void bidi_reorderVisual(const SkUnicode::BidiLevel runLevels[], int levelsCount, int32_t logicalFromVisual[]) const override
UBiDi * bidi_openSized(int32_t maxLength, int32_t maxRunCount, UErrorCode *pErrorCode) const override
SkBidiIterator::Level bidi_getLevelAt(const UBiDi *bidi, int pos) const override
void bidi_setPara(UBiDi *bidi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel *embeddingLevels, UErrorCode *status) const override