GrafX2 2.9.3227
The ultimate 256-color painting program
|
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "const.h"
#include "struct.h"
#include "global.h"
#include "misc.h"
#include "osdep.h"
#include "engine.h"
#include "graph.h"
#include "operatio.h"
#include "buttons.h"
#include "pages.h"
#include "errors.h"
#include "screen.h"
#include "brush.h"
#include "windows.h"
#include "input.h"
#include "special.h"
#include "tiles.h"
#include "keyboard.h"
Functions | |
void | Start_operation_stack (word new_operation) |
Do some housekeeping before starting work on a operation. More... | |
void | Init_start_operation (void) |
void | Operation_push (short value) |
Put a value on Operation_stack. More... | |
void | Operation_pop (short *value) |
Take a value off Operation_stack. More... | |
short | Distance (short x1, short y1, short x2, short y2) |
void | Display_coords_rel_or_abs (short start_x, short start_y) |
void | Freehand_mode1_1_0 (void) |
void | Freehand_mode1_1_2 (void) |
void | Freehand_mode12_0_2 (void) |
void | Freehand_mode1_2_0 (void) |
void | Freehand_mode1_2_2 (void) |
void | Freehand_mode2_1_0 (void) |
void | Freehand_mode2_1_2 (void) |
void | Freehand_mode2_2_0 (void) |
void | Freehand_mode2_2_2 (void) |
void | Freehand_mode3_1_0 (void) |
void | Freehand_Mode3_2_0 (void) |
void | Freehand_mode3_0_1 (void) |
void | Line_12_0 (void) |
void | Line_12_5 (void) |
void | Line_0_5 (void) |
void | K_line_12_0 (void) |
void | K_line_12_6 (void) |
void | K_line_0_6 (void) |
void | K_line_12_7 (void) |
void | Rectangle_12_0 (void) |
void | Rectangle_12_5 (void) |
void | Empty_rectangle_0_5 (void) |
void | Filled_rectangle_0_5 (void) |
void | Circle_12_0 (void) |
void | Circle_12_5 (void) |
void | Empty_circle_0_5 (void) |
void | Filled_circle_0_5 (void) |
void | Ellipse_12_0 (void) |
void | Ellipse_12_5 (void) |
void | Empty_ellipse_0_5 (void) |
void | Filled_ellipse_0_5 (void) |
void | Fill_1_0 (void) |
void | Fill_2_0 (void) |
void | Replace_1_0 (void) |
void | Replace_2_0 (void) |
void | Draw_curve_cross (short x_pos, short y_pos) |
void | Curve_34_points_1_0 (void) |
void | Curve_34_points_2_0 (void) |
void | Curve_34_points_1_5 (void) |
void | Curve_34_points_2_5 (void) |
void | Curve_4_points_0_5 (void) |
void | Curve_4_points_1_9 (void) |
void | Curve_4_points_2_9 (void) |
void | Compute_3_point_curve (short x1, short y1, short x4, short y4, short *x2, short *y2, short *x3, short *y3) |
void | Curve_3_points_0_5 (void) |
void | Curve_drag (void) |
void | Curve_finalize (void) |
void | Curve_3_points_0_11 (void) |
void | Curve_3_points_12_11 (void) |
void | Airbrush_1_0 (void) |
void | Airbrush_2_0 (void) |
void | Airbrush_12_2 (void) |
void | Airbrush_0_2 (void) |
void | Polygon_12_0 (void) |
void | Polygon_12_9 (void) |
void | Polyfill_12_0 (void) |
void | Polyfill_0_8 (void) |
void | Polyfill_12_8 (void) |
void | Polyfill_12_9 (void) |
void | Polyform_12_0 (void) |
void | Polyform_12_8 (void) |
void | Polyform_0_8 (void) |
void | Filled_polyform_12_0 (void) |
void | Filled_polyform_12_8 (void) |
void | Filled_polyform_0_8 (void) |
void | Filled_contour_0_8 (void) |
void | Scroll_12_0 (void) |
void | Scroll_12_5 (void) |
void | Scroll_0_5 (void) |
void | Grad_circle_12_0 (void) |
void | Grad_circle_12_6 (void) |
void | Grad_circle_0_6 (void) |
void | Grad_circle_12_8 (void) |
void | Grad_circle_or_ellipse_0_8 (void) |
void | Grad_ellipse_12_0 (void) |
void | Grad_ellipse_12_6 (void) |
void | Grad_ellipse_0_6 (void) |
void | Grad_ellipse_12_8 (void) |
void | Grad_rectangle_12_0 (void) |
void | Grad_rectangle_12_5 (void) |
void | Draw_xor_rect (short start_x, short start_y, short end_x, short end_y) |
void | Grad_rectangle_0_5 (void) |
void | Grad_rectangle_0_7 (void) |
void | Grad_rectangle_12_7 (void) |
void | Grad_rectangle_12_9 (void) |
void | Grad_rectangle_0_9 (void) |
void | Centered_lines_12_0 (void) |
void | Centered_lines_12_3 (void) |
void | Centered_lines_0_3 (void) |
void | Centered_lines_12_7 (void) |
void | Centered_lines_0_7 (void) |
void | Pan_view_0_0 (void) |
void | Pan_view_12_0 (void) |
void | Pan_view_12_2 (void) |
void | Pan_view_0_2 (void) |
Variables | |
dword | Airbrush_next_time |
Time (in SDL ticks) when the next airbrush drawing should be done. More... | |
static enum OPERATIONS | Operation_before_pan |
byte | Paintbrush_shape_before_operation |
byte | Paintbrush_hidden_before_scroll |
byte | Cursor_hidden_before_curve |
byte | Cursor_hidden_before_scroll |
void Start_operation_stack | ( | word | new_operation | ) |
Do some housekeeping before starting work on a operation.
References Allow_color_change_during_operation, Begin_brush_rotation(), Brush_rotation_center_is_defined, Current_operation, CURSOR_FOR_OPERATION, Cursor_shape, End_brush_rotation(), OPERATION_AIRBRUSH, Operation_before_interrupt, Operation_before_pan, OPERATION_CENTERED_LINES, OPERATION_COLORPICK, OPERATION_CONTINUOUS_DRAW, OPERATION_DISCONTINUOUS_DRAW, OPERATION_GRAB_BRUSH, OPERATION_MAGNIFY, OPERATION_PAN_VIEW, OPERATION_POLYBRUSH, OPERATION_RMB_COLORPICK, OPERATION_ROTATE_BRUSH, Operation_stack_size, and OPERATION_STRETCH_BRUSH.
Referenced by Button_Adjust(), Button_Airbrush(), Button_Brush(), Button_Brush_FX(), Button_circle_ellipse(), Button_Colorpicker(), Button_Curves(), Button_Curves_switch_mode(), Button_Draw(), Button_Draw_switch_mode(), Button_Empty_rectangle(), Button_Fill(), Button_Filled_polyform(), Button_Filled_rectangle(), Button_Grad_rectangle(), Button_Lasso(), Button_Lines(), Button_Lines_switch_mode(), Button_Magnify(), Button_Polyfill(), Button_Polyform(), Button_polygon(), Button_Replace(), Button_Unselect_brush(), Button_Unselect_colorpicker(), Button_Unselect_lasso(), Button_Unselect_magnifier(), Magnifier_12_0(), Main_handler(), Pan_view_0_0(), Pan_view_0_2(), Rightclick_colorpick(), Rightclick_colorpick_0_1(), Rotate_brush_12_0(), and Stretch_brush_12_0().
void Init_start_operation | ( | void | ) |
References Main, Mouse_X, Operation_in_magnifier, Smear_start, and T_Document::X_zoom.
Referenced by Airbrush_1_0(), Airbrush_2_0(), Brush_12_0(), Centered_lines_12_0(), Circle_12_0(), Colorpicker_12_0(), Curve_34_points_1_0(), Curve_34_points_2_0(), Distort_brush_1_0(), Ellipse_12_0(), Filled_polyform_12_0(), Freehand_mode1_1_0(), Freehand_mode1_2_0(), Freehand_mode2_1_0(), Freehand_mode2_2_0(), Freehand_mode3_1_0(), Freehand_Mode3_2_0(), Grad_circle_12_0(), Grad_ellipse_12_0(), Grad_rectangle_12_0(), K_line_12_0(), Line_12_0(), Pan_view_12_0(), Polyfill_12_0(), Polyform_12_0(), Polygon_12_0(), Rectangle_12_0(), Replace_1_0(), Replace_2_0(), Rightclick_colorpick(), Rotate_brush_12_0(), Scroll_12_0(), and Stretch_brush_12_0().
void Operation_push | ( | short | value | ) |
Put a value on Operation_stack.
References Operation_stack, and Operation_stack_size.
Referenced by Airbrush_12_2(), Airbrush_1_0(), Airbrush_2_0(), Brush_12_0(), Brush_12_5(), Centered_lines_0_3(), Centered_lines_0_7(), Centered_lines_12_0(), Centered_lines_12_3(), Centered_lines_12_7(), Circle_12_0(), Circle_12_5(), Colorpicker_12_0(), Curve_34_points_1_0(), Curve_34_points_1_5(), Curve_34_points_2_0(), Curve_34_points_2_5(), Curve_3_points_0_5(), Curve_4_points_0_5(), Curve_4_points_1_9(), Curve_drag(), Distort_brush_1_0(), Distort_brush_1_8(), Distort_brush_1_9(), Ellipse_12_0(), Ellipse_12_5(), Filled_polyform_0_8(), Filled_polyform_12_0(), Filled_polyform_12_8(), Freehand_mode1_1_0(), Freehand_mode1_1_2(), Freehand_mode1_2_0(), Freehand_mode1_2_2(), Freehand_mode2_1_0(), Freehand_mode2_1_2(), Freehand_mode2_2_0(), Freehand_mode2_2_2(), Freehand_mode3_1_0(), Freehand_Mode3_2_0(), Grad_circle_0_6(), Grad_circle_12_0(), Grad_circle_12_6(), Grad_circle_or_ellipse_0_8(), Grad_ellipse_0_6(), Grad_ellipse_12_0(), Grad_ellipse_12_6(), Grad_rectangle_0_5(), Grad_rectangle_0_7(), Grad_rectangle_12_0(), Grad_rectangle_12_5(), Grad_rectangle_12_7(), Grad_rectangle_12_9(), K_line_0_6(), K_line_12_0(), K_line_12_6(), K_line_12_7(), Line_12_0(), Line_12_5(), Pan_view_12_0(), Pan_view_12_2(), Polybrush_12_8(), Polyfill_0_8(), Polyfill_12_0(), Polyfill_12_8(), Polyfill_12_9(), Polyform_0_8(), Polyform_12_0(), Polyform_12_8(), Polygon_12_0(), Polygon_12_9(), Rectangle_12_0(), Rectangle_12_5(), Rightclick_colorpick(), Rotate_brush_0_5(), Rotate_brush_12_0(), Rotate_brush_1_5(), Scroll_12_0(), Scroll_12_5(), Stretch_brush_0_7(), Stretch_brush_12_0(), and Stretch_brush_1_7().
void Operation_pop | ( | short * | value | ) |
Take a value off Operation_stack.
References Operation_stack, and Operation_stack_size.
Referenced by Airbrush_12_2(), Brush_0_5(), Brush_12_5(), Centered_lines_0_3(), Centered_lines_0_7(), Centered_lines_12_3(), Centered_lines_12_7(), Circle_12_5(), Colorpicker_0_1(), Curve_34_points_1_5(), Curve_34_points_2_5(), Curve_3_points_0_5(), Curve_4_points_0_5(), Curve_4_points_1_9(), Curve_4_points_2_9(), Curve_drag(), Curve_finalize(), Distort_brush_0_9(), Distort_brush_1_8(), Distort_brush_1_9(), Distort_brush_2_8(), Ellipse_12_5(), Empty_circle_0_5(), Empty_ellipse_0_5(), Empty_rectangle_0_5(), Filled_circle_0_5(), Filled_contour_0_8(), Filled_ellipse_0_5(), Filled_polyform_0_8(), Filled_polyform_12_8(), Filled_rectangle_0_5(), Freehand_mode1_1_2(), Freehand_mode1_2_2(), Freehand_mode2_1_2(), Freehand_mode2_2_2(), Grad_circle_0_6(), Grad_circle_12_6(), Grad_circle_12_8(), Grad_circle_or_ellipse_0_8(), Grad_ellipse_0_6(), Grad_ellipse_12_6(), Grad_ellipse_12_8(), Grad_rectangle_0_5(), Grad_rectangle_0_9(), Grad_rectangle_12_5(), Grad_rectangle_12_7(), Grad_rectangle_12_9(), K_line_0_6(), K_line_12_6(), K_line_12_7(), Line_0_5(), Line_12_5(), Pan_view_0_2(), Pan_view_12_2(), Polybrush_12_8(), Polyfill_0_8(), Polyfill_12_8(), Polyfill_12_9(), Polyform_0_8(), Polyform_12_8(), Polygon_12_9(), Rectangle_12_5(), Rightclick_colorpick_0_1(), Rotate_brush_0_5(), Rotate_brush_1_5(), Rotate_brush_2_5(), Scroll_0_5(), Scroll_12_5(), Stretch_brush_0_7(), Stretch_brush_1_7(), and Stretch_brush_2_7().
short Distance | ( | short | x1, |
short | y1, | ||
short | x2, | ||
short | y2 | ||
) |
References Round().
Referenced by Circle_12_5(), Curve_4_points_1_9(), Distort_brush_1_8(), and Grad_circle_12_6().
void Display_coords_rel_or_abs | ( | short | start_x, |
short | start_y | ||
) |
References Config, T_Config::Coords_rel, Menu_is_visible, Num2str, Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Centered_lines_0_7(), Curve_34_points_1_5(), Curve_34_points_2_5(), Ellipse_12_5(), Grad_circle_0_6(), Grad_circle_or_ellipse_0_8(), Grad_ellipse_0_6(), Grad_ellipse_12_6(), Grad_rectangle_12_9(), K_line_12_6(), Line_12_5(), Polyfill_12_8(), and Scroll_12_5().
void Freehand_mode1_1_0 | ( | void | ) |
References Backup(), Draw_paintbrush(), Fore_color, Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Shade_table, and Shade_table_left.
Referenced by Init_operations().
void Freehand_mode1_1_2 | ( | void | ) |
References Display_cursor(), Draw_line_permanent(), Fore_color, Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Freehand_mode12_0_2 | ( | void | ) |
References End_of_modification(), and Operation_stack_size.
Referenced by Init_operations().
void Freehand_mode1_2_0 | ( | void | ) |
References Back_color, Backup(), Draw_paintbrush(), Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Rightclick_colorpick(), Shade_table, and Shade_table_right.
Referenced by Init_operations().
void Freehand_mode1_2_2 | ( | void | ) |
References Back_color, Display_cursor(), Draw_line_permanent(), Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Freehand_mode2_1_0 | ( | void | ) |
References Airbrush_delay, Airbrush_next_time, Backup(), Draw_paintbrush(), Fore_color, GFX2_GetTicks(), Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), Shade_table, and Shade_table_left.
Referenced by Init_operations().
void Freehand_mode2_1_2 | ( | void | ) |
References Airbrush_delay, Airbrush_next_time, Display_cursor(), Draw_paintbrush(), Fore_color, GFX2_GetTicks(), Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Freehand_mode2_2_0 | ( | void | ) |
References Airbrush_delay, Airbrush_next_time, Back_color, Backup(), Draw_paintbrush(), GFX2_GetTicks(), Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), Rightclick_colorpick(), Shade_table, and Shade_table_right.
Referenced by Init_operations().
void Freehand_mode2_2_2 | ( | void | ) |
References Airbrush_delay, Airbrush_next_time, Back_color, Display_cursor(), Draw_paintbrush(), GFX2_GetTicks(), Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Freehand_mode3_1_0 | ( | void | ) |
References Backup(), Draw_paintbrush(), Fore_color, Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Shade_table, and Shade_table_left.
Referenced by Init_operations().
void Freehand_Mode3_2_0 | ( | void | ) |
References Back_color, Backup(), Draw_paintbrush(), Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, Rightclick_colorpick(), Shade_table, and Shade_table_right.
Referenced by Init_operations().
void Freehand_mode3_0_1 | ( | void | ) |
References End_of_modification(), and Operation_stack_size.
Referenced by Init_operations().
void Line_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Line_12_5 | ( | void | ) |
References Back_color, Clamp_coordinates_regular_angle(), Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview(), Fore_color, Get_Key_modifiers(), GFX2_MOD_SHIFT, Hide_cursor, Hide_line_preview(), LEFT_SIDE, Mouse_K, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void Line_0_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Draw_line_permanent(), Draw_paintbrush(), End_of_modification(), Hide_line_preview(), Menu_is_visible, Operation_pop(), Paintbrush_shape, Paintbrush_shape_before_operation, Pixel_figure_preview_auto(), Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void K_line_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void K_line_12_6 | ( | void | ) |
References Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview(), Hide_cursor, Hide_line_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void K_line_0_6 | ( | void | ) |
References Config, T_Config::Coords_rel, Draw_line_permanent(), Draw_paintbrush(), Hide_line_preview(), Menu_is_visible, Operation_pop(), Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview_auto(), and Print_in_menu().
Referenced by Init_operations().
void K_line_12_7 | ( | void | ) |
References Config, T_Config::Coords_rel, Display_cursor(), End_of_modification(), Hide_cursor, Hide_line_preview(), Menu_is_visible, Mouse_K, Operation_pop(), Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, Pixel_figure_preview_auto(), Print_coordinates(), Print_in_menu(), and Wait_end_of_click().
Referenced by Init_operations().
void Rectangle_12_0 | ( | void | ) |
References Back_color, Config, T_Config::Coords_rel, Display_cursor(), Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_X, Paintbrush_Y, Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Rectangle_12_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Menu_is_visible, Num2str, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Empty_rectangle_0_5 | ( | void | ) |
References Backup(), Config, T_Config::Coords_rel, Draw_empty_rectangle(), End_of_modification(), Hide_cursor, Menu_is_visible, Operation_pop(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Filled_rectangle_0_5 | ( | void | ) |
References Backup(), Config, T_Config::Coords_rel, Draw_filled_rectangle(), End_of_modification(), Hide_cursor, Menu_is_visible, Operation_pop(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Circle_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Circle_12_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_TARGET, Display_cursor(), Distance(), Draw_empty_circle_preview(), Hide_cursor, Hide_empty_circle_preview(), Menu_is_visible, Num2str, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Empty_circle_0_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_XOR_TARGET, Draw_empty_circle_permanent(), End_of_modification(), Hide_empty_circle_preview(), Menu_is_visible, Operation_pop(), Paintbrush_shape, Paintbrush_shape_before_operation, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Filled_circle_0_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_XOR_TARGET, Draw_filled_circle(), End_of_modification(), Hide_empty_circle_preview(), Menu_is_visible, Operation_pop(), Paintbrush_shape, Paintbrush_shape_before_operation, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Ellipse_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Ellipse_12_5 | ( | void | ) |
References Cursor_shape, CURSOR_SHAPE_TARGET, Display_coords_rel_or_abs(), Display_cursor(), Draw_empty_ellipse_preview(), Draw_empty_inscribed_ellipse_preview(), Hide_cursor, Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), MASK_CENTER_CORNERS, MODE_CENTER, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Selected_circle_ellipse_mode.
Referenced by Init_operations().
void Empty_ellipse_0_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_XOR_TARGET, Draw_empty_ellipse_permanent(), Draw_empty_inscribed_ellipse_permanent(), End_of_modification(), Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), MASK_CENTER_CORNERS, Menu_is_visible, MODE_CENTER, Operation_pop(), Paintbrush_shape, Paintbrush_shape_before_operation, Print_coordinates(), Print_in_menu(), and Selected_circle_ellipse_mode.
Referenced by Init_operations().
void Filled_ellipse_0_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_XOR_TARGET, Draw_filled_ellipse(), Draw_filled_inscribed_ellipse(), End_of_modification(), Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), MASK_CENTER_CORNERS, Menu_is_visible, MODE_CENTER, Operation_pop(), Paintbrush_shape, Paintbrush_shape_before_operation, Print_coordinates(), Print_in_menu(), and Selected_circle_ellipse_mode.
Referenced by Init_operations().
void Fill_1_0 | ( | void | ) |
References Display_cursor(), End_of_modification(), Fill_general(), Fore_color, Hide_cursor, Shade_table, Shade_table_left, and Wait_end_of_click().
Referenced by Init_operations().
void Fill_2_0 | ( | void | ) |
References Back_color, Display_cursor(), End_of_modification(), Fill_general(), Hide_cursor, Rightclick_colorpick(), Shade_table, Shade_table_right, and Wait_end_of_click().
Referenced by Init_operations().
void Replace_1_0 | ( | void | ) |
References Backup(), Display_all_screen(), Display_cursor(), End_of_modification(), Fore_color, Hide_cursor, Init_start_operation(), Replace(), and Wait_end_of_click().
Referenced by Init_operations().
void Replace_2_0 | ( | void | ) |
References Back_color, Backup(), Display_all_screen(), Display_cursor(), End_of_modification(), Hide_cursor, Init_start_operation(), Replace(), Rightclick_colorpick(), and Wait_end_of_click().
Referenced by Init_operations().
void Draw_curve_cross | ( | short | x_pos, |
short | y_pos | ||
) |
References Limit_left, Limit_top, Limit_visible_bottom, Limit_visible_right, Main, T_Document::offset_X, T_Document::offset_Y, Pixel_preview, Read_pixel, Update_part_of_screen(), and xor_lut.
Referenced by Curve_4_points_0_5(), Curve_4_points_1_9(), Curve_4_points_2_9(), Grad_circle_0_6(), Grad_circle_12_8(), Grad_ellipse_0_6(), and Grad_ellipse_12_8().
void Curve_34_points_1_0 | ( | void | ) |
References Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), Menu_is_visible, Operation_push(), Paintbrush_hidden, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Shade_table, Shade_table_left, and Update_part_of_screen().
Referenced by Init_operations().
void Curve_34_points_2_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Init_start_operation(), Menu_is_visible, Operation_push(), Paintbrush_hidden, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Curve_34_points_1_5 | ( | void | ) |
References Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview(), Fore_color, Hide_cursor, Hide_line_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void Curve_34_points_2_5 | ( | void | ) |
References Back_color, Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview(), Hide_cursor, Hide_line_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void Curve_4_points_0_5 | ( | void | ) |
void Curve_4_points_1_9 | ( | void | ) |
References Display_cursor(), Distance(), Draw_curve_cross(), Draw_curve_preview(), Hide_cursor, Hide_curve_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Curve_4_points_2_9 | ( | void | ) |
void Compute_3_point_curve | ( | short | x1, |
short | y1, | ||
short | x4, | ||
short | y4, | ||
short * | x2, | ||
short * | y2, | ||
short * | x3, | ||
short * | y3 | ||
) |
References Paintbrush_X, Paintbrush_Y, and Round().
Referenced by Curve_3_points_0_5(), Curve_drag(), and Curve_finalize().
void Curve_3_points_0_5 | ( | void | ) |
References Compute_3_point_curve(), Config, T_Config::Coords_rel, Display_cursor(), Draw_curve_preview(), Get_input(), Hide_cursor, Hide_line_preview(), Menu_is_visible, Mouse_K, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), Print_in_menu(), and T_Config::Stylus_mode.
Referenced by Init_operations().
void Curve_drag | ( | void | ) |
References Compute_3_point_curve(), Display_cursor(), Draw_curve_preview(), Hide_cursor, Hide_curve_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Curve_3_points_0_11(), and Curve_3_points_12_11().
void Curve_finalize | ( | void | ) |
References Compute_3_point_curve(), Display_cursor(), Draw_curve_permanent(), End_of_modification(), Hide_cursor, Hide_curve_preview(), Operation_pop(), Paintbrush_hidden, and Wait_end_of_click().
Referenced by Curve_3_points_0_11(), and Curve_3_points_12_11().
void Curve_3_points_0_11 | ( | void | ) |
References Config, Curve_drag(), Curve_finalize(), and T_Config::Stylus_mode.
Referenced by Init_operations().
void Curve_3_points_12_11 | ( | void | ) |
References Config, Curve_drag(), Curve_finalize(), and T_Config::Stylus_mode.
Referenced by Init_operations().
void Airbrush_1_0 | ( | void | ) |
References Airbrush(), Airbrush_delay, Airbrush_next_time, Backup(), GFX2_GetTicks(), Init_start_operation(), LEFT_SIDE, Operation_push(), Paintbrush_X, Paintbrush_Y, Shade_table, and Shade_table_left.
Referenced by Init_operations().
void Airbrush_2_0 | ( | void | ) |
References Airbrush(), Airbrush_delay, Airbrush_next_time, Backup(), GFX2_GetTicks(), Init_start_operation(), Operation_push(), Paintbrush_X, Paintbrush_Y, RIGHT_SIDE, Rightclick_colorpick(), Shade_table, and Shade_table_right.
Referenced by Init_operations().
void Airbrush_12_2 | ( | void | ) |
References Airbrush(), Airbrush_delay, Airbrush_next_time, Display_cursor(), GFX2_GetTicks(), Hide_cursor, Menu_is_visible, Mouse_K_unique, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Airbrush_0_2 | ( | void | ) |
References End_of_modification(), and Operation_stack_size.
Referenced by Init_operations().
void Polygon_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Polygon_12_9 | ( | void | ) |
References Config, T_Config::Coords_rel, Display_cursor(), Draw_line_permanent(), End_of_modification(), Hide_cursor, Hide_line_preview(), Menu_is_visible, Mouse_K, Operation_pop(), Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Pixel_figure_preview_auto(), Print_coordinates(), Print_in_menu(), and Wait_end_of_click().
Referenced by Init_operations().
void Polyfill_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Fore_color, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, T_Config::Nb_max_vertices_per_polygon, Operation_push(), Paintbrush_hidden, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview_xor(), Polyfill_number_of_points, Polyfill_table_of_points, Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Polyfill_0_8 | ( | void | ) |
void Polyfill_12_8 | ( | void | ) |
References Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview_xor(), Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Polyfill_12_9 | ( | void | ) |
References Config, T_Config::Coords_rel, Display_all_screen(), Display_cursor(), Draw_line_preview_xor(), End_of_modification(), Hide_cursor, Menu_is_visible, Mouse_K, NULL, Operation_pop(), Operation_push(), Paintbrush_hidden, Polyfill(), Polyfill_number_of_points, Polyfill_table_of_points, Print_coordinates(), Print_in_menu(), and Wait_end_of_click().
Referenced by Init_operations().
void Polyform_12_0 | ( | void | ) |
References Back_color, Backup(), Draw_paintbrush(), Fore_color, Init_start_operation(), LEFT_SIDE, Mouse_K, Operation_push(), Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Polyform_12_8 | ( | void | ) |
References Display_cursor(), Draw_line_permanent(), End_of_modification(), Hide_cursor, Hide_line_preview(), Mouse_K, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Pixel_figure_preview_auto(), Print_coordinates(), and Wait_end_of_click().
Referenced by Init_operations().
void Polyform_0_8 | ( | void | ) |
References Display_cursor(), Draw_line_preview(), Hide_cursor, Hide_line_preview(), Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Filled_polyform_12_0 | ( | void | ) |
References Back_color, Backup(), Config, Current_operation, Fore_color, Init_start_operation(), LEFT_SIDE, Mouse_K, T_Config::Nb_max_vertices_per_polygon, OPERATION_FILLED_CONTOUR, OPERATION_FILLED_POLYFORM, Operation_push(), Paintbrush_hidden, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview_xor(), Polyfill_number_of_points, Polyfill_table_of_points, RIGHT_SIDE, Rightclick_colorpick(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Filled_polyform_12_8 | ( | void | ) |
References Config, Current_operation, Display_all_screen(), Display_cursor(), Draw_line_preview_xor(), Draw_line_preview_xorback(), End_of_modification(), Hide_cursor, Mouse_K, T_Config::Nb_max_vertices_per_polygon, NULL, OPERATION_FILLED_CONTOUR, Operation_pop(), Operation_push(), Paintbrush_hidden, Paintbrush_X, Paintbrush_Y, Polyfill(), Polyfill_number_of_points, Polyfill_table_of_points, Print_coordinates(), and Wait_end_of_click().
Referenced by Init_operations().
void Filled_polyform_0_8 | ( | void | ) |
References Display_cursor(), Draw_line_preview_xor(), Hide_cursor, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Filled_contour_0_8 | ( | void | ) |
References Display_all_screen(), Display_cursor(), End_of_modification(), Hide_cursor, NULL, Operation_pop(), Paintbrush_hidden, Polyfill(), Polyfill_number_of_points, Polyfill_table_of_points, and Print_coordinates().
Referenced by Init_operations().
void Scroll_12_0 | ( | void | ) |
References Backup(), Backup_layers(), T_Document::backups, Config, T_Config::Coords_rel, Cursor_hidden, Cursor_hidden_before_scroll, T_Bitmap::Image, T_Document::image_height, T_Page::Image_mode, IMAGE_MODE_ANIMATION, T_Document::image_width, Init_start_operation(), LAYER_ALL, LEFT_SIDE, Main, Main_visible_image_backup, Menu_is_visible, Mouse_K, Operation_push(), T_List_of_pages::Pages, Paintbrush_X, Paintbrush_Y, Print_in_menu(), Update_screen_targets(), and T_Document::visible_image.
Referenced by Init_operations().
void Scroll_12_5 | ( | void | ) |
References T_Document::backups, T_Document::current_layer, Display_all_screen(), Display_coords_rel_or_abs(), T_Page::Image, T_Document::image_height, T_Document::image_width, Main, Main_screen, T_Page::Next, Operation_pop(), Operation_push(), T_List_of_pages::Pages, Paintbrush_X, Paintbrush_Y, T_Image::Pixels, Redraw_current_layer(), RIGHT_SIDE, Screen_backup, and Scroll_picture().
Referenced by Init_operations().
void Scroll_0_5 | ( | void | ) |
References T_Document::backups, Config, T_Config::Coords_rel, Cursor_hidden, Cursor_hidden_before_scroll, End_of_modification(), T_Page::Image, T_Document::image_height, T_Document::image_width, Main, Menu_is_visible, T_Page::Nb_layers, T_Page::Next, Operation_pop(), T_List_of_pages::Pages, T_Image::Pixels, Print_coordinates(), Print_in_menu(), RIGHT_SIDE, Scroll_picture(), T_Document::tilemap_mode, Tilemap_update(), and Update_depth_buffer().
Referenced by Init_operations().
void Grad_circle_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Current_gradient, Fore_color, Init_start_operation(), LEFT_SIDE, Load_gradient_data(), Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Grad_circle_12_6 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_TARGET, Display_cursor(), Distance(), Draw_empty_circle_preview(), Hide_cursor, Hide_empty_circle_preview(), Menu_is_visible, Num2str, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Grad_circle_0_6 | ( | void | ) |
References Back_color, Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_TARGET, CURSOR_SHAPE_XOR_TARGET, Display_coords_rel_or_abs(), Draw_curve_cross(), Draw_filled_circle(), End_of_modification(), Hide_empty_circle_preview(), LEFT_SIDE, Menu_is_visible, Operation_pop(), Operation_push(), Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Grad_circle_12_8 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_TARGET, CURSOR_SHAPE_XOR_TARGET, Display_cursor(), Draw_curve_cross(), Draw_grad_circle(), End_of_modification(), Hide_cursor, Hide_empty_circle_preview(), Menu_is_visible, Mouse_K, Operation_pop(), Operation_stack_size, Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Print_coordinates(), Print_in_menu(), and Wait_end_of_click().
Referenced by Init_operations().
void Grad_circle_or_ellipse_0_8 | ( | void | ) |
References Display_coords_rel_or_abs(), Operation_pop(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Grad_ellipse_12_0 | ( | void | ) |
References Back_color, Backup(), Config, T_Config::Coords_rel, Current_gradient, Fore_color, Init_start_operation(), LEFT_SIDE, Load_gradient_data(), Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Print_in_menu(), Shade_table, Shade_table_left, Shade_table_right, and Update_part_of_screen().
Referenced by Init_operations().
void Grad_ellipse_12_6 | ( | void | ) |
References Cursor_shape, CURSOR_SHAPE_TARGET, Display_coords_rel_or_abs(), Display_cursor(), Draw_empty_ellipse_preview(), Draw_empty_inscribed_ellipse_preview(), Hide_cursor, Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), MASK_CENTER_CORNERS, MODE_CENTER, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Selected_circle_ellipse_mode.
Referenced by Init_operations().
void Grad_ellipse_0_6 | ( | void | ) |
References Back_color, Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_TARGET, CURSOR_SHAPE_XOR_TARGET, Display_coords_rel_or_abs(), Draw_curve_cross(), Draw_filled_ellipse(), Draw_filled_inscribed_ellipse(), End_of_modification(), Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), LEFT_SIDE, MASK_CENTER_CORNERS, Menu_is_visible, MODE_CENTER, Operation_pop(), Operation_push(), Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Print_coordinates(), Print_in_menu(), and Selected_circle_ellipse_mode.
Referenced by Init_operations().
void Grad_ellipse_12_8 | ( | void | ) |
References Config, T_Config::Coords_rel, Cursor_shape, CURSOR_SHAPE_XOR_TARGET, Display_cursor(), Draw_curve_cross(), Draw_grad_ellipse(), Draw_grad_inscribed_ellipse(), End_of_modification(), Hide_cursor, Hide_empty_ellipse_preview(), Hide_empty_inscribed_ellipse_preview(), MASK_CENTER_CORNERS, Menu_is_visible, MODE_CENTER, Mouse_K, Operation_pop(), Operation_stack_size, Paintbrush_hidden, Paintbrush_hidden_before_scroll, Paintbrush_X, Paintbrush_Y, Print_coordinates(), Print_in_menu(), Selected_circle_ellipse_mode, and Wait_end_of_click().
Referenced by Init_operations().
void Grad_rectangle_12_0 | ( | void | ) |
References Backup(), Config, T_Config::Coords_rel, Current_gradient, Display_cursor(), Init_start_operation(), LEFT_SIDE, Load_gradient_data(), Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_X, Paintbrush_Y, Print_in_menu(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Grad_rectangle_12_5 | ( | void | ) |
References Config, T_Config::Coords_rel, Menu_is_visible, Num2str, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), and Print_in_menu().
Referenced by Init_operations().
void Draw_xor_rect | ( | short | start_x, |
short | start_y, | ||
short | end_x, | ||
short | end_y | ||
) |
References Horizontal_XOR_line, Horizontal_XOR_line_zoom(), T_Document::image_height, T_Document::image_width, Limit_bottom_zoom, Limit_left_zoom, Limit_right_zoom, Limit_top_zoom, T_Document::magnifier_mode, Main, Menu_Y, Min(), T_Document::offset_X, T_Document::offset_Y, Screen_width, T_Document::separator_position, Update_rect(), Vertical_XOR_line, and Vertical_XOR_line_zoom().
Referenced by Grad_rectangle_0_5(), Grad_rectangle_0_9(), and Grad_rectangle_12_7().
void Grad_rectangle_0_5 | ( | void | ) |
References Draw_xor_rect(), Hide_cursor, T_Document::image_height, T_Document::image_width, Main, Menu_Y, T_Document::offset_Y, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and SWAP_SHORTS.
Referenced by Init_operations().
void Grad_rectangle_0_7 | ( | void | ) |
References Operation_push(), Operation_stack_size, Paintbrush_X, Paintbrush_Y, and Print_coordinates().
Referenced by Init_operations().
void Grad_rectangle_12_7 | ( | void | ) |
References Draw_xor_rect(), Mouse_K, Operation_pop(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Grad_rectangle_12_9 | ( | void | ) |
References Clamp_coordinates_regular_angle(), Display_coords_rel_or_abs(), Draw_line_preview_xor(), Get_Key_modifiers(), GFX2_MOD_SHIFT, Operation_pop(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Grad_rectangle_0_9 | ( | void | ) |
References Config, T_Config::Coords_rel, Display_cursor(), Draw_grad_rectangle(), Draw_xor_rect(), End_of_modification(), Hide_cursor, Hide_line_preview(), Menu_is_visible, Operation_pop(), Operation_stack_size, Print_coordinates(), Print_in_menu(), and Wait_end_of_click().
Referenced by Init_operations().
void Centered_lines_12_0 | ( | void | ) |
References Backup(), Config, T_Config::Coords_rel, Init_start_operation(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_push(), Paintbrush_X, Paintbrush_Y, Print_in_menu(), Rightclick_colorpick(), Shade_table, Shade_table_left, and Shade_table_right.
Referenced by Init_operations().
void Centered_lines_12_3 | ( | void | ) |
References Operation_pop(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Centered_lines_0_3 | ( | void | ) |
References Back_color, Fore_color, LEFT_SIDE, Operation_pop(), Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void Centered_lines_12_7 | ( | void | ) |
References Back_color, Config, T_Config::Coords_rel, Display_cursor(), Draw_line_permanent(), Draw_line_preview(), Draw_paintbrush(), End_of_modification(), Fore_color, Hide_cursor, Hide_line_preview(), LEFT_SIDE, Menu_is_visible, Mouse_K, Operation_pop(), Operation_push(), Paintbrush_shape, Paintbrush_shape_before_operation, PAINTBRUSH_SHAPE_POINT, Paintbrush_X, Paintbrush_Y, Pixel_figure_preview(), Pixel_figure_preview_auto(), Print_coordinates(), Print_in_menu(), Smear_start, and Wait_end_of_click().
Referenced by Init_operations().
void Centered_lines_0_7 | ( | void | ) |
References Back_color, Display_coords_rel_or_abs(), Display_cursor(), Draw_line_preview(), Fore_color, Hide_cursor, Hide_line_preview(), LEFT_SIDE, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, and Pixel_figure_preview().
Referenced by Init_operations().
void Pan_view_0_0 | ( | void | ) |
References Display_cursor(), Hide_cursor, Operation_before_pan, Pan_shortcut_pressed, Print_coordinates(), and Start_operation_stack().
Referenced by Init_operations().
void Pan_view_12_0 | ( | void | ) |
References Init_start_operation(), Operation_push(), Paintbrush_X, and Paintbrush_Y.
Referenced by Init_operations().
void Pan_view_12_2 | ( | void | ) |
References T_Document::magnifier_mode, Main, Operation_pop(), Operation_push(), Paintbrush_X, Paintbrush_Y, Print_coordinates(), Scroll_magnifier(), and Scroll_screen().
Referenced by Init_operations().
void Pan_view_0_2 | ( | void | ) |
References Display_cursor(), Hide_cursor, Operation_before_pan, Operation_pop(), Pan_shortcut_pressed, and Start_operation_stack().
Referenced by Init_operations().
dword Airbrush_next_time |
Time (in SDL ticks) when the next airbrush drawing should be done.
Also used for discontinuous freehand drawing.
Referenced by Airbrush_12_2(), Airbrush_1_0(), Airbrush_2_0(), Freehand_mode2_1_0(), Freehand_mode2_1_2(), Freehand_mode2_2_0(), and Freehand_mode2_2_2().
|
static |
Referenced by Pan_view_0_0(), Pan_view_0_2(), and Start_operation_stack().
byte Paintbrush_shape_before_operation |
byte Paintbrush_hidden_before_scroll |
Referenced by Grad_circle_0_6(), Grad_circle_12_0(), Grad_circle_12_8(), Grad_ellipse_0_6(), Grad_ellipse_12_0(), and Grad_ellipse_12_8().
byte Cursor_hidden_before_curve |
Referenced by Curve_4_points_0_5(), and Curve_4_points_2_9().
byte Cursor_hidden_before_scroll |
Referenced by Scroll_0_5(), and Scroll_12_0().