diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-04 20:14:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-04 20:14:49 (GMT) |
commit | bb89b8136ff835c8fbd9f313d58815c8f361dff9 (patch) | |
tree | 6b1c4c7895ce43a44539317a555e263683735f8d /src/image.h | |
parent | 29ea1e8227b3e892e7124c8cd8b5f2b8be81a058 (diff) | |
download | Doxygen-bb89b8136ff835c8fbd9f313d58815c8f361dff9.zip Doxygen-bb89b8136ff835c8fbd9f313d58815c8f361dff9.tar.gz Doxygen-bb89b8136ff835c8fbd9f313d58815c8f361dff9.tar.bz2 |
Refactoring: some cleanup and removed text direction logic
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/image.h b/src/image.h index 435321a..6eb2c21 100644 --- a/src/image.h +++ b/src/image.h @@ -1,13 +1,13 @@ /****************************************************************************** * - * + * * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -18,7 +18,8 @@ #ifndef _IMAGE_H #define _IMAGE_H -#include <qglobal.h> + +#include "types.h" /** Class representing a bitmap image generated by doxygen. */ class Image @@ -26,7 +27,7 @@ class Image public: Image(uint w,uint h); ~Image(); - + void setPixel(uint x,uint y,uchar val); uchar getPixel(uint x,uint y) const; void writeChar(uint x,uint y,char c,uchar fg); @@ -43,7 +44,7 @@ class Image uint height() const { return m_height; } uchar *data() const { return m_data; } static uint stringLength(const char *s); - + private: uint m_width; uint m_height; |