ladybird/Libraries/LibGfx
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
..
AffineTransform.cpp LibGfx: Add a basic AffineTransform class 2020-04-12 19:23:39 +02:00
AffineTransform.h LibGfx: Add a basic AffineTransform class 2020-04-12 19:23:39 +02:00
Bitmap.cpp LibGfx: Use Checked::multiplication_would_overflow() 2020-04-15 17:15:06 +02:00
Bitmap.h LibGfx: Don't allow creating bitmaps whose sizes would overflow 2020-04-15 12:28:49 +02:00
CharacterBitmap.cpp LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
CharacterBitmap.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Color.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Color.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
DisjointRectSet.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
DisjointRectSet.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Emoji.cpp LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h} 2020-02-06 12:07:05 +01:00
Emoji.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
FloatPoint.h LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies 2020-04-12 19:23:39 +02:00
FloatRect.h LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies 2020-04-12 19:23:39 +02:00
FloatSize.h LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies 2020-04-12 19:23:39 +02:00
Font.cpp LibGfx: Do not assert on failed font file loads 2020-03-11 21:27:03 +01:00
Font.h LibGfx: Add a way to construct an empty Font with arbitrary metrics 2020-02-23 11:10:52 +01:00
Forward.h LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
GIFLoader.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
GIFLoader.h LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h} 2020-02-06 12:07:05 +01:00
ImageDecoder.cpp LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
ImageDecoder.h LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
Makefile LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
Orientation.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Painter.cpp LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
Painter.h LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
Palette.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
Palette.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
Path.cpp LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
Path.h LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
PNGLoader.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
PNGLoader.h LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h} 2020-02-06 12:07:05 +01:00
Point.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Point.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Rect.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Rect.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
ShareableBitmap.cpp Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
ShareableBitmap.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
Size.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Size.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
StylePainter.cpp LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h} 2020-02-06 12:07:05 +01:00
StylePainter.h LibGfx: Reduce header dependencies of StylePainter 2020-02-16 09:41:56 +01:00
SystemTheme.cpp LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
SystemTheme.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
TextAlignment.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
TextElision.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Triangle.cpp LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
Triangle.h LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00