Searched refs:pushScalar (Results 1 – 4 of 4) sorted by relevance
/external/skia/samplecode/ |
D | SampleLua.cpp | 116 fLua->pushScalar(this->width()); in onDrawContent() 117 fLua->pushScalar(this->height()); in onDrawContent() 133 fLua->pushScalar(x); in onFindClickHandler() 134 fLua->pushScalar(y); in onFindClickHandler() 170 fLua->pushScalar(click->fCurr.x()); in onClick() 171 fLua->pushScalar(click->fCurr.y()); in onClick()
|
/external/skia/src/utils/ |
D | SkLuaCanvas.cpp | 113 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat() 114 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat() 119 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat() 120 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat() 288 lua.pushScalar(x, "x"); in onDrawTextBlob() 289 lua.pushScalar(y, "y"); in onDrawTextBlob()
|
D | SkLua.cpp | 250 void SkLua::pushScalar(SkScalar value, const char key[]) { in pushScalar() function in SkLua 269 this->pushScalar(array[i].fX, "x"); in pushArrayPoint() 270 this->pushScalar(array[i].fY, "y"); in pushArrayPoint() 876 SkLua(L).pushScalar(byte2unit(get_obj<SkPaint>(L, 1)->getAlpha())); in lpaint_getAlpha() 896 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextSize()); in lpaint_getTextSize() 901 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextScaleX()); in lpaint_getTextScaleX() 906 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextSkewX()); in lpaint_getTextSkewX() 1017 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeWidth()); in lpaint_getStrokeWidth() 1027 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeMiter()); in lpaint_getStrokeMiter() 1035 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->measureText(text, len)); in lpaint_measureText() [all …]
|
/external/skia/include/utils/ |
D | SkLua.h | 54 void pushScalar(SkScalar, const char tableKey[] = NULL);
|