#include "grphics.h"
#include "varable.h"
#include "notdll.h"
Go to the source code of this file.
void clear_fx_win | ( | ) |
Clear features win
Clear the fx window and draw on the base/mean lines.
Definition at line 76 of file drawfx.cpp.
References clear_view_surface, DIM_GREY, draw2d, fx_win, line_color_index, move2d, and WERDWIDTH.
Referenced by classify_word_pass2().
00076 { //make features win 00077 clear_view_surface(fx_win); 00078 line_color_index(fx_win, DIM_GREY); 00079 move2d (fx_win, -WERDWIDTH, bln_baseline_offset); 00080 draw2d(fx_win, WERDWIDTH, bln_baseline_offset); 00081 move2d (fx_win, -WERDWIDTH, bln_x_height + bln_baseline_offset); 00082 draw2d (fx_win, WERDWIDTH, bln_x_height + bln_baseline_offset); 00083 }
void create_fx_win | ( | ) |
Create features win
Create the fx window used to show the fit.
Definition at line 59 of file drawfx.cpp.
References BLN_MAX, create_window, DECENT_WERD_WIDTH, FALSE, fx_win, FXDEMOWIN, FXDEMOXPOS, FXDEMOXSIZE, FXDEMOYPOS, FXDEMOYSIZE, SCROLLINGWIN, TRUE, vdc_extent, and WERDWIDTH.
Referenced by classify_word_pass2().
00059 { //make features win 00060 fx_win = create_window (FXDEMOWIN, SCROLLINGWIN, 00061 FXDEMOXPOS, FXDEMOYPOS, FXDEMOXSIZE, FXDEMOYSIZE, 00062 -WERDWIDTH, WERDWIDTH, -BLN_MAX, BLN_MAX, 00063 TRUE, FALSE, TRUE, TRUE); 00064 vdc_extent (fx_win, -DECENT_WERD_WIDTH, 00065 bln_baseline_offset - bln_x_height, 00066 DECENT_WERD_WIDTH, 2 * bln_x_height + bln_baseline_offset); 00067 }
void create_fxdebug_win | ( | ) |
NOP! Create the fx window used to show the fit.
Definition at line 91 of file drawfx.cpp.
00091 { //make gradients win 00092 // if (strcmp(fx_debugfile.string(),DEBUG_WIN_NAME)==0) 00093 // fx_debug=create_debug_window(fx_debugfile.string(), 00094 // DEBUG_XPOS,DEBUG_YPOS, 00095 // DEBUG_XSIZE,DEBUG_YSIZE); 00096 // else 00097 // fx_debug=fopen(fx_debugfile.string(),"w"); 00098 }
FILE* fx_debug |
Definition at line 51 of file drawfx.cpp.
Definition at line 50 of file drawfx.cpp.
Referenced by classify_word_pass2(), clear_fx_win(), and create_fx_win().