summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-04 10:49:38 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-04 11:25:45 +0100
commit40552bb5fba41070adb8924fcfdbc18b13a117a0 (patch)
treefd779d83bd5443317f7a4262c5086afda9143ef4 /Meta/Lagom
parentb8a5b1131a8485959c6cb5a1e17f37cd939f8b07 (diff)
downloadserenity-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/Lagom')
0 files changed, 0 insertions, 0 deletions