mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
17 lines
340 B
C++
17 lines
340 B
C++
#include "CBitmap.h"
|
|
|
|
CBitmap::CBitmap(const char* asciiData, unsigned width, unsigned height)
|
|
: m_bits(asciiData)
|
|
, m_size(width, height)
|
|
{
|
|
}
|
|
|
|
CBitmap::~CBitmap()
|
|
{
|
|
}
|
|
|
|
RetainPtr<CBitmap> CBitmap::createFromASCII(const char* asciiData, unsigned width, unsigned height)
|
|
{
|
|
return adopt(*new CBitmap(asciiData, width, height));
|
|
}
|
|
|