plotters-canvas
plotters-canvas copied to clipboard
when compiling, occured E0599 error
Hi. Anyone encounted this error?
I was just now looking at this project, trying to build the Wasm demo and got the same error...
It appears that FontTransform::RotateAngle() was reverted in July in the main plotters project, and a corresponding reversion was not made here.
The only reason that RotateAngle() was added in this repository was so that an enum covered cases exhaustively.
Deleting that line didn't seem to make it work at one point. But then after tinkering around it did...so maybe I was an inconsistent state. It's compiling now, and I managed to test the Wasm demo in-browser.
(I have the main plotters library cloned locally, and I edited the Cargo.toml in the plotters-canvas
to use a path =
on the local drive for plotters, instead of a git =
. The same change was needed in the plotters-wasm-demo's Cargo.toml.)
I have submitted a PR to undo the RotateAngle() commit.
Note: Circa 2022 the plotters project has had a lapse in maintenance, and there is a thread about establishing new community maintainers.