We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
エラーの内容 | Describe the runtime error
RoundRectの内側の線を描画する際、半径が枠の太さを下回ると描画が破綻します。
gifはHTMLとSiv3Dで同じ挙動をするテストコードを作成し、比較した動画です。 使用したテストコードは再現方法 | To Reproduceにあります。
再現方法 | To Reproduce
半径 > 枠太さ
半径 < 枠太さ
HTML https://jsfiddle.net/23Lnzq7x/12/
Siv3D
#include <Siv3D.hpp> // OpenSiv3D v0.6.4 void Main() { Scene::SetBackground(ColorF(0.9)); double frameThickness = 0; double roundSize = 0; while (System::Update()) { SimpleGUI::Slider(frameThickness, 0.0, 100.0, { 5, 5 }, 200.0); SimpleGUI::Slider(roundSize, 0.0, 100.0, { 5, 45 }, 200.0); RoundRect rrect(5, 85, 100 + frameThickness * 2, 100 + frameThickness * 2, roundSize); rrect.drawFrame(frameThickness, 0, Palette::Black); } }
発生環境(デスクトップの場合) | Desktop (please complete the following information):
備考 | Additional context
The text was updated successfully, but these errors were encountered:
[共通] Rect/RectF/RoundRect::drawFrame() を堅牢に #856
601140e
開発中の v0.6.5 で、Rect / RectF / RoundRect の drawFrame() にどのような値を渡しても異常な結果が表示されないよう修正しました。ご報告ありがとうございます!
Sorry, something went wrong.
No branches or pull requests
エラーの内容 | Describe the runtime error
RoundRectの内側の線を描画する際、半径が枠の太さを下回ると描画が破綻します。
gifはHTMLとSiv3Dで同じ挙動をするテストコードを作成し、比較した動画です。
使用したテストコードは
再現方法 | To Reproduce
にあります。半径 > 枠太さ
半径 < 枠太さ
再現方法 | To Reproduce
HTML
https://jsfiddle.net/23Lnzq7x/12/
Siv3D
発生環境(デスクトップの場合) | Desktop (please complete the following information):
備考 | Additional context
The text was updated successfully, but these errors were encountered: