GrafX2 2.9.3227
The ultimate 256-color painting program
|
#include <string.h>
#include <stdlib.h>
#include "global.h"
#include "screen.h"
#include "misc.h"
#include "graph.h"
#include "pxtall2.h"
Macros | |
#define | ZOOMX 2 |
#define | ZOOMY 4 |
Functions | |
void | Pixel_tall2 (word x, word y, byte color) |
byte | Read_pixel_tall2 (word x, word y) |
void | Block_tall2 (word start_x, word start_y, word width, word height, byte color) |
void | Display_part_of_screen_tall2 (word width, word height, word image_width) |
void | Pixel_preview_normal_tall2 (word x, word y, byte color) |
void | Pixel_preview_magnifier_tall2 (word x, word y, byte color) |
void | Horizontal_XOR_line_tall2 (word x_pos, word y_pos, word width) |
void | Vertical_XOR_line_tall2 (word x_pos, word y_pos, word height) |
void | Display_brush_color_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word height, byte transp_color, word brush_width) |
void | Display_brush_mono_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word height, byte transp_color, byte color, word brush_width) |
void | Clear_brush_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word height, byte transp_color, word image_width) |
void | Display_brush_tall2 (byte *brush, word x_pos, word y_pos, word x_offset, word y_offset, word width, word height, byte transp_color, word brush_width) |
void | Remap_screen_tall2 (word x_pos, word y_pos, word width, word height, byte *conversion_table) |
void | Display_line_on_screen_fast_tall2 (word x_pos, word y_pos, word width, byte *line) |
void | Display_line_on_screen_tall2 (word x_pos, word y_pos, word width, byte *line) |
void | Display_transparent_mono_line_on_screen_tall2 (word x_pos, word y_pos, word width, byte *line, byte transp_color, byte color) |
void | Read_line_screen_tall2 (word x_pos, word y_pos, word width, byte *line) |
void | Display_part_of_screen_scaled_tall2 (word width, word height, word image_width, byte *buffer) |
void | Display_brush_color_zoom_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word end_y_pos, byte transp_color, word brush_width, byte *buffer) |
void | Display_brush_mono_zoom_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word end_y_pos, byte transp_color, byte color, word brush_width, byte *buffer) |
void | Clear_brush_scaled_tall2 (word x_pos, word y_pos, word x_offset, word y_offset, word width, word end_y_pos, byte transp_color, word image_width, byte *buffer) |
#define ZOOMX 2 |
#define ZOOMY 4 |
References Set_Screen_pixel(), ZOOMX, and ZOOMY.
Referenced by Pixel_preview_magnifier_tall2(), and Pixel_preview_normal_tall2().
References Screen_FillRect(), ZOOMX, and ZOOMY.
Referenced by Pixel_preview_magnifier_tall2().
References Get_Screen_pixel_ptr(), Main, Main_screen, T_Document::offset_X, T_Document::offset_Y, ZOOMX, and ZOOMY.
References Main, T_Document::offset_X, T_Document::offset_Y, and Pixel_tall2().
References Block_tall2(), Limit_left_zoom, Limit_top_zoom, Limit_visible_bottom_zoom, Limit_visible_right_zoom, T_Document::magnifier_factor, T_Document::magnifier_offset_X, T_Document::magnifier_offset_Y, Main, Menu_Y, T_Document::offset_X, T_Document::offset_Y, Pixel_tall2(), and T_Document::X_zoom.
References Get_Screen_pixel(), Set_Screen_pixel(), xor_lut, ZOOMX, and ZOOMY.
References Get_Screen_pixel(), Set_Screen_pixel(), xor_lut, ZOOMX, and ZOOMY.
void Display_brush_color_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | x_offset, | ||
word | y_offset, | ||
word | width, | ||
word | height, | ||
byte | transp_color, | ||
word | brush_width | ||
) |
References Brush, Get_Screen_pixel_ptr(), Update_rect(), ZOOMX, and ZOOMY.
void Display_brush_mono_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | x_offset, | ||
word | y_offset, | ||
word | width, | ||
word | height, | ||
byte | transp_color, | ||
byte | color, | ||
word | brush_width | ||
) |
References Brush, Get_Screen_pixel_ptr(), Update_rect(), ZOOMX, and ZOOMY.
void Clear_brush_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | x_offset, | ||
word | y_offset, | ||
word | width, | ||
word | height, | ||
byte | transp_color, | ||
word | image_width | ||
) |
References Get_Screen_pixel_ptr(), Main, Main_screen, T_Document::offset_X, T_Document::offset_Y, Update_rect(), ZOOMX, and ZOOMY.
void Display_brush_tall2 | ( | byte * | brush, |
word | x_pos, | ||
word | y_pos, | ||
word | x_offset, | ||
word | y_offset, | ||
word | width, | ||
word | height, | ||
byte | transp_color, | ||
word | brush_width | ||
) |
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
void Remap_screen_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | width, | ||
word | height, | ||
byte * | conversion_table | ||
) |
References Get_Screen_pixel_ptr(), Update_rect(), ZOOMX, and ZOOMY.
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
Referenced by Clear_brush_scaled_tall2(), and Display_part_of_screen_scaled_tall2().
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
void Display_transparent_mono_line_on_screen_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | width, | ||
byte * | line, | ||
byte | transp_color, | ||
byte | color | ||
) |
References Get_Screen_pixel_ptr(), and ZOOMX.
Referenced by Display_brush_mono_zoom_tall2().
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
void Display_brush_color_zoom_tall2 | ( | word | x_pos, |
word | y_pos, | ||
word | x_offset, | ||
word | y_offset, | ||
word | width, | ||
word | end_y_pos, | ||
byte | transp_color, | ||
word | brush_width, | ||
byte * | buffer | ||
) |
References Brush, Get_Screen_pixel_ptr(), T_Document::magnifier_factor, Main, Zoom_a_line(), ZOOMX, and ZOOMY.