[DEV] use doxygen documentation
This commit is contained in:
parent
9d38ad6a4d
commit
baa430d1f3
19
doxy_egami.py
Normal file
19
doxy_egami.py
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
import os
|
||||
import doxy.module as module
|
||||
import doxy.debug as debug
|
||||
import doxy.tools as tools
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name)
|
||||
my_module.set_version([0,2,"dev"])
|
||||
my_module.set_title("egami: Ewol IMAGE interface abstraction")
|
||||
my_module.set_website("http://atria-soft.github.io/" + module_name)
|
||||
my_module.set_website_sources("http://github.com/atria-soft/" + module_name)
|
||||
my_module.set_path(os.path.join(tools.get_current_path(__file__), module_name))
|
||||
my_module.add_module_depend([
|
||||
'esvg',
|
||||
'etk'
|
||||
])
|
||||
|
||||
return my_module
|
@ -42,9 +42,6 @@ enum modeBitmap {
|
||||
BITS_32_A8R8G8B8
|
||||
};
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "wrapperBMP"
|
||||
|
||||
bool egami::loadBMP(const std::string& _inputFile, egami::Image& _ouputImage) {
|
||||
enum modeBitmap m_dataMode = BITS_16_R5G6B5;
|
||||
int32_t m_width = 0;
|
||||
|
@ -12,9 +12,6 @@
|
||||
#include <egami/wrapperEDF.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "wrapperEDF"
|
||||
|
||||
//EDF format is a simple format for image in text for distance field image (special case)
|
||||
// it is composed of the fist line : description of type (starting with #EDF and some other information, the data start just after the first \n
|
||||
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <png/png.h>
|
||||
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "wrapperPNG"
|
||||
|
||||
// we must change the access of the IO of the png lib :
|
||||
static void local_ReadData(png_structp png_ptr, png_bytep data, png_size_t length) {
|
||||
etk::FSNode* fileNode = static_cast<etk::FSNode*>(png_get_io_ptr(png_ptr));
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include <esvg/esvg.h>
|
||||
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "wrapperSVG"
|
||||
|
||||
|
||||
bool egami::loadSVG(const std::string& _fileName, egami::Image& _ouputImage, const ivec2& _size) {
|
||||
esvg::Document svgDocument;
|
||||
if (svgDocument.load(_fileName) == false) {
|
||||
|
@ -11,9 +11,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "test"
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
// init Google test :
|
||||
::testing::InitGoogleTest(&argc, const_cast<char **>(argv));
|
||||
|
Loading…
x
Reference in New Issue
Block a user