add: Rect
This commit is contained in:
@@ -43,6 +43,19 @@ int main()
|
||||
target.DrawCircle(center, 210);
|
||||
target.DrawCircle(center, 220);
|
||||
|
||||
target.DrawCircle(center, 230);
|
||||
target.DrawCircle(center, 231);
|
||||
|
||||
target.DrawRectFilled({100, 100}, {202, 202});
|
||||
target.DrawCircle({151, 151}, 50, frame::WHITE);
|
||||
target.DrawCircle({151, 151}, 40, frame::WHITE);
|
||||
target.DrawCircle({151, 151}, 30, frame::WHITE);
|
||||
target.DrawCircle({151, 151}, 20, frame::WHITE);
|
||||
target.DrawCircle({151, 151}, 10, frame::WHITE);
|
||||
target.DrawCircle({151, 151}, 1, frame::WHITE);
|
||||
|
||||
target.DrawRect({10, (int)display.getSize().height - 110}, {110, (int)display.getSize().height - 10}, 5);
|
||||
|
||||
display.Display(target.getImage());
|
||||
|
||||
std::this_thread::sleep_for(10s);
|
||||
|
||||
Reference in New Issue
Block a user