1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:07:45 +00:00

LibGfx: Address awesomekling's comments on API and codestyle

This commit is contained in:
Srimanta Barua 2020-06-06 16:21:03 +05:30 committed by Andreas Kling
parent 1931535218
commit 22fbe59126
2 changed files with 23 additions and 27 deletions

View file

@ -28,7 +28,6 @@
#include <AK/ByteBuffer.h>
#include <AK/Noncopyable.h>
#include <AK/OwnPtr.h>
#include <AK/RefCounted.h>
#include <AK/StringView.h>
#include <LibGfx/Bitmap.h>
@ -336,19 +335,17 @@ private:
{
if (m_type == Type::Simple) {
return m_meta.simple.ymax;
} else {
// FIXME: Support composite outlines.
TODO();
}
// FIXME: Support composite outlines.
TODO();
}
int descender() const
{
if (m_type == Type::Simple) {
return m_meta.simple.ymin;
} else {
// FIXME: Support composite outlines.
TODO();
}
// FIXME: Support composite outlines.
TODO();
}
private: