mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
17 lines
404 B
C++
17 lines
404 B
C++
#include "CharacterBitmap.h"
|
|
|
|
CharacterBitmap::CharacterBitmap(const char* asciiData, unsigned width, unsigned height)
|
|
: m_bits(asciiData)
|
|
, m_size(width, height)
|
|
{
|
|
}
|
|
|
|
CharacterBitmap::~CharacterBitmap()
|
|
{
|
|
}
|
|
|
|
RetainPtr<CharacterBitmap> CharacterBitmap::createFromASCII(const char* asciiData, unsigned width, unsigned height)
|
|
{
|
|
return adopt(*new CharacterBitmap(asciiData, width, height));
|
|
}
|
|
|