Flutter Engine
The Flutter Engine
|
#include "export.h"
#include "helpers.h"
#include "wrappers.h"
#include "third_party/skia/include/core/SkPoint3.h"
#include "third_party/skia/include/core/SkVertices.h"
#include "third_party/skia/include/utils/SkShadowUtils.h"
#include "third_party/skia/modules/skparagraph/include/Paragraph.h"
Go to the source code of this file.
SKWASM_EXPORT void canvas_clipPath | ( | SkCanvas * | canvas, |
SkPath * | path, | ||
bool | antialias | ||
) |
Definition at line 91 of file canvas.cpp.
SKWASM_EXPORT void canvas_clipRect | ( | SkCanvas * | canvas, |
const SkRect * | rect, | ||
SkClipOp | op, | ||
bool | antialias | ||
) |
Definition at line 78 of file canvas.cpp.
SKWASM_EXPORT void canvas_clipRRect | ( | SkCanvas * | canvas, |
const SkScalar * | rrectValues, | ||
bool | antialias | ||
) |
Definition at line 85 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawArc | ( | SkCanvas * | canvas, |
const SkRect * | rect, | ||
SkScalar | startAngleDegrees, | ||
SkScalar | sweepAngleDegrees, | ||
bool | useCenter, | ||
SkPaint * | paint | ||
) |
Definition at line 150 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawAtlas | ( | SkCanvas * | canvas, |
SkImage * | atlas, | ||
SkRSXform * | transforms, | ||
SkRect * | rects, | ||
SkColor * | colors, | ||
int | spriteCount, | ||
SkBlendMode | mode, | ||
SkRect * | cullRect, | ||
SkPaint * | paint | ||
) |
Definition at line 246 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawCircle | ( | SkCanvas * | canvas, |
SkScalar | x, | ||
SkScalar | y, | ||
SkScalar | radius, | ||
SkPaint * | paint | ||
) |
Definition at line 142 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawColor | ( | SkCanvas * | canvas, |
SkColor | color, | ||
SkBlendMode | blendMode | ||
) |
Definition at line 97 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawDRRect | ( | SkCanvas * | canvas, |
const SkScalar * | outerRrectValues, | ||
const SkScalar * | innerRrectValues, | ||
SkPaint * | paint | ||
) |
Definition at line 128 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawImage | ( | SkCanvas * | canvas, |
SkImage * | image, | ||
SkScalar | offsetX, | ||
SkScalar | offsetY, | ||
SkPaint * | paint, | ||
FilterQuality | quality | ||
) |
Definition at line 200 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawImageNine | ( | SkCanvas * | canvas, |
SkImage * | image, | ||
SkIRect * | centerRect, | ||
SkRect * | destinationRect, | ||
SkPaint * | paint, | ||
FilterQuality | quality | ||
) |
Definition at line 221 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawImageRect | ( | SkCanvas * | canvas, |
SkImage * | image, | ||
SkRect * | sourceRect, | ||
SkRect * | destRect, | ||
SkPaint * | paint, | ||
FilterQuality | quality | ||
) |
Definition at line 210 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawLine | ( | SkCanvas * | canvas, |
SkScalar | x1, | ||
SkScalar | y1, | ||
SkScalar | x2, | ||
SkScalar | y2, | ||
SkPaint * | paint | ||
) |
Definition at line 103 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawOval | ( | SkCanvas * | canvas, |
const SkRect * | rect, | ||
SkPaint * | paint | ||
) |
Definition at line 136 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawPaint | ( | SkCanvas * | canvas, |
SkPaint * | paint | ||
) |
Definition at line 112 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawParagraph | ( | SkCanvas * | canvas, |
Paragraph * | paragraph, | ||
SkScalar | x, | ||
SkScalar | y | ||
) |
Definition at line 189 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawPath | ( | SkCanvas * | canvas, |
SkPath * | path, | ||
SkPaint * | paint | ||
) |
Definition at line 160 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawPicture | ( | SkCanvas * | canvas, |
SkPicture * | picture | ||
) |
Definition at line 196 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawPoints | ( | SkCanvas * | canvas, |
SkCanvas::PointMode | mode, | ||
SkPoint * | points, | ||
int | pointCount, | ||
SkPaint * | paint | ||
) |
Definition at line 238 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawRect | ( | SkCanvas * | canvas, |
SkRect * | rect, | ||
SkPaint * | paint | ||
) |
Definition at line 116 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawRRect | ( | SkCanvas * | canvas, |
const SkScalar * | rrectValues, | ||
SkPaint * | paint | ||
) |
Definition at line 122 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawShadow | ( | SkCanvas * | canvas, |
SkPath * | path, | ||
SkScalar | elevation, | ||
SkScalar | devicePixelRatio, | ||
SkColor | color, | ||
bool | transparentOccluder | ||
) |
Definition at line 166 of file canvas.cpp.
SKWASM_EXPORT void canvas_drawVertices | ( | SkCanvas * | canvas, |
SkVertices * | vertices, | ||
SkBlendMode | mode, | ||
SkPaint * | paint | ||
) |
Definition at line 231 of file canvas.cpp.
SKWASM_EXPORT void canvas_getDeviceClipBounds | ( | SkCanvas * | canvas, |
SkIRect * | outRect | ||
) |
Definition at line 270 of file canvas.cpp.
SKWASM_EXPORT void canvas_getLocalClipBounds | ( | SkCanvas * | canvas, |
SkRect * | outRect | ||
) |
Definition at line 265 of file canvas.cpp.
SKWASM_EXPORT int canvas_getSaveCount | ( | SkCanvas * | canvas | ) |
Definition at line 52 of file canvas.cpp.
SKWASM_EXPORT void canvas_getTransform | ( | SkCanvas * | canvas, |
SkM44 * | outTransform | ||
) |
Definition at line 261 of file canvas.cpp.
SKWASM_EXPORT void canvas_restore | ( | SkCanvas * | canvas | ) |
Definition at line 44 of file canvas.cpp.
SKWASM_EXPORT void canvas_restoreToCount | ( | SkCanvas * | canvas, |
int | count | ||
) |
Definition at line 48 of file canvas.cpp.
SKWASM_EXPORT void canvas_rotate | ( | SkCanvas * | canvas, |
SkScalar | degrees | ||
) |
Definition at line 66 of file canvas.cpp.
SKWASM_EXPORT void canvas_save | ( | SkCanvas * | canvas | ) |
Definition at line 40 of file canvas.cpp.
SKWASM_EXPORT void canvas_saveLayer | ( | SkCanvas * | canvas, |
SkRect * | rect, | ||
SkPaint * | paint, | ||
SkImageFilter * | backdrop | ||
) |
Definition at line 33 of file canvas.cpp.
SKWASM_EXPORT void canvas_scale | ( | SkCanvas * | canvas, |
SkScalar | sx, | ||
SkScalar | sy | ||
) |
Definition at line 62 of file canvas.cpp.
SKWASM_EXPORT void canvas_skew | ( | SkCanvas * | canvas, |
SkScalar | sx, | ||
SkScalar | sy | ||
) |
Definition at line 70 of file canvas.cpp.
SKWASM_EXPORT void canvas_transform | ( | SkCanvas * | canvas, |
const SkM44 * | matrix44 | ||
) |
Definition at line 74 of file canvas.cpp.
SKWASM_EXPORT void canvas_translate | ( | SkCanvas * | canvas, |
SkScalar | dx, | ||
SkScalar | dy | ||
) |
Definition at line 56 of file canvas.cpp.