Home
last modified time | relevance | path

Searched refs:gAlignRec (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/utils/
DSkLua.cpp952 } gAlignRec[] = { variable
960 for (size_t i = 0; i < SK_ARRAY_COUNT(gAlignRec); ++i) { in lpaint_getTextAlign()
961 if (gAlignRec[i].fAlign == align) { in lpaint_getTextAlign()
962 lua_pushstring(L, gAlignRec[i].fLabel); in lpaint_getTextAlign()
974 for (size_t i = 0; i < SK_ARRAY_COUNT(gAlignRec); ++i) { in lpaint_setTextAlign()
975 if (!strcmp(gAlignRec[i].fLabel, label)) { in lpaint_setTextAlign()
976 get_obj<SkPaint>(L, 1)->setTextAlign(gAlignRec[i].fAlign); in lpaint_setTextAlign()