1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00
serenity/Libraries/LibDraw
Andreas Kling 1bd2941467 LibDraw: Add ImageLoader, a simple abstraction for image loading
An ImageLoader is a generic interface for loading encoded image data of
any supported format. It has an ImageLoaderPlugin internally that does
all the work.

This patch adds an initial PNGImageLoaderPlugin that knows how to
retrieve the size of a PNG, and the bitmap. The API is divided into
size() and bitmap() to facilitate geometry-only decoding.
This will be useful in places like LibHTML where we need dimensions for
layout purposes but can wait with the bitmap until later.
2019-10-15 21:48:08 +02:00
..
CharacterBitmap.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
CharacterBitmap.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
Color.cpp LibDraw: Parse some more color string formats found on the web 2019-10-06 21:40:14 +02:00
Color.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
DisjointRectSet.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
DisjointRectSet.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
Emoji.cpp AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
Emoji.h LibDraw: Introduce an Emoji class 2019-09-05 16:37:39 +02:00
Font.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
Font.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GraphicsBitmap.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
GraphicsBitmap.h LibDraw: Some build fixes for strange platforms 2019-09-29 21:02:49 +02:00
ImageLoader.cpp LibDraw: Add ImageLoader, a simple abstraction for image loading 2019-10-15 21:48:08 +02:00
ImageLoader.h LibDraw: Add ImageLoader, a simple abstraction for image loading 2019-10-15 21:48:08 +02:00
install.sh LibDraw: Make sure we install libdraw.a so ports can link with -ldraw 2019-09-07 18:19:02 +02:00
Makefile LibDraw: Add ImageLoader, a simple abstraction for image loading 2019-10-15 21:48:08 +02:00
Orientation.h LibDraw: Move the Orientation enum to its own LibDraw header file. 2019-07-20 19:32:12 +02:00
Painter.cpp LibDraw: Add TextAlignment::TopRight 2019-09-06 19:23:54 +02:00
Painter.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
PNGLoader.cpp LibDraw: Add ImageLoader, a simple abstraction for image loading 2019-10-15 21:48:08 +02:00
PNGLoader.h LibDraw: Add ImageLoader, a simple abstraction for image loading 2019-10-15 21:48:08 +02:00
Point.h Point: Add operator+=, operator-=, and Point+Point 2019-09-27 18:59:50 +02:00
puff.c LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
puff.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
Rect.cpp LibDraw: Add TextAlignment::TopRight 2019-09-06 19:23:54 +02:00
Rect.h Rect: Add set_right_without_resize() and set_bottom_without_resize() 2019-09-16 20:56:23 +02:00
Size.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
StylePainter.cpp StylePainter: Move progress bar painting from GProgressBar to here 2019-08-14 20:31:46 +02:00
StylePainter.h StylePainter: Move progress bar painting from GProgressBar to here 2019-08-14 20:31:46 +02:00
TextAlignment.h LibDraw: Add TextAlignment::TopRight 2019-09-06 19:23:54 +02:00
TextElision.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00