Moved graphics classes into own namespace, added unit testing with gtest
This commit is contained in:
17
src/graphics/Image.hpp
Normal file
17
src/graphics/Image.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ptprnt::graphics {
|
||||
class Image {
|
||||
public:
|
||||
Image();
|
||||
~Image();
|
||||
uint8_t* getRaw();
|
||||
|
||||
private:
|
||||
PangoLayout* mLayout;
|
||||
PangoFontDescription* mFontDescription;
|
||||
cairo_surface_t* mSurface;
|
||||
};
|
||||
} // namespace ptprnt::graphics
|
Reference in New Issue
Block a user