• Home
  • Raw
  • Download

Lines Matching defs:L

58 template <typename T> void push_obj(lua_State* L, const T& obj) {  in push_obj()
64 template <typename T> void push_ref(lua_State* L, T* ref) { in push_ref()
70 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref()
74 template <typename T> T* get_obj(lua_State* L, int index) { in get_obj()
78 static bool lua2bool(lua_State* L, int index) { in lua2bool()
90 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {} in SkLua()
122 static void setfield_bool_if(lua_State* L, const char key[], bool pred) { in setfield_bool_if()
129 static void setfield_string(lua_State* L, const char key[], const char value[]) { in setfield_string()
134 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number()
139 static void setfield_boolean(lua_State* L, const char key[], bool value) { in setfield_boolean()
144 static void setfield_scalar(lua_State* L, const char key[], SkScalar value) { in setfield_scalar()
148 static void setfield_function(lua_State* L, in setfield_function()
154 static void setarray_number(lua_State* L, int index, double value) { in setarray_number()
159 static void setarray_scalar(lua_State* L, int index, SkScalar value) { in setarray_scalar()
346 static SkScalar lua2scalar(lua_State* L, int index) { in lua2scalar()
351 static SkScalar lua2scalar_def(lua_State* L, int index, SkScalar defaultValue) { in lua2scalar_def()
359 static SkScalar getfield_scalar(lua_State* L, int index, const char key[]) { in getfield_scalar()
369 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default()
394 static SkColor lua2color(lua_State* L, int index) { in lua2color()
401 static SkRect* lua2rect(lua_State* L, int index, SkRect* rect) { in lua2rect()
409 static int lcanvas_drawColor(lua_State* L) { in lcanvas_drawColor()
414 static int lcanvas_drawRect(lua_State* L) { in lcanvas_drawRect()
421 static int lcanvas_drawOval(lua_State* L) { in lcanvas_drawOval()
428 static int lcanvas_drawCircle(lua_State* L) { in lcanvas_drawCircle()
436 static int lcanvas_drawImage(lua_State* L) { in lcanvas_drawImage()
455 static int lcanvas_drawPath(lua_State* L) { in lcanvas_drawPath()
461 static int lcanvas_drawText(lua_State* L) { in lcanvas_drawText()
476 static int lcanvas_getSaveCount(lua_State* L) { in lcanvas_getSaveCount()
481 static int lcanvas_getTotalMatrix(lua_State* L) { in lcanvas_getTotalMatrix()
486 static int lcanvas_getClipStack(lua_State* L) { in lcanvas_getClipStack()
491 int SkLua::lcanvas_getReducedClipStack(lua_State* L) { in lcanvas_getReducedClipStack()
530 static int lcanvas_save(lua_State* L) { in lcanvas_save()
535 static int lcanvas_restore(lua_State* L) { in lcanvas_restore()
540 static int lcanvas_scale(lua_State* L) { in lcanvas_scale()
547 static int lcanvas_translate(lua_State* L) { in lcanvas_translate()
554 static int lcanvas_rotate(lua_State* L) { in lcanvas_rotate()
560 static int lcanvas_gc(lua_State* L) { in lcanvas_gc()
590 static int ldocument_beginPage(lua_State* L) { in ldocument_beginPage()
598 static int ldocument_endPage(lua_State* L) { in ldocument_endPage()
603 static int ldocument_close(lua_State* L) { in ldocument_close()
608 static int ldocument_gc(lua_State* L) { in ldocument_gc()
623 static int lpaint_isAntiAlias(lua_State* L) { in lpaint_isAntiAlias()
628 static int lpaint_setAntiAlias(lua_State* L) { in lpaint_setAntiAlias()
633 static int lpaint_isDither(lua_State* L) { in lpaint_isDither()
638 static int lpaint_isUnderlineText(lua_State* L) { in lpaint_isUnderlineText()
643 static int lpaint_isStrikeThruText(lua_State* L) { in lpaint_isStrikeThruText()
648 static int lpaint_isFakeBoldText(lua_State* L) { in lpaint_isFakeBoldText()
653 static int lpaint_isLinearText(lua_State* L) { in lpaint_isLinearText()
658 static int lpaint_isSubpixelText(lua_State* L) { in lpaint_isSubpixelText()
663 static int lpaint_isDevKernText(lua_State* L) { in lpaint_isDevKernText()
668 static int lpaint_isLCDRenderText(lua_State* L) { in lpaint_isLCDRenderText()
673 static int lpaint_isEmbeddedBitmapText(lua_State* L) { in lpaint_isEmbeddedBitmapText()
678 static int lpaint_isAutohinted(lua_State* L) { in lpaint_isAutohinted()
683 static int lpaint_isVerticalText(lua_State* L) { in lpaint_isVerticalText()
688 static int lpaint_getColor(lua_State* L) { in lpaint_getColor()
693 static int lpaint_setColor(lua_State* L) { in lpaint_setColor()
698 static int lpaint_getTextSize(lua_State* L) { in lpaint_getTextSize()
703 static int lpaint_getTextScaleX(lua_State* L) { in lpaint_getTextScaleX()
708 static int lpaint_getTextSkewX(lua_State* L) { in lpaint_getTextSkewX()
713 static int lpaint_setTextSize(lua_State* L) { in lpaint_setTextSize()
718 static int lpaint_getTypeface(lua_State* L) { in lpaint_getTypeface()
723 static int lpaint_setTypeface(lua_State* L) { in lpaint_setTypeface()
728 static int lpaint_getHinting(lua_State* L) { in lpaint_getHinting()
733 static int lpaint_getFontID(lua_State* L) { in lpaint_getFontID()
748 static int lpaint_getTextAlign(lua_State* L) { in lpaint_getTextAlign()
759 static int lpaint_setTextAlign(lua_State* L) { in lpaint_setTextAlign()
774 static int lpaint_getStroke(lua_State* L) { in lpaint_getStroke()
779 static int lpaint_setStroke(lua_State* L) { in lpaint_setStroke()
791 static int lpaint_getStrokeCap(lua_State* L) { in lpaint_getStrokeCap()
796 static int lpaint_getStrokeJoin(lua_State* L) { in lpaint_getStrokeJoin()
801 static int lpaint_getTextEncoding(lua_State* L) { in lpaint_getTextEncoding()
806 static int lpaint_getStrokeWidth(lua_State* L) { in lpaint_getStrokeWidth()
811 static int lpaint_setStrokeWidth(lua_State* L) { in lpaint_setStrokeWidth()
816 static int lpaint_getStrokeMiter(lua_State* L) { in lpaint_getStrokeMiter()
821 static int lpaint_measureText(lua_State* L) { in lpaint_measureText()
843 static int lpaint_getFontMetrics(lua_State* L) { in lpaint_getFontMetrics()
857 static int lpaint_getEffects(lua_State* L) { in lpaint_getEffects()
872 static int lpaint_getShader(lua_State* L) { in lpaint_getShader()
882 static int lpaint_getPathEffect(lua_State* L) { in lpaint_getPathEffect()
892 static int lpaint_gc(lua_State* L) { in lpaint_gc()
956 static int lshader_isOpaque(lua_State* L) { in lshader_isOpaque()
961 static int lshader_asABitmap(lua_State* L) { in lshader_asABitmap()
983 static int lshader_asAGradient(lua_State* L) { in lshader_asAGradient()
1014 static int lshader_gc(lua_State* L) { in lshader_gc()
1029 static int lpatheffect_asADash(lua_State* L) { in lpatheffect_asADash()
1045 static int lpatheffect_gc(lua_State* L) { in lpatheffect_gc()
1058 static int lmatrix_getType(lua_State* L) { in lmatrix_getType()
1069 static int lmatrix_getScaleX(lua_State* L) { in lmatrix_getScaleX()
1074 static int lmatrix_getScaleY(lua_State* L) { in lmatrix_getScaleY()
1079 static int lmatrix_getTranslateX(lua_State* L) { in lmatrix_getTranslateX()
1084 static int lmatrix_getTranslateY(lua_State* L) { in lmatrix_getTranslateY()
1100 static int lpath_getBounds(lua_State* L) { in lpath_getBounds()
1119 static int lpath_getFillType(lua_State* L) { in lpath_getFillType()
1160 static int lpath_getSegementTypes(lua_State* L) { in lpath_getSegementTypes()
1166 static int lpath_isConvex(lua_State* L) { in lpath_isConvex()
1172 static int lpath_isEmpty(lua_State* L) { in lpath_isEmpty()
1177 static int lpath_isRect(lua_State* L) { in lpath_isRect()
1197 static int lpath_isNestedRects(lua_State* L) { in lpath_isNestedRects()
1214 static int lpath_countPoints(lua_State* L) { in lpath_countPoints()
1219 static int lpath_reset(lua_State* L) { in lpath_reset()
1224 static int lpath_moveTo(lua_State* L) { in lpath_moveTo()
1229 static int lpath_lineTo(lua_State* L) { in lpath_lineTo()
1234 static int lpath_quadTo(lua_State* L) { in lpath_quadTo()
1240 static int lpath_cubicTo(lua_State* L) { in lpath_cubicTo()
1247 static int lpath_close(lua_State* L) { in lpath_close()
1252 static int lpath_gc(lua_State* L) { in lpath_gc()
1292 static int lrrect_rect(lua_State* L) { in lrrect_rect()
1297 static int lrrect_type(lua_State* L) { in lrrect_type()
1302 static int lrrect_radii(lua_State* L) { in lrrect_radii()
1316 static int lrrect_gc(lua_State* L) { in lrrect_gc()
1331 static int limage_width(lua_State* L) { in limage_width()
1336 static int limage_height(lua_State* L) { in limage_height()
1341 static int limage_gc(lua_State* L) { in limage_gc()
1355 static int ltypeface_gc(lua_State* L) { in ltypeface_gc()
1369 AutoCallLua(lua_State* L, const char func[], const char verb[]) : fL(L) { in AutoCallLua()
1395 static int lsk_newDocumentPDF(lua_State* L) { in lsk_newDocumentPDF()
1412 static int lsk_newPaint(lua_State* L) { in lsk_newPaint()
1417 static int lsk_newPath(lua_State* L) { in lsk_newPath()
1422 static int lsk_newRRect(lua_State* L) { in lsk_newRRect()
1428 static int lsk_newTypeface(lua_State* L) { in lsk_newTypeface()
1451 static int lsk_loadImage(lua_State* L) { in lsk_loadImage()
1467 static void register_Sk(lua_State* L) { in register_Sk()
1482 #define REG_CLASS(L, C) \ argument
1491 void SkLua::Load(lua_State* L) { in Load()
1506 extern "C" int luaopen_skia(lua_State* L) { in luaopen_skia()