add: more font
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user