Skip to content

Commit cd946c8

Browse files
authored
Merge pull request #5 from facorread/pr-ci-master
Proposal to use git-master dependencies for collaboration, testing, and CI
2 parents 111fce5 + 1b3414a commit cd946c8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ readme = "README.md"
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies.plotters-backend]
15-
version = "0.3"
15+
git = "https://github.com/plotters-rs/plotters-backend"
16+
# version = "0.3.1"
1617

1718
[dependencies]
1819
js-sys= "0.3.32"
@@ -23,5 +24,9 @@ version = "0.3.32"
2324
features = ['Document', 'DomRect', 'Element', 'HtmlElement', 'Node', 'Window', 'HtmlCanvasElement', 'CanvasRenderingContext2d']
2425

2526
[dev-dependencies]
26-
plotters = "^0.3.0"
2727
wasm-bindgen-test = "^0.3.17"
28+
29+
[dev-dependencies.plotters]
30+
default_features = false
31+
git = "https://github.com/plotters-rs/plotters"
32+
# version = "0.3.1"

src/canvas.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ impl DrawingBackend for CanvasBackend {
252252
FontTransform::Rotate90 => 90.0,
253253
FontTransform::Rotate180 => 180.0,
254254
FontTransform::Rotate270 => 270.0,
255+
FontTransform::RotateAngle(angle) => angle as f64,
255256
} / 180.0
256257
* std::f64::consts::PI;
257258

0 commit comments

Comments
 (0)