James Chen

Results 3 issues of James Chen

使用 clang-tidy 后 ``` /home/loryhndol/Public/pine/src/Buffer.cpp:25:33: error: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'ssize_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions,-warnings-as-errors] ssize_t Buffer::Size() { return buf_.size(); } ``` ssize_t...

The original function `draw_line` may create some artifacts during rasterization. I would like to add the DDA algorithm because it's simple and easy to understand.

Thanks for your great work! When running `cargo run --release` , I saw a window popped out and then closed quickly. And then I got the following message: ``` PS...