Lines Matching refs:pushScalar
283 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()
996 SkLua(L).pushScalar(height); in lfont_getMetrics()
1890 SkLua(L).pushScalar(end.fY); in lsk_newTextBlob()