GrafX2 2.9.3227
The ultimate 256-color painting program
|
Renderer for double pixels (2x2). More...
#include "struct.h"
Functions | |
void | Pixel_double (word x, word y, byte color) |
byte | Read_pixel_double (word x, word y) |
void | Block_double (word start_x, word start_y, word width, word height, byte color) |
void | Pixel_preview_normal_double (word x, word y, byte color) |
void | Pixel_preview_magnifier_double (word x, word y, byte color) |
void | Horizontal_XOR_line_double (word x_pos, word y_pos, word width) |
void | Vertical_XOR_line_double (word x_pos, word y_pos, word height) |
void | Display_brush_color_double (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_double (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_double (word x_pos, word y_pos, word x_offset, word y_offset, word width, word height, byte transp_color, word image_width) |
void | Remap_screen_double (word x_pos, word y_pos, word width, word height, byte *conversion_table) |
void | Display_part_of_screen_double (word width, word height, word image_width) |
void | Display_line_on_screen_double (word x_pos, word y_pos, word width, byte *line) |
void | Read_line_screen_double (word x_pos, word y_pos, word width, byte *line) |
void | Display_part_of_screen_scaled_double (word width, word height, word image_width, byte *buffer) |
void | Display_brush_color_zoom_double (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_double (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_double (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) |
void | Display_brush_double (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 | Display_line_on_screen_fast_double (word x_pos, word y_pos, word width, byte *line) |
Renderer for double pixels (2x2).
References Set_Screen_pixel(), ZOOMX, and ZOOMY.
Referenced by Pixel_preview_magnifier_double(), and Pixel_preview_normal_double().
References Screen_FillRect(), ZOOMX, and ZOOMY.
Referenced by Pixel_preview_magnifier_double().
References Main, T_Document::offset_X, T_Document::offset_Y, and Pixel_double().
References Block_double(), 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_double(), 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_double | ( | 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_double | ( | 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_double | ( | 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 Remap_screen_double | ( | 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(), Main, Main_screen, T_Document::offset_X, T_Document::offset_Y, ZOOMX, and ZOOMY.
References Set_Screen_pixel(), ZOOMX, and ZOOMY.
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
void Display_brush_double | ( | 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.
References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.
Referenced by Clear_brush_scaled_double(), and Display_part_of_screen_scaled_double().