1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00
serenity/Libraries/LibGfx/Makefile
Andreas Kling 60c2e41079 LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics
This will be used to implement painting of 2D paths. This first patch
adds support for line_to(), move_to() and close().

It will try to have the same semantics as the HTML <canvas> element.

To stroke a Path, simply pass it to Painter::stroke_path().
2020-04-16 21:04:46 +02:00

30 lines
580 B
Makefile

OBJS = \
AffineTransform.o \
Bitmap.o \
CharacterBitmap.o \
Color.o \
DisjointRectSet.o \
Emoji.o \
Font.o \
GIFLoader.o \
ImageDecoder.o \
PNGLoader.o \
Painter.o \
Palette.o \
Path.o \
Point.o \
Rect.o \
ShareableBitmap.o \
Size.o \
StylePainter.o \
SystemTheme.o \
Triangle.o
LIBRARY = libgfx.a
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGfx/
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGfx/
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
include ../../Makefile.common