• Home
  • Raw
  • Download

Lines Matching refs:lua2scalar

201 static SkScalar lua2scalar(lua_State* L, int index) {  in lua2scalar()  function
218 SkScalar value = lua2scalar(L, -1); in getarray_scalar()
373 SkScalar value = lua2scalar(L, -1); in getfield_scalar()
387 value = lua2scalar(L, -1); in getfield_scalar_default()
453 get_ref<SkCanvas>(L, 1)->drawCircle(lua2scalar(L, 2), in lcanvas_drawCircle()
454 lua2scalar(L, 3), in lcanvas_drawCircle()
455 lua2scalar(L, 4), in lcanvas_drawCircle()
462 paint->setAlpha(SkScalarRoundToInt(lua2scalar(L, index) * 255)); in lua2OptionalPaint()
480 SkScalar x = lua2scalar(L, 3); in lcanvas_drawImage()
481 SkScalar y = lua2scalar(L, 4); in lcanvas_drawImage()
567 lua2scalar(L, 3), lua2scalar(L, 4), in lcanvas_drawText()
577 SkScalar x = lua2scalar(L, 3); in lcanvas_drawTextBlob()
578 SkScalar y = lua2scalar(L, 4); in lcanvas_drawTextBlob()
687 push_ptr(L, get_obj<DocHolder>(L, 1)->fDoc->beginPage(lua2scalar(L, 2), in ldocument_beginPage()
688 lua2scalar(L, 3), in ldocument_beginPage()
744 get_obj<SkPaint>(L, 1)->setAlpha(unit2byte(lua2scalar(L, 2))); in lpaint_setAlpha()
804 get_obj<SkPaint>(L, 1)->setStrokeWidth(lua2scalar(L, 2)); in lpaint_setStrokeWidth()
950 get_obj<SkFont>(L, 1)->setSize(lua2scalar(L, 2)); in lfont_setSize()
1194 SkPoint pt = { lua2scalar(L, 2), lua2scalar(L, 3) }; in lmatrix_mapXY()
1410 get_obj<SkPath>(L, 1)->moveTo(lua2scalar(L, 2), lua2scalar(L, 3)); in lpath_moveTo()
1415 get_obj<SkPath>(L, 1)->lineTo(lua2scalar(L, 2), lua2scalar(L, 3)); in lpath_lineTo()
1420 get_obj<SkPath>(L, 1)->quadTo(lua2scalar(L, 2), lua2scalar(L, 3), in lpath_quadTo()
1421 lua2scalar(L, 4), lua2scalar(L, 5)); in lpath_quadTo()
1426 get_obj<SkPath>(L, 1)->cubicTo(lua2scalar(L, 2), lua2scalar(L, 3), in lpath_cubicTo()
1427 lua2scalar(L, 4), lua2scalar(L, 5), in lpath_cubicTo()
1428 lua2scalar(L, 6), lua2scalar(L, 7)); in lpath_cubicTo()