|
Hugintrunk
0.1
|
#include "panoinc_WX.h"#include "panoinc.h"#include "PreviewIdentifyTool.h"#include "hugin_config.h"#include "base_wx/platform.h"#include "GLPreviewFrame.h"#include "MainFrame.h"#include <GL/glew.h>#include <GL/gl.h>#include <GL/glu.h>#include <algorithm>#include <vector>
Go to the source code of this file.
Macros | |
| #define | rect_ts 64 |
| #define | circle_ts_multiple 4 |
| #define | circle_ts (rect_ts * circle_ts_multiple) |
| #define | circle_middle ((float) (circle_ts - 1) / 2.0) |
| #define | circle_border_outer (circle_middle - 0.5 * (float) circle_ts_multiple) |
| #define | circle_border_inner (circle_middle - 2.5 * (float) circle_ts_multiple) |
| #define | circle_border_peak (circle_middle - 1.5 * (float) circle_ts_multiple) |
| #define | FONT_TEXTURE_HEIGHT 75 |
Functions | |
| wxBitmap | GenerateFontTexture (const int textureHeight, int &textureWidth, std::vector< int > &glyphWidth) |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.
Definition in file PreviewIdentifyTool.cpp.
| #define circle_border_inner (circle_middle - 2.5 * (float) circle_ts_multiple) |
Definition at line 60 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define circle_border_outer (circle_middle - 0.5 * (float) circle_ts_multiple) |
Definition at line 59 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define circle_border_peak (circle_middle - 1.5 * (float) circle_ts_multiple) |
Definition at line 61 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define circle_middle ((float) (circle_ts - 1) / 2.0) |
Definition at line 58 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define circle_ts (rect_ts * circle_ts_multiple) |
Definition at line 57 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define circle_ts_multiple 4 |
Definition at line 56 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| #define FONT_TEXTURE_HEIGHT 75 |
Definition at line 70 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::AfterDrawImagesEvent(), and PreviewIdentifyTool::PreviewIdentifyTool().
| #define rect_ts 64 |
Definition at line 53 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
| wxBitmap GenerateFontTexture | ( | const int | textureHeight, |
| int & | textureWidth, | ||
| std::vector< int > & | glyphWidth | ||
| ) |
Definition at line 71 of file PreviewIdentifyTool.cpp.
Referenced by PreviewIdentifyTool::PreviewIdentifyTool().
1.8.5