Skip to content

Commit c2d5339

Browse files
authored
0.0.4 (#8)
1 parent 508bf86 commit c2d5339

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

soft-skia-wasm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "soft-skia-wasm"
3-
version = "0.2.0"
3+
version = "0.4.0"
44
authors = ["meloalright <[email protected]>"]
55
edition = "2018"
66

soft-skia/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "soft_skia"
3-
version = "0.2.0"
3+
version = "0.4.0"
44
edition = "2021"
55
description="software rasterization skia binding"
66
license = "MIT"

vue-playground/src/code.ts

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
export default `<v-surface :width="360" :height="360">
22
<v-rect :x="10" :y="220" :width="30" :height="30" color="cyan" :style="'fill'" />
33
<v-line :strokeWidth="8" color="black" :p1="[100, 260]" :p2="[50, 285]" />
4-
<v-round-rect
5-
:x="220" :y="50" :width="80" :height="80" :r="10" color="fuchsia" :style="'stroke'" />
6-
<v-circle :cx="200" :cy="260" :r="50" :style="'stroke'" color="fuchsia" />
4+
<v-round-rect :x="220" :y="50" :width="80" :height="80" :r="10" color="fuchsia" :style="'stroke'" />
75
<v-points :points="[
86
[138, 10],
97
[178, 90],
@@ -17,5 +15,12 @@ export default `<v-surface :width="360" :height="360">
1715
[98, 90],
1816
[138, 10],
1917
]" :style="'fill'" :strokeWidth="1" :color="'rgba(200, 255, 0, 0.7)'" />
18+
<v-group :x="200" :y="160" color="violet" :style="'stroke'" :invertClip="true">
19+
<template #clip>
20+
<v-circle :cx="8" :cy="68" :r="40" />
21+
</template>
22+
<v-circle :cx="0" :cy="60" :r="50" :style="'fill'" />
23+
<v-circle :cx="0" :cy="60" :r="70" />
24+
</v-group>
2025
</v-surface>
2126
`

vue-skia-framework/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-skia",
3-
"version": "0.0.2",
3+
"version": "0.0.4",
44
"files": [
55
"lib",
66
"soft-skia-wasm/pkg",

0 commit comments

Comments
 (0)