Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleLua.cpp108 fLua->pushScalar(this->width()); in onDrawContent()
109 fLua->pushScalar(this->height()); in onDrawContent()
121 fLua->pushScalar(x); in onFindClickHandler()
122 fLua->pushScalar(y); in onFindClickHandler()
150 fLua->pushScalar(click->fCurr.x()); in onClick()
151 fLua->pushScalar(click->fCurr.y()); in onClick()
/external/skia/samplecode/
DSampleLua.cpp108 fLua->pushScalar(this->width()); in onDrawContent()
109 fLua->pushScalar(this->height()); in onDrawContent()
121 fLua->pushScalar(x); in onFindClickHandler()
122 fLua->pushScalar(y); in onFindClickHandler()
150 fLua->pushScalar(click->fCurr.x()); in onClick()
151 fLua->pushScalar(click->fCurr.y()); in onClick()
/external/skia/src/utils/
DSkLuaCanvas.cpp117 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
118 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat()
123 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat()
124 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat()
191 lua.pushScalar(startAngle, "startAngle"); in onDrawArc()
192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
266 lua.pushScalar(x, "x"); in onDrawTextBlob()
267 lua.pushScalar(y, "y"); in onDrawTextBlob()
DSkLua.cpp283 void SkLua::pushScalar(SkScalar value, const char key[]) { in pushScalar() function in SkLua
302 this->pushScalar(array[i].fX, "x"); in pushArrayPoint()
303 this->pushScalar(array[i].fY, "y"); in pushArrayPoint()
739 SkLua(L).pushScalar(byte2unit(get_obj<SkPaint>(L, 1)->getAlpha())); in lpaint_getAlpha()
799 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeWidth()); in lpaint_getStrokeWidth()
809 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeMiter()); in lpaint_getStrokeMiter()
936 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSize()); in lfont_getSize()
941 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getScaleX()); in lfont_getScaleX()
946 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSkewX()); in lfont_getSkewX()
980 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->measureText(text, len, kUTF8_SkTextEncoding)); in lfont_measureText()
[all …]
/external/skqp/src/utils/
DSkLuaCanvas.cpp117 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
118 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat()
123 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat()
124 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat()
191 lua.pushScalar(startAngle, "startAngle"); in onDrawArc()
192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
266 lua.pushScalar(x, "x"); in onDrawTextBlob()
267 lua.pushScalar(y, "y"); in onDrawTextBlob()
DSkLua.cpp283 void SkLua::pushScalar(SkScalar value, const char key[]) { in pushScalar() function in SkLua
302 this->pushScalar(array[i].fX, "x"); in pushArrayPoint()
303 this->pushScalar(array[i].fY, "y"); in pushArrayPoint()
739 SkLua(L).pushScalar(byte2unit(get_obj<SkPaint>(L, 1)->getAlpha())); in lpaint_getAlpha()
799 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeWidth()); in lpaint_getStrokeWidth()
809 SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getStrokeMiter()); in lpaint_getStrokeMiter()
936 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSize()); in lfont_getSize()
941 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getScaleX()); in lfont_getScaleX()
946 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSkewX()); in lfont_getSkewX()
980 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->measureText(text, len, kUTF8_SkTextEncoding)); in lfont_measureText()
[all …]
/external/skia/include/utils/
DSkLua.h53 void pushScalar(SkScalar, const char tableKey[] = nullptr);
/external/skqp/include/utils/
DSkLua.h53 void pushScalar(SkScalar, const char tableKey[] = nullptr);