Home | History | Annotate | Download | only in utils

Lines Matching refs:SkLuaCanvas

8 #include "SkLuaCanvas.h"
69 void SkLuaCanvas::pushThis() {
81 SkLuaCanvas::SkLuaCanvas(int width, int height, lua_State* L, const char func[])
87 SkLuaCanvas::~SkLuaCanvas() {}
89 int SkLuaCanvas::save(SaveFlags flags) {
94 int SkLuaCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint,
106 void SkLuaCanvas::restore() {
111 bool SkLuaCanvas::translate(SkScalar dx, SkScalar dy) {
118 bool SkLuaCanvas::scale(SkScalar sx, SkScalar sy) {
125 bool SkLuaCanvas::rotate(SkScalar degrees) {
131 bool SkLuaCanvas::skew(SkScalar kx, SkScalar ky) {
138 bool SkLuaCanvas::concat(const SkMatrix& matrix) {
143 void SkLuaCanvas::setMatrix(const SkMatrix& matrix) {
147 bool SkLuaCanvas::clipRect(const SkRect& r, SkRegion::Op op, bool doAA) {
154 bool SkLuaCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) {
161 bool SkLuaCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) {
168 bool SkLuaCanvas::clipRegion(const SkRegion& deviceRgn, SkRegion::Op op) {
173 void SkLuaCanvas::drawPaint(const SkPaint& paint) {
178 void SkLuaCanvas::drawPoints(PointMode mode, size_t count,
184 void SkLuaCanvas::drawOval(const SkRect& rect, const SkPaint& paint) {
190 void SkLuaCanvas::drawRect(const SkRect& rect, const SkPaint& paint) {
196 void SkLuaCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) {
202 void SkLuaCanvas::drawPath(const SkPath& path, const SkPaint& paint) {
208 void SkLuaCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
216 void SkLuaCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
225 void SkLuaCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
233 void SkLuaCanvas::drawSprite(const SkBitmap& bitmap, int x, int y,
241 void SkLuaCanvas::drawText(const void* text, size_t byteLength, SkScalar x,
248 void SkLuaCanvas::drawPosText(const void* text, size_t byteLength,
255 void SkLuaCanvas::drawPosTextH(const void* text, size_t byteLength,
263 void SkLuaCanvas::drawTextOnPath(const void* text, size_t byteLength,
272 void SkLuaCanvas::drawPicture(SkPicture& picture) {
278 void SkLuaCanvas::drawVertices(VertexMode vmode, int vertexCount,
287 void SkLuaCanvas::drawData(const void* data, size_t length) {