diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-04 10:49:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-04 11:25:45 +0100 |
commit | 40552bb5fba41070adb8924fcfdbc18b13a117a0 (patch) | |
tree | fd779d83bd5443317f7a4262c5086afda9143ef4 /Meta | |
parent | b8a5b1131a8485959c6cb5a1e17f37cd939f8b07 (diff) | |
download | serenity-40552bb5fba41070adb8924fcfdbc18b13a117a0.zip |
AK: Add BitmapView class (like StringView but for bitmaps)
AK::Bitmap is an awkwardly modal class which can either own or wrap
the underlying data. To get ourselves out of this unpleasant situation,
this patch adds BitmapView to replace the wrapped mode.
A BitmapView is simply a { data pointer, bit count } tuple internally
and provides all the convenient functionality of a bitmap class.
Diffstat (limited to 'Meta')
0 files changed, 0 insertions, 0 deletions