Skip to content

Commit

Permalink
m121
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Dec 11, 2023
1 parent b0185bd commit b3a1ee3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `skr canvas`

![CI](https://github.com/Brooooooklyn/canvas/workflows/CI/badge.svg)
![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm118-hotpink)
![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm121-hotpink)
[![install size](https://packagephobia.com/badge?p=@napi-rs/canvas)](https://packagephobia.com/result?p=@napi-rs/canvas)
[![Downloads](https://img.shields.io/npm/dm/@napi-rs/canvas.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/canvas?minimal=true)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `skr canvas`

![CI](https://github.com/Brooooooklyn/canvas/workflows/CI/badge.svg)
![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm118-hotpink)
![Skia Version](https://img.shields.io/badge/Skia-chrome%2Fm121-hotpink)
[![install size](https://packagephobia.com/badge?p=@napi-rs/canvas)](https://packagephobia.com/result?p=@napi-rs/canvas)
[![Downloads](https://img.shields.io/npm/dm/@napi-rs/canvas.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/canvas?minimal=true)

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2023-08-09
nightly-2023-12-11
1 change: 0 additions & 1 deletion scripts/build-skia.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const GN_ARGS = [
`skia_enable_tools=false`,
`skia_enable_svg=true`,
`skia_enable_skparagraph=true`,
`skia_enable_sktext=true`,
`skia_pdf_subset_harfbuzz=true`,
`skia_use_expat=true`,
`skia_use_system_expat=false`,
Expand Down
2 changes: 1 addition & 1 deletion skia
Submodule skia updated 3571 files
2 changes: 1 addition & 1 deletion skia-c/skia_c.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define SKIA_CAPI_H

#include <include/codec/SkCodec.h>
#include <include/codec/SkEncodedImageFormat.h>
#include <include/core/SkPicture.h>
#include <include/core/SkSamplingOptions.h>
#include <include/core/SkString.h>
Expand All @@ -14,7 +15,6 @@
#include <include/core/SkColorFilter.h>
#include <include/core/SkData.h>
#include <include/core/SkDrawable.h>
#include <include/core/SkEncodedImageFormat.h>
#include <include/core/SkGraphics.h>
#include <include/core/SkFontMgr.h>
#include <include/core/SkPaint.h>
Expand Down
4 changes: 2 additions & 2 deletions src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ impl Default for Context2dRenderingState {
shadow_blur: 0f32,
shadow_color: RGBA::new(0, 0, 0, 255),
shadow_color_string: "#000000".to_owned(),
/// 0.0 ~ 1.0
// 0.0 ~ 1.0
global_alpha: 1.0,
/// A float specifying the amount of the line dash offset. The default value is 0.0.
// A float specifying the amount of the line dash offset. The default value is 0.0.
line_dash_offset: 0.0,
image_smoothing_enabled: true,
image_smoothing_quality: FilterQuality::default(),
Expand Down

0 comments on commit b3a1ee3

Please sign in to comment.