Skia의 기본 드로잉 명령 1

2931 단어 C++skiatech


void drawPoint(SkScalar x, SkScalar y, const SkPaint& paint);
void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint);

라인


void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint& paint);

직사각형


void drawRect(const SkRect& rect, const SkPaint& paint);

사방


void drawRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, const SkPaint& paint);

둥글다


void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint& paint);

타원형.


void drawOval(const SkRect& oval, const SkPaint& paint);

좋은 웹페이지 즐겨찾기