Searched refs:pushScalar (Results 1 – 4 of 4) sorted by relevance
/external/skia/samplecode/ |
D | SampleLua.cpp | 114 fLua->pushScalar(this->width()); in onDrawContent() 115 fLua->pushScalar(this->height()); in onDrawContent() 131 fLua->pushScalar(x); in onFindClickHandler() 132 fLua->pushScalar(y); in onFindClickHandler() 168 fLua->pushScalar(click->fCurr.x()); in onClick() 169 fLua->pushScalar(click->fCurr.y()); in onClick()
|
/external/skia/src/utils/ |
D | SkLuaCanvas.cpp | 112 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat() 113 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat() 118 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat() 119 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat() 280 lua.pushScalar(x, "x"); in onDrawTextBlob() 281 lua.pushScalar(y, "y"); in onDrawTextBlob()
|
D | SkLua.cpp | 254 void SkLua::pushScalar(SkScalar value, const char key[]) { in pushScalar() function in SkLua 273 this->pushScalar(array[i].fX, "x"); in pushArrayPoint() 274 this->pushScalar(array[i].fY, "y"); in pushArrayPoint() 877 SkLua(L).pushScalar(byte2unit(get_obj<SkPaint>(L, 1)->getAlpha())); in lpaint_getAlpha() 897 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextSize()); in lpaint_getTextSize() 902 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextScaleX()); in lpaint_getTextScaleX() 907 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextSkewX()); in lpaint_getTextSkewX() 1018 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeWidth()); in lpaint_getStrokeWidth() 1028 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeMiter()); in lpaint_getStrokeMiter() 1036 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);
|