Home
last modified time | relevance | path

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

/third_party/flutter/skia/samplecode/
DSampleLua.cpp103 fLua->pushScalar(this->width()); in onDrawContent()
104 fLua->pushScalar(this->height()); in onDrawContent()
116 fLua->pushScalar(x); in onFindClickHandler()
117 fLua->pushScalar(y); in onFindClickHandler()
145 fLua->pushScalar(click->fCurr.x()); in onClick()
146 fLua->pushScalar(click->fCurr.y()); in onClick()
/third_party/flutter/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()
935 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSize()); in lfont_getSize()
940 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getScaleX()); in lfont_getScaleX()
945 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->getSkewX()); in lfont_getSkewX()
979 SkLua(L).pushScalar(get_obj<SkFont>(L, 1)->measureText(text, len, SkTextEncoding::kUTF8)); in lfont_measureText()
[all …]
/third_party/flutter/skia/include/utils/
DSkLua.h53 void pushScalar(SkScalar, const char tableKey[] = nullptr);