This commit is contained in:
Elias Batek 2024-04-24 22:25:52 +02:00
parent e12846e996
commit 44dfc72d78
2 changed files with 8 additions and 4 deletions

View File

@ -8,18 +8,23 @@ module arsd.pixmappaint;
import arsd.color; import arsd.color;
import arsd.core; import arsd.core;
/// alias Color = arsd.color.Color;
alias Pixel = Color;
/// ///
alias ColorF = arsd.color.ColorF; alias ColorF = arsd.color.ColorF;
/// ///
alias Size = arsd.color.Size; alias Pixel = Color;
/// ///
alias Point = arsd.color.Point; alias Point = arsd.color.Point;
///
alias Rectangle = arsd.color.Rectangle;
///
alias Size = arsd.color.Size;
// verify assumption(s) // verify assumption(s)
static assert(Pixel.sizeof == uint.sizeof); static assert(Pixel.sizeof == uint.sizeof);

View File

@ -87,7 +87,6 @@
--- ---
import arsd.pixmappresenter; import arsd.pixmappresenter;
import arsd.simpledisplay : MouseEvent;
int main() { int main() {
// Internal resolution of the images (“frames”) we will render. // Internal resolution of the images (“frames”) we will render.