Skip to content

Commit

Permalink
0.0.4 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
meloalright authored Aug 15, 2023
1 parent 508bf86 commit c2d5339
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion soft-skia-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "soft-skia-wasm"
version = "0.2.0"
version = "0.4.0"
authors = ["meloalright <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion soft-skia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "soft_skia"
version = "0.2.0"
version = "0.4.0"
edition = "2021"
description="software rasterization skia binding"
license = "MIT"
Expand Down
11 changes: 8 additions & 3 deletions vue-playground/src/code.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
export default `<v-surface :width="360" :height="360">
<v-rect :x="10" :y="220" :width="30" :height="30" color="cyan" :style="'fill'" />
<v-line :strokeWidth="8" color="black" :p1="[100, 260]" :p2="[50, 285]" />
<v-round-rect
:x="220" :y="50" :width="80" :height="80" :r="10" color="fuchsia" :style="'stroke'" />
<v-circle :cx="200" :cy="260" :r="50" :style="'stroke'" color="fuchsia" />
<v-round-rect :x="220" :y="50" :width="80" :height="80" :r="10" color="fuchsia" :style="'stroke'" />
<v-points :points="[
[138, 10],
[178, 90],
Expand All @@ -17,5 +15,12 @@ export default `<v-surface :width="360" :height="360">
[98, 90],
[138, 10],
]" :style="'fill'" :strokeWidth="1" :color="'rgba(200, 255, 0, 0.7)'" />
<v-group :x="200" :y="160" color="violet" :style="'stroke'" :invertClip="true">
<template #clip>
<v-circle :cx="8" :cy="68" :r="40" />
</template>
<v-circle :cx="0" :cy="60" :r="50" :style="'fill'" />
<v-circle :cx="0" :cy="60" :r="70" />
</v-group>
</v-surface>
`
2 changes: 1 addition & 1 deletion vue-skia-framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-skia",
"version": "0.0.2",
"version": "0.0.4",
"files": [
"lib",
"soft-skia-wasm/pkg",
Expand Down

0 comments on commit c2d5339

Please sign in to comment.