viewer/grphics.h File Reference

#include "sbgdefs.h"
#include "sbgconst.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Variables


Define Documentation

#define await_event ( win,
wait,
type,
event   )     (*await_event_func)(win,wait,type,event)

Definition at line 67 of file grphics.h.

Referenced by await_click(), await_key(), await_selection(), display_image(), display_images(), COMMAND_WINDOW::internal_prompt(), pgeditor_main(), and window_wait().

#define character_height ( fd,
height   )     fd->Character_height(height)

Definition at line 48 of file grphics.h.

Referenced by MENU_NODE::plot(), COMMAND_WINDOW::plot(), POLY_BLOCK::plot(), and word_display().

#define clear_event_queue ( fd   )     fd->Clear_event_queue()

Definition at line 64 of file grphics.h.

#define clear_view_surface ( fd   )     fd->Clear_view_surface()

Definition at line 57 of file grphics.h.

Referenced by clear_fx_win(), display_clip_image(), display_image(), display_images(), do_re_display(), do_view_cmd(), COMMAND_WINDOW::plot(), and word_bln_display().

#define create_window ( name,
window_type,
xpos,
ypos,
xsize,
ysize,
xmin,
xmax,
ymin,
ymax,
downon,
moveon,
upon,
keyon   )     (*create_func)(name,window_type,xpos,ypos,xsize,ysize,xmin,xmax,ymin,ymax,downon,moveon,upon,keyon)

Definition at line 65 of file grphics.h.

Referenced by bln_word_window_handle(), build_image_window(), c_create_window(), COMMAND_WINDOW::COMMAND_WINDOW(), create_edges_window(), create_fx_win(), create_to_win(), display_clip_image(), display_image(), display_images(), smd_cmd(), and COMMAND_WINDOW::update_menu_tree().

#define destroy_window ( fd   )     fd->Destroy_window()

Definition at line 56 of file grphics.h.

Referenced by build_image_window(), close_to_win(), display_images(), smd_cmd(), COMMAND_WINDOW::update_menu_tree(), and VARIABLES_WINDOW::v_event().

#define draw2d ( fd,
x,
 )     fd->Draw2d(x,y)

Definition at line 52 of file grphics.h.

Referenced by assign_blobs_to_rows(), clear_fx_win(), display_bln_lines(), display_image(), display_images(), draw_meanlines(), draw_occupation(), draw_raw_edge(), POLY_BLOCK::fill(), QSPLINE::plot(), POLY_BLOCK::plot(), LMS::plot(), plot_fp_cells(), plot_fp_cells2(), plot_parallel_row(), plot_row_cells(), plot_to_row(), STATS::plotline(), and NON_LEAF_MENU_NODE::plotx().

#define ellipse ( fd,
x_radius,
y_radius,
x_center,
y_center,
rotation   )     fd->Ellipse(x_radius,y_radius,x_center,y_center,rotation)

Definition at line 55 of file grphics.h.

Referenced by mark_gap().

#define fill_color ( fd,
r,
g,
 )     fd->Fill_color(r,g,b)

Definition at line 45 of file grphics.h.

#define fill_color_index ( fd,
index   )     fd->Fill_color_index(index)

Definition at line 44 of file grphics.h.

Referenced by COMMAND_WINDOW::internal_prompt(), mark_gap(), MENU_NODE::plot(), BOX::plot(), COMMAND_WINDOW::plot_msg_area(), COMMAND_WINDOW::plot_prompt_area(), plot_word_decisions(), BOOL_VAR_MENU_LEAF::plotx(), and TOGGLE_MENU_LEAF::plotx().

#define interior_style ( fd,
style,
edged   )     fd->Interior_style(style,edged)

Definition at line 50 of file grphics.h.

Referenced by find_repeated_chars(), COMMAND_WINDOW::internal_prompt(), mark_gap(), MENU_NODE::plot(), STATS::plot(), BOX::plot(), plot_box_list(), COMMAND_WINDOW::plot_msg_area(), plot_pixrows(), COMMAND_WINDOW::plot_prompt_area(), plot_word_decisions(), and pre_associate_blobs().

#define line_color_index ( fd,
index   )     fd->Line_color_index(index)

Definition at line 42 of file grphics.h.

Referenced by clear_fx_win(), display_bln_lines(), display_image(), display_images(), draw_meanlines(), draw_occupation(), draw_raw_edge(), POLY_BLOCK::fill(), QSPLINE::plot(), POLY_BLOCK::plot(), LMS::plot(), plot_fp_cells(), plot_fp_cells2(), plot_parallel_row(), plot_row_cells(), plot_to_row(), and STATS::plotline().

#define line_type ( fd,
style   )     fd->Line_type(style)

Definition at line 49 of file grphics.h.

Referenced by display_bln_lines(), and STATS::plotline().

#define make_picture_current ( fd   )     fd->Make_picture_current()

Definition at line 59 of file grphics.h.

Referenced by classify_word_pass2().

#define move2d ( fd,
x,
 )     fd->Move2d(x,y)

Definition at line 51 of file grphics.h.

Referenced by assign_blobs_to_rows(), clear_fx_win(), display_bln_lines(), display_image(), display_images(), draw_meanlines(), draw_occupation(), draw_raw_edge(), POLY_BLOCK::fill(), QSPLINE::plot(), POLY_BLOCK::plot(), LMS::plot(), plot_fp_cells(), plot_fp_cells2(), plot_parallel_row(), plot_row_cells(), plot_to_row(), STATS::plotline(), and NON_LEAF_MENU_NODE::plotx().

#define overlap_picture_ops ( update   )     (*overlap_func)(update)

Definition at line 66 of file grphics.h.

Referenced by close_to_win(), compute_block_pitch(), compute_fixed_pitch(), create_edges_window(), display_clip_image(), display_image(), display_images(), get_outlines(), COMMAND_WINDOW::internal_prompt(), VARIABLES_WINDOW::interrupt_handler(), WINFD::Make_picture_current(), COMMAND_WINDOW::msg(), pgeditor_main(), and word_change_text().

#define perimeter_color_index ( fd,
index   )     fd->Perimeter_color_index(index)

Definition at line 43 of file grphics.h.

Referenced by find_repeated_chars(), mark_gap(), MENU_NODE::plot(), STATS::plot(), BOX::plot(), plot_box_list(), plot_pixrows(), pre_associate_blobs(), and word_display().

#define rectangle ( fd,
x1,
y1,
x2,
y2   )     fd->Rectangle(x1,y1,x2,y2)

Definition at line 53 of file grphics.h.

Referenced by find_repeated_chars(), COMMAND_WINDOW::internal_prompt(), STATS::plot(), BOX::plot(), PIXROW::plot(), COMMAND_WINDOW::plot_msg_area(), COMMAND_WINDOW::plot_prompt_area(), plot_word_decisions(), and pre_associate_blobs().

#define set_click_handler ( fd,
handler   )     fd->Set_click_handler(handler)

Definition at line 60 of file grphics.h.

Referenced by VARIABLES_WINDOW::internal_prompt(), and VARIABLES_WINDOW::VARIABLES_WINDOW().

#define set_destroy_handler ( fd,
handler   )     fd->Set_destroy_handler(handler)

Definition at line 63 of file grphics.h.

#define set_key_handler ( fd,
handler   )     fd->Set_key_handler(handler)

Definition at line 62 of file grphics.h.

#define set_selection_handler ( fd,
handler   )     fd->Set_selection_handler(handler)

Definition at line 61 of file grphics.h.

Referenced by create_edges_window().

#define STATESIZE   13

MUST equal EDGESTYLE+1

Definition at line 40 of file grphics.h.

#define text2d ( fd,
x,
y,
string,
xform,
more   )     fd->Text2d(x,y,string,xform,more)

Definition at line 54 of file grphics.h.

Referenced by COMMAND_WINDOW::internal_prompt(), POLY_BLOCK::plot(), COMMAND_WINDOW::plot_msg_area(), COMMAND_WINDOW::plot_prompt_area(), NON_LEAF_MENU_NODE::plotx(), LEAF_MENU_NODE::plotx(), and word_display().

#define text_color_index ( fd,
index   )     fd->Text_color_index(index)

Definition at line 46 of file grphics.h.

Referenced by MENU_NODE::plot(), POLY_BLOCK::plot(), COMMAND_WINDOW::plot_msg_area(), COMMAND_WINDOW::plot_prompt_area(), BOOL_VAR_MENU_LEAF::plotx(), TOGGLE_MENU_LEAF::plotx(), and word_display().

#define text_font_index ( fd,
index   )     fd->Text_font_index(index)

Definition at line 47 of file grphics.h.

Referenced by COMMAND_WINDOW::plot(), POLY_BLOCK::plot(), and word_display().

#define vdc_extent ( fd,
xmin,
ymin,
xmax,
ymax   )     fd->Vdc_extent(xmin,ymin,xmax,ymax)

Definition at line 58 of file grphics.h.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), create_fx_win(), and COMMAND_WINDOW::update_menu_tree().


Typedef Documentation

typedef void(*) EVENT_HANDLER(GRAPHICS_EVENT *)

Definition at line 69 of file grphics.h.

typedef WINDOW(*) WINCREATEFUNC(const char *name, INT8 window_type,INT16 xpos,INT16 ypos,INT16 xsize,INT16 ysize,float xmin,float xmax,float ymin,float ymax,BOOL8 downon,BOOL8 moveon, BOOL8 upon, BOOL8 keyon)

Definition at line 71 of file grphics.h.


Variable Documentation

WINDOW(*) await_event_func(WINDOW, BOOL8, INT8, GRAPHICS_EVENT *)

Definition at line 32 of file evnts.cpp.

WINCREATEFUNC create_func

Definition at line 67 of file _grphics.cpp.

void(*) overlap_func(BOOL8)

Definition at line 68 of file _grphics.cpp.


Generated on Wed Feb 28 19:49:27 2007 for Tesseract by  doxygen 1.5.1