Lines Matching defs:L
72 template <typename T> void push_obj(lua_State* L, const T& obj) { in push_obj()
78 template <typename T> T* push_ref(lua_State* L, T* ref) { in push_ref()
85 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref()
89 template <typename T> T* get_obj(lua_State* L, int index) { in get_obj()
93 static bool lua2bool(lua_State* L, int index) { in lua2bool()
105 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {} in SkLua()
137 static void setfield_bool_if(lua_State* L, const char key[], bool pred) { in setfield_bool_if()
144 static void setfield_string(lua_State* L, const char key[], const char value[]) { in setfield_string()
149 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number()
154 static void setfield_boolean(lua_State* L, const char key[], bool value) { in setfield_boolean()
159 static void setfield_scalar(lua_State* L, const char key[], SkScalar value) { in setfield_scalar()
163 static void setfield_function(lua_State* L, in setfield_function()
169 static int lua2int_def(lua_State* L, int index, int defaultValue) { in lua2int_def()
177 static SkScalar lua2scalar(lua_State* L, int index) { in lua2scalar()
182 static SkScalar lua2scalar_def(lua_State* L, int index, SkScalar defaultValue) { in lua2scalar_def()
190 static SkScalar getarray_scalar(lua_State* L, int stackIndex, int arrayIndex) { in getarray_scalar()
199 static void getarray_scalars(lua_State* L, int stackIndex, SkScalar dst[], int count) { in getarray_scalars()
205 static void getarray_points(lua_State* L, int stackIndex, SkPoint pts[], int count) { in getarray_points()
209 static void setarray_number(lua_State* L, int index, double value) { in setarray_number()
214 static void setarray_scalar(lua_State* L, int index, SkScalar value) { in setarray_scalar()
406 static SkScalar getfield_scalar(lua_State* L, int index, const char key[]) { in getfield_scalar()
416 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default()
445 static SkColor lua2color(lua_State* L, int index) { in lua2color()
452 static SkRect* lua2rect(lua_State* L, int index, SkRect* rect) { in lua2rect()
460 static int lcanvas_clear(lua_State* L) { in lcanvas_clear()
465 static int lcanvas_drawColor(lua_State* L) { in lcanvas_drawColor()
470 static int lcanvas_drawPaint(lua_State* L) { in lcanvas_drawPaint()
475 static int lcanvas_drawRect(lua_State* L) { in lcanvas_drawRect()
483 static int lcanvas_drawOval(lua_State* L) { in lcanvas_drawOval()
490 static int lcanvas_drawCircle(lua_State* L) { in lcanvas_drawCircle()
498 static SkPaint* lua2OptionalPaint(lua_State* L, int index, SkPaint* paint) { in lua2OptionalPaint()
512 static int lcanvas_drawImage(lua_State* L) { in lcanvas_drawImage()
526 static int lcanvas_drawImageRect(lua_State* L) { in lcanvas_drawImageRect()
545 static int lcanvas_drawPatch(lua_State* L) { in lcanvas_drawPatch()
571 static int lcanvas_drawPath(lua_State* L) { in lcanvas_drawPath()
578 static int lcanvas_drawPicture(lua_State* L) { in lcanvas_drawPicture()
593 static int lcanvas_drawText(lua_State* L) { in lcanvas_drawText()
608 static int lcanvas_drawTextBlob(lua_State* L) { in lcanvas_drawTextBlob()
617 static int lcanvas_getSaveCount(lua_State* L) { in lcanvas_getSaveCount()
622 static int lcanvas_getTotalMatrix(lua_State* L) { in lcanvas_getTotalMatrix()
627 static int lcanvas_getClipStack(lua_State* L) { in lcanvas_getClipStack()
632 int SkLua::lcanvas_getReducedClipStack(lua_State* L) { in lcanvas_getReducedClipStack()
668 static int lcanvas_save(lua_State* L) { in lcanvas_save()
673 static int lcanvas_saveLayer(lua_State* L) { in lcanvas_saveLayer()
679 static int lcanvas_restore(lua_State* L) { in lcanvas_restore()
684 static int lcanvas_scale(lua_State* L) { in lcanvas_scale()
691 static int lcanvas_translate(lua_State* L) { in lcanvas_translate()
698 static int lcanvas_rotate(lua_State* L) { in lcanvas_rotate()
704 static int lcanvas_concat(lua_State* L) { in lcanvas_concat()
709 static int lcanvas_newSurface(lua_State* L) { in lcanvas_newSurface()
722 static int lcanvas_gc(lua_State* L) { in lcanvas_gc()
763 static int ldocument_beginPage(lua_State* L) { in ldocument_beginPage()
771 static int ldocument_endPage(lua_State* L) { in ldocument_endPage()
776 static int ldocument_close(lua_State* L) { in ldocument_close()
781 static int ldocument_gc(lua_State* L) { in ldocument_gc()
796 static int lpaint_isAntiAlias(lua_State* L) { in lpaint_isAntiAlias()
801 static int lpaint_setAntiAlias(lua_State* L) { in lpaint_setAntiAlias()
806 static int lpaint_isDither(lua_State* L) { in lpaint_isDither()
811 static int lpaint_setDither(lua_State* L) { in lpaint_setDither()
816 static int lpaint_isUnderlineText(lua_State* L) { in lpaint_isUnderlineText()
821 static int lpaint_isStrikeThruText(lua_State* L) { in lpaint_isStrikeThruText()
826 static int lpaint_isFakeBoldText(lua_State* L) { in lpaint_isFakeBoldText()
831 static int lpaint_isLinearText(lua_State* L) { in lpaint_isLinearText()
836 static int lpaint_isSubpixelText(lua_State* L) { in lpaint_isSubpixelText()
841 static int lpaint_setSubpixelText(lua_State* L) { in lpaint_setSubpixelText()
846 static int lpaint_isDevKernText(lua_State* L) { in lpaint_isDevKernText()
851 static int lpaint_isLCDRenderText(lua_State* L) { in lpaint_isLCDRenderText()
856 static int lpaint_setLCDRenderText(lua_State* L) { in lpaint_setLCDRenderText()
861 static int lpaint_isEmbeddedBitmapText(lua_State* L) { in lpaint_isEmbeddedBitmapText()
866 static int lpaint_isAutohinted(lua_State* L) { in lpaint_isAutohinted()
871 static int lpaint_isVerticalText(lua_State* L) { in lpaint_isVerticalText()
876 static int lpaint_getAlpha(lua_State* L) { in lpaint_getAlpha()
881 static int lpaint_setAlpha(lua_State* L) { in lpaint_setAlpha()
886 static int lpaint_getColor(lua_State* L) { in lpaint_getColor()
891 static int lpaint_setColor(lua_State* L) { in lpaint_setColor()
896 static int lpaint_getTextSize(lua_State* L) { in lpaint_getTextSize()
901 static int lpaint_getTextScaleX(lua_State* L) { in lpaint_getTextScaleX()
906 static int lpaint_getTextSkewX(lua_State* L) { in lpaint_getTextSkewX()
911 static int lpaint_setTextSize(lua_State* L) { in lpaint_setTextSize()
916 static int lpaint_getTypeface(lua_State* L) { in lpaint_getTypeface()
921 static int lpaint_setTypeface(lua_State* L) { in lpaint_setTypeface()
926 static int lpaint_getHinting(lua_State* L) { in lpaint_getHinting()
931 static int lpaint_getFilterQuality(lua_State* L) { in lpaint_getFilterQuality()
936 static int lpaint_setFilterQuality(lua_State* L) { in lpaint_setFilterQuality()
944 static int lpaint_getFontID(lua_State* L) { in lpaint_getFontID()
959 static int lpaint_getTextAlign(lua_State* L) { in lpaint_getTextAlign()
970 static int lpaint_setTextAlign(lua_State* L) { in lpaint_setTextAlign()
985 static int lpaint_getStroke(lua_State* L) { in lpaint_getStroke()
990 static int lpaint_setStroke(lua_State* L) { in lpaint_setStroke()
1002 static int lpaint_getStrokeCap(lua_State* L) { in lpaint_getStrokeCap()
1007 static int lpaint_getStrokeJoin(lua_State* L) { in lpaint_getStrokeJoin()
1012 static int lpaint_getTextEncoding(lua_State* L) { in lpaint_getTextEncoding()
1017 static int lpaint_getStrokeWidth(lua_State* L) { in lpaint_getStrokeWidth()
1022 static int lpaint_setStrokeWidth(lua_State* L) { in lpaint_setStrokeWidth()
1027 static int lpaint_getStrokeMiter(lua_State* L) { in lpaint_getStrokeMiter()
1032 static int lpaint_measureText(lua_State* L) { in lpaint_measureText()
1054 static int lpaint_getFontMetrics(lua_State* L) { in lpaint_getFontMetrics()
1068 static int lpaint_getEffects(lua_State* L) { in lpaint_getEffects()
1083 static int lpaint_getXfermode(lua_State* L) { in lpaint_getXfermode()
1093 static int lpaint_setXfermode(lua_State* L) { in lpaint_setXfermode()
1099 static int lpaint_getColorFilter(lua_State* L) { in lpaint_getColorFilter()
1109 static int lpaint_setColorFilter(lua_State* L) { in lpaint_setColorFilter()
1115 static int lpaint_getImageFilter(lua_State* L) { in lpaint_getImageFilter()
1125 static int lpaint_setImageFilter(lua_State* L) { in lpaint_setImageFilter()
1131 static int lpaint_getShader(lua_State* L) { in lpaint_getShader()
1141 static int lpaint_setShader(lua_State* L) { in lpaint_setShader()
1147 static int lpaint_getPathEffect(lua_State* L) { in lpaint_getPathEffect()
1157 static int lpaint_gc(lua_State* L) { in lpaint_gc()
1235 static int lshader_isOpaque(lua_State* L) { in lshader_isOpaque()
1240 static int lshader_isABitmap(lua_State* L) { in lshader_isABitmap()
1259 static int lshader_asAGradient(lua_State* L) { in lshader_asAGradient()
1290 static int lshader_gc(lua_State* L) { in lshader_gc()
1305 static int lpatheffect_asADash(lua_State* L) { in lpatheffect_asADash()
1321 static int lpatheffect_gc(lua_State* L) { in lpatheffect_gc()
1334 static int lpxfermode_getTypeName(lua_State* L) { in lpxfermode_getTypeName()
1339 static int lpxfermode_gc(lua_State* L) { in lpxfermode_gc()
1352 static int lpcolorfilter_gc(lua_State* L) { in lpcolorfilter_gc()
1364 static int lpimagefilter_gc(lua_State* L) { in lpimagefilter_gc()
1376 static int lmatrix_getType(lua_State* L) { in lmatrix_getType()
1387 static int lmatrix_getScaleX(lua_State* L) { in lmatrix_getScaleX()
1392 static int lmatrix_getScaleY(lua_State* L) { in lmatrix_getScaleY()
1397 static int lmatrix_getTranslateX(lua_State* L) { in lmatrix_getTranslateX()
1402 static int lmatrix_getTranslateY(lua_State* L) { in lmatrix_getTranslateY()
1407 static int lmatrix_invert(lua_State* L) { in lmatrix_invert()
1412 static int lmatrix_mapXY(lua_State* L) { in lmatrix_mapXY()
1420 static int lmatrix_setRectToRect(lua_State* L) { in lmatrix_setRectToRect()
1465 static int lpath_getBounds(lua_State* L) { in lpath_getBounds()
1484 static int lpath_getFillType(lua_State* L) { in lpath_getFillType()
1525 static int lpath_getSegmentTypes(lua_State* L) { in lpath_getSegmentTypes()
1531 static int lpath_isConvex(lua_State* L) { in lpath_isConvex()
1537 static int lpath_isEmpty(lua_State* L) { in lpath_isEmpty()
1542 static int lpath_isRect(lua_State* L) { in lpath_isRect()
1562 static int lpath_isNestedFillRects(lua_State* L) { in lpath_isNestedFillRects()
1579 static int lpath_countPoints(lua_State* L) { in lpath_countPoints()
1584 static int lpath_reset(lua_State* L) { in lpath_reset()
1589 static int lpath_moveTo(lua_State* L) { in lpath_moveTo()
1594 static int lpath_lineTo(lua_State* L) { in lpath_lineTo()
1599 static int lpath_quadTo(lua_State* L) { in lpath_quadTo()
1605 static int lpath_cubicTo(lua_State* L) { in lpath_cubicTo()
1612 static int lpath_close(lua_State* L) { in lpath_close()
1617 static int lpath_gc(lua_State* L) { in lpath_gc()
1656 static int lrrect_rect(lua_State* L) { in lrrect_rect()
1661 static int lrrect_type(lua_State* L) { in lrrect_type()
1666 static int lrrect_radii(lua_State* L) { in lrrect_radii()
1680 static int lrrect_gc(lua_State* L) { in lrrect_gc()
1695 static int limage_width(lua_State* L) { in limage_width()
1700 static int limage_height(lua_State* L) { in limage_height()
1705 static int limage_newShader(lua_State* L) { in limage_newShader()
1713 static int limage_gc(lua_State* L) { in limage_gc()
1728 static int lsurface_width(lua_State* L) { in lsurface_width()
1733 static int lsurface_height(lua_State* L) { in lsurface_height()
1738 static int lsurface_getCanvas(lua_State* L) { in lsurface_getCanvas()
1753 static int lsurface_newImageSnapshot(lua_State* L) { in lsurface_newImageSnapshot()
1763 static int lsurface_newSurface(lua_State* L) { in lsurface_newSurface()
1776 static int lsurface_gc(lua_State* L) { in lsurface_gc()
1793 static int lpicturerecorder_beginRecording(lua_State* L) { in lpicturerecorder_beginRecording()
1811 static int lpicturerecorder_getCanvas(lua_State* L) { in lpicturerecorder_getCanvas()
1821 static int lpicturerecorder_endRecording(lua_State* L) { in lpicturerecorder_endRecording()
1831 static int lpicturerecorder_gc(lua_State* L) { in lpicturerecorder_gc()
1846 static int lpicture_width(lua_State* L) { in lpicture_width()
1851 static int lpicture_height(lua_State* L) { in lpicture_height()
1856 static int lpicture_gc(lua_State* L) { in lpicture_gc()
1870 static int ltextblob_bounds(lua_State* L) { in ltextblob_bounds()
1875 static int ltextblob_gc(lua_State* L) { in ltextblob_gc()
1888 static int ltypeface_getFamilyName(lua_State* L) { in ltypeface_getFamilyName()
1895 static int ltypeface_getStyle(lua_State* L) { in ltypeface_getStyle()
1900 static int ltypeface_gc(lua_State* L) { in ltypeface_gc()
1916 AutoCallLua(lua_State* L, const char func[], const char verb[]) : fL(L) { in AutoCallLua()
1942 static int lsk_newDocumentPDF(lua_State* L) { in lsk_newDocumentPDF()
1958 static int lsk_newBlurImageFilter(lua_State* L) { in lsk_newBlurImageFilter()
1970 static int lsk_newLinearGradient(lua_State* L) { in lsk_newLinearGradient()
1989 static int lsk_newMatrix(lua_State* L) { in lsk_newMatrix()
1994 static int lsk_newPaint(lua_State* L) { in lsk_newPaint()
1999 static int lsk_newPath(lua_State* L) { in lsk_newPath()
2004 static int lsk_newPictureRecorder(lua_State* L) { in lsk_newPictureRecorder()
2009 static int lsk_newRRect(lua_State* L) { in lsk_newRRect()
2016 static int lsk_newTextBlob(lua_State* L) { in lsk_newTextBlob()
2034 static int lsk_newTypeface(lua_State* L) { in lsk_newTypeface()
2056 static int lsk_newRasterSurface(lua_State* L) { in lsk_newRasterSurface()
2070 static int lsk_loadImage(lua_State* L) { in lsk_loadImage()
2085 static void register_Sk(lua_State* L) { in register_Sk()
2106 #define REG_CLASS(L, C) \ argument
2115 void SkLua::Load(lua_State* L) { in Load()
2137 extern "C" int luaopen_skia(lua_State* L) { in luaopen_skia()