add: more font

This commit is contained in:
Simon Hardt
2022-03-05 21:58:04 +01:00
parent 0553927dad
commit 0fe1509c6c
9 changed files with 149 additions and 52 deletions

View File

@@ -1,7 +1,10 @@
#include "Image.hpp"
#include "Color.hpp"
#include <stdint.h>
namespace frame
{
@@ -36,6 +39,11 @@ namespace frame
return mBuffer.at(toInternal(x, y));
}
void Image::Clear(Color color)
{
memset(mBuffer.data(), color, mBuffer.size());
}
void Image::operator=(Image const& image)
{
mHeight = image.mHeight;