Lines Matching defs:L
68 template <typename T> void push_obj(lua_State* L, const T& obj) { in push_obj()
74 template <typename T> T* push_ref(lua_State* L, T* ref) { in push_ref()
81 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref()
85 template <typename T> T* get_obj(lua_State* L, int index) { in get_obj()
89 static bool lua2bool(lua_State* L, int index) { in lua2bool()
101 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {} in SkLua()
133 static void setfield_bool_if(lua_State* L, const char key[], bool pred) { in setfield_bool_if()
140 static void setfield_string(lua_State* L, const char key[], const char value[]) { in setfield_string()
145 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number()
150 static void setfield_boolean(lua_State* L, const char key[], bool value) { in setfield_boolean()
155 static void setfield_scalar(lua_State* L, const char key[], SkScalar value) { in setfield_scalar()
159 static void setfield_function(lua_State* L, in setfield_function()
165 static int lua2int_def(lua_State* L, int index, int defaultValue) { in lua2int_def()
173 static SkScalar lua2scalar(lua_State* L, int index) { in lua2scalar()
178 static SkScalar lua2scalar_def(lua_State* L, int index, SkScalar defaultValue) { in lua2scalar_def()
186 static SkScalar getarray_scalar(lua_State* L, int stackIndex, int arrayIndex) { in getarray_scalar()
195 static void getarray_scalars(lua_State* L, int stackIndex, SkScalar dst[], int count) { in getarray_scalars()
201 static void getarray_points(lua_State* L, int stackIndex, SkPoint pts[], int count) { in getarray_points()
205 static void setarray_number(lua_State* L, int index, double value) { in setarray_number()
210 static void setarray_scalar(lua_State* L, int index, SkScalar value) { in setarray_scalar()
402 static SkScalar getfield_scalar(lua_State* L, int index, const char key[]) { in getfield_scalar()
412 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default()
441 static SkColor lua2color(lua_State* L, int index) { in lua2color()
448 static SkRect* lua2rect(lua_State* L, int index, SkRect* rect) { in lua2rect()
456 static int lcanvas_clear(lua_State* L) { in lcanvas_clear()
461 static int lcanvas_drawColor(lua_State* L) { in lcanvas_drawColor()
466 static int lcanvas_drawPaint(lua_State* L) { in lcanvas_drawPaint()
471 static int lcanvas_drawRect(lua_State* L) { in lcanvas_drawRect()
479 static int lcanvas_drawOval(lua_State* L) { in lcanvas_drawOval()
486 static int lcanvas_drawCircle(lua_State* L) { in lcanvas_drawCircle()
494 static SkPaint* lua2OptionalPaint(lua_State* L, int index, SkPaint* paint) { in lua2OptionalPaint()
508 static int lcanvas_drawImage(lua_State* L) { in lcanvas_drawImage()
522 static int lcanvas_drawImageRect(lua_State* L) { in lcanvas_drawImageRect()
541 static int lcanvas_drawPatch(lua_State* L) { in lcanvas_drawPatch()
567 static int lcanvas_drawPath(lua_State* L) { in lcanvas_drawPath()
574 static int lcanvas_drawPicture(lua_State* L) { in lcanvas_drawPicture()
589 static int lcanvas_drawText(lua_State* L) { in lcanvas_drawText()
604 static int lcanvas_drawTextBlob(lua_State* L) { in lcanvas_drawTextBlob()
613 static int lcanvas_getSaveCount(lua_State* L) { in lcanvas_getSaveCount()
618 static int lcanvas_getTotalMatrix(lua_State* L) { in lcanvas_getTotalMatrix()
623 static int lcanvas_getClipStack(lua_State* L) { in lcanvas_getClipStack()
628 int SkLua::lcanvas_getReducedClipStack(lua_State* L) { in lcanvas_getReducedClipStack()
667 static int lcanvas_save(lua_State* L) { in lcanvas_save()
672 static int lcanvas_saveLayer(lua_State* L) { in lcanvas_saveLayer()
678 static int lcanvas_restore(lua_State* L) { in lcanvas_restore()
683 static int lcanvas_scale(lua_State* L) { in lcanvas_scale()
690 static int lcanvas_translate(lua_State* L) { in lcanvas_translate()
697 static int lcanvas_rotate(lua_State* L) { in lcanvas_rotate()
703 static int lcanvas_concat(lua_State* L) { in lcanvas_concat()
708 static int lcanvas_newSurface(lua_State* L) { in lcanvas_newSurface()
721 static int lcanvas_gc(lua_State* L) { in lcanvas_gc()
762 static int ldocument_beginPage(lua_State* L) { in ldocument_beginPage()
770 static int ldocument_endPage(lua_State* L) { in ldocument_endPage()
775 static int ldocument_close(lua_State* L) { in ldocument_close()
780 static int ldocument_gc(lua_State* L) { in ldocument_gc()
795 static int lpaint_isAntiAlias(lua_State* L) { in lpaint_isAntiAlias()
800 static int lpaint_setAntiAlias(lua_State* L) { in lpaint_setAntiAlias()
805 static int lpaint_isDither(lua_State* L) { in lpaint_isDither()
810 static int lpaint_setDither(lua_State* L) { in lpaint_setDither()
815 static int lpaint_isUnderlineText(lua_State* L) { in lpaint_isUnderlineText()
820 static int lpaint_isStrikeThruText(lua_State* L) { in lpaint_isStrikeThruText()
825 static int lpaint_isFakeBoldText(lua_State* L) { in lpaint_isFakeBoldText()
830 static int lpaint_isLinearText(lua_State* L) { in lpaint_isLinearText()
835 static int lpaint_isSubpixelText(lua_State* L) { in lpaint_isSubpixelText()
840 static int lpaint_setSubpixelText(lua_State* L) { in lpaint_setSubpixelText()
845 static int lpaint_isDevKernText(lua_State* L) { in lpaint_isDevKernText()
850 static int lpaint_isLCDRenderText(lua_State* L) { in lpaint_isLCDRenderText()
855 static int lpaint_setLCDRenderText(lua_State* L) { in lpaint_setLCDRenderText()
860 static int lpaint_isEmbeddedBitmapText(lua_State* L) { in lpaint_isEmbeddedBitmapText()
865 static int lpaint_isAutohinted(lua_State* L) { in lpaint_isAutohinted()
870 static int lpaint_isVerticalText(lua_State* L) { in lpaint_isVerticalText()
875 static int lpaint_getAlpha(lua_State* L) { in lpaint_getAlpha()
880 static int lpaint_setAlpha(lua_State* L) { in lpaint_setAlpha()
885 static int lpaint_getColor(lua_State* L) { in lpaint_getColor()
890 static int lpaint_setColor(lua_State* L) { in lpaint_setColor()
895 static int lpaint_getTextSize(lua_State* L) { in lpaint_getTextSize()
900 static int lpaint_getTextScaleX(lua_State* L) { in lpaint_getTextScaleX()
905 static int lpaint_getTextSkewX(lua_State* L) { in lpaint_getTextSkewX()
910 static int lpaint_setTextSize(lua_State* L) { in lpaint_setTextSize()
915 static int lpaint_getTypeface(lua_State* L) { in lpaint_getTypeface()
920 static int lpaint_setTypeface(lua_State* L) { in lpaint_setTypeface()
925 static int lpaint_getHinting(lua_State* L) { in lpaint_getHinting()
930 static int lpaint_getFilterQuality(lua_State* L) { in lpaint_getFilterQuality()
935 static int lpaint_setFilterQuality(lua_State* L) { in lpaint_setFilterQuality()
943 static int lpaint_getFontID(lua_State* L) { in lpaint_getFontID()
958 static int lpaint_getTextAlign(lua_State* L) { in lpaint_getTextAlign()
969 static int lpaint_setTextAlign(lua_State* L) { in lpaint_setTextAlign()
984 static int lpaint_getStroke(lua_State* L) { in lpaint_getStroke()
989 static int lpaint_setStroke(lua_State* L) { in lpaint_setStroke()
1001 static int lpaint_getStrokeCap(lua_State* L) { in lpaint_getStrokeCap()
1006 static int lpaint_getStrokeJoin(lua_State* L) { in lpaint_getStrokeJoin()
1011 static int lpaint_getTextEncoding(lua_State* L) { in lpaint_getTextEncoding()
1016 static int lpaint_getStrokeWidth(lua_State* L) { in lpaint_getStrokeWidth()
1021 static int lpaint_setStrokeWidth(lua_State* L) { in lpaint_setStrokeWidth()
1026 static int lpaint_getStrokeMiter(lua_State* L) { in lpaint_getStrokeMiter()
1031 static int lpaint_measureText(lua_State* L) { in lpaint_measureText()
1053 static int lpaint_getFontMetrics(lua_State* L) { in lpaint_getFontMetrics()
1067 static int lpaint_getEffects(lua_State* L) { in lpaint_getEffects()
1082 static int lpaint_getImageFilter(lua_State* L) { in lpaint_getImageFilter()
1092 static int lpaint_setImageFilter(lua_State* L) { in lpaint_setImageFilter()
1098 static int lpaint_getShader(lua_State* L) { in lpaint_getShader()
1108 static int lpaint_setShader(lua_State* L) { in lpaint_setShader()
1114 static int lpaint_getPathEffect(lua_State* L) { in lpaint_getPathEffect()
1124 static int lpaint_gc(lua_State* L) { in lpaint_gc()
1198 static int lshader_isOpaque(lua_State* L) { in lshader_isOpaque()
1203 static int lshader_asABitmap(lua_State* L) { in lshader_asABitmap()
1225 static int lshader_asAGradient(lua_State* L) { in lshader_asAGradient()
1256 static int lshader_gc(lua_State* L) { in lshader_gc()
1271 static int lpatheffect_asADash(lua_State* L) { in lpatheffect_asADash()
1287 static int lpatheffect_gc(lua_State* L) { in lpatheffect_gc()
1300 static int lpimagefilter_gc(lua_State* L) { in lpimagefilter_gc()
1312 static int lmatrix_getType(lua_State* L) { in lmatrix_getType()
1323 static int lmatrix_getScaleX(lua_State* L) { in lmatrix_getScaleX()
1328 static int lmatrix_getScaleY(lua_State* L) { in lmatrix_getScaleY()
1333 static int lmatrix_getTranslateX(lua_State* L) { in lmatrix_getTranslateX()
1338 static int lmatrix_getTranslateY(lua_State* L) { in lmatrix_getTranslateY()
1343 static int lmatrix_invert(lua_State* L) { in lmatrix_invert()
1348 static int lmatrix_mapXY(lua_State* L) { in lmatrix_mapXY()
1356 static int lmatrix_setRectToRect(lua_State* L) { in lmatrix_setRectToRect()
1401 static int lpath_getBounds(lua_State* L) { in lpath_getBounds()
1420 static int lpath_getFillType(lua_State* L) { in lpath_getFillType()
1461 static int lpath_getSegmentTypes(lua_State* L) { in lpath_getSegmentTypes()
1467 static int lpath_isConvex(lua_State* L) { in lpath_isConvex()
1473 static int lpath_isEmpty(lua_State* L) { in lpath_isEmpty()
1478 static int lpath_isRect(lua_State* L) { in lpath_isRect()
1498 static int lpath_isNestedFillRects(lua_State* L) { in lpath_isNestedFillRects()
1515 static int lpath_countPoints(lua_State* L) { in lpath_countPoints()
1520 static int lpath_reset(lua_State* L) { in lpath_reset()
1525 static int lpath_moveTo(lua_State* L) { in lpath_moveTo()
1530 static int lpath_lineTo(lua_State* L) { in lpath_lineTo()
1535 static int lpath_quadTo(lua_State* L) { in lpath_quadTo()
1541 static int lpath_cubicTo(lua_State* L) { in lpath_cubicTo()
1548 static int lpath_close(lua_State* L) { in lpath_close()
1553 static int lpath_gc(lua_State* L) { in lpath_gc()
1592 static int lrrect_rect(lua_State* L) { in lrrect_rect()
1597 static int lrrect_type(lua_State* L) { in lrrect_type()
1602 static int lrrect_radii(lua_State* L) { in lrrect_radii()
1616 static int lrrect_gc(lua_State* L) { in lrrect_gc()
1631 static int limage_width(lua_State* L) { in limage_width()
1636 static int limage_height(lua_State* L) { in limage_height()
1641 static int limage_newShader(lua_State* L) { in limage_newShader()
1649 static int limage_gc(lua_State* L) { in limage_gc()
1664 static int lsurface_width(lua_State* L) { in lsurface_width()
1669 static int lsurface_height(lua_State* L) { in lsurface_height()
1674 static int lsurface_getCanvas(lua_State* L) { in lsurface_getCanvas()
1689 static int lsurface_newImageSnapshot(lua_State* L) { in lsurface_newImageSnapshot()
1699 static int lsurface_newSurface(lua_State* L) { in lsurface_newSurface()
1712 static int lsurface_gc(lua_State* L) { in lsurface_gc()
1729 static int lpicturerecorder_beginRecording(lua_State* L) { in lpicturerecorder_beginRecording()
1747 static int lpicturerecorder_getCanvas(lua_State* L) { in lpicturerecorder_getCanvas()
1757 static int lpicturerecorder_endRecording(lua_State* L) { in lpicturerecorder_endRecording()
1767 static int lpicturerecorder_gc(lua_State* L) { in lpicturerecorder_gc()
1782 static int lpicture_width(lua_State* L) { in lpicture_width()
1787 static int lpicture_height(lua_State* L) { in lpicture_height()
1792 static int lpicture_gc(lua_State* L) { in lpicture_gc()
1806 static int ltextblob_bounds(lua_State* L) { in ltextblob_bounds()
1811 static int ltextblob_gc(lua_State* L) { in ltextblob_gc()
1824 static int ltypeface_getFamilyName(lua_State* L) { in ltypeface_getFamilyName()
1831 static int ltypeface_getStyle(lua_State* L) { in ltypeface_getStyle()
1836 static int ltypeface_gc(lua_State* L) { in ltypeface_gc()
1852 AutoCallLua(lua_State* L, const char func[], const char verb[]) : fL(L) { in AutoCallLua()
1878 static int lsk_newDocumentPDF(lua_State* L) { in lsk_newDocumentPDF()
1894 static int lsk_newBlurImageFilter(lua_State* L) { in lsk_newBlurImageFilter()
1906 static int lsk_newLinearGradient(lua_State* L) { in lsk_newLinearGradient()
1925 static int lsk_newMatrix(lua_State* L) { in lsk_newMatrix()
1930 static int lsk_newPaint(lua_State* L) { in lsk_newPaint()
1935 static int lsk_newPath(lua_State* L) { in lsk_newPath()
1940 static int lsk_newPictureRecorder(lua_State* L) { in lsk_newPictureRecorder()
1945 static int lsk_newRRect(lua_State* L) { in lsk_newRRect()
1952 static int lsk_newTextBlob(lua_State* L) { in lsk_newTextBlob()
1970 static int lsk_newTypeface(lua_State* L) { in lsk_newTypeface()
1992 static int lsk_newRasterSurface(lua_State* L) { in lsk_newRasterSurface()
2005 static int lsk_loadImage(lua_State* L) { in lsk_loadImage()
2020 static void register_Sk(lua_State* L) { in register_Sk()
2041 #define REG_CLASS(L, C) \ argument
2050 void SkLua::Load(lua_State* L) { in Load()
2070 extern "C" int luaopen_skia(lua_State* L) { in luaopen_skia()