GrafX2 2.9.3227
The ultimate 256-color painting program
pxquad.h File Reference

Renderer for quadruple pixels (4x4). More...

#include "struct.h"
+ Include dependency graph for pxquad.h:
+ This graph shows which files directly or indirectly include this file:

Functions

void Pixel_quad (word x, word y, byte color)
 
byte Read_pixel_quad (word x, word y)
 
void Block_quad (word start_x, word start_y, word width, word height, byte color)
 
void Pixel_preview_normal_quad (word x, word y, byte color)
 
void Pixel_preview_magnifier_quad (word x, word y, byte color)
 
void Horizontal_XOR_line_quad (word x_pos, word y_pos, word width)
 
void Vertical_XOR_line_quad (word x_pos, word y_pos, word height)
 
void Display_brush_color_quad (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_quad (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_quad (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_quad (word x_pos, word y_pos, word width, word height, byte *conversion_table)
 
void Display_part_of_screen_quad (word width, word height, word image_width)
 
void Display_line_on_screen_quad (word x_pos, word y_pos, word width, byte *line)
 
void Read_line_screen_quad (word x_pos, word y_pos, word width, byte *line)
 
void Display_part_of_screen_scaled_quad (word width, word height, word image_width, byte *buffer)
 
void Display_brush_color_zoom_quad (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_quad (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_quad (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_quad (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_quad (word x_pos, word y_pos, word width, byte *line)
 

Detailed Description

Renderer for quadruple pixels (4x4).

Function Documentation

◆ Pixel_quad()

void Pixel_quad ( word  x,
word  y,
byte  color 
)

◆ Read_pixel_quad()

byte Read_pixel_quad ( word  x,
word  y 
)

References Get_Screen_pixel(), ZOOMX, and ZOOMY.

◆ Block_quad()

void Block_quad ( word  start_x,
word  start_y,
word  width,
word  height,
byte  color 
)

References Screen_FillRect(), ZOOMX, and ZOOMY.

Referenced by Pixel_preview_magnifier_quad().

◆ Pixel_preview_normal_quad()

void Pixel_preview_normal_quad ( word  x,
word  y,
byte  color 
)

◆ Pixel_preview_magnifier_quad()

◆ Horizontal_XOR_line_quad()

void Horizontal_XOR_line_quad ( word  x_pos,
word  y_pos,
word  width 
)

◆ Vertical_XOR_line_quad()

void Vertical_XOR_line_quad ( word  x_pos,
word  y_pos,
word  height 
)

◆ Display_brush_color_quad()

void Display_brush_color_quad ( word  x_pos,
word  y_pos,
word  x_offset,
word  y_offset,
word  width,
word  height,
byte  transp_color,
word  brush_width 
)

◆ Display_brush_mono_quad()

void Display_brush_mono_quad ( word  x_pos,
word  y_pos,
word  x_offset,
word  y_offset,
word  width,
word  height,
byte  transp_color,
byte  color,
word  brush_width 
)

◆ Clear_brush_quad()

void Clear_brush_quad ( word  x_pos,
word  y_pos,
word  x_offset,
word  y_offset,
word  width,
word  height,
byte  transp_color,
word  image_width 
)

◆ Remap_screen_quad()

void Remap_screen_quad ( word  x_pos,
word  y_pos,
word  width,
word  height,
byte conversion_table 
)

◆ Display_part_of_screen_quad()

void Display_part_of_screen_quad ( word  width,
word  height,
word  image_width 
)

◆ Display_line_on_screen_quad()

void Display_line_on_screen_quad ( word  x_pos,
word  y_pos,
word  width,
byte line 
)

References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.

◆ Read_line_screen_quad()

void Read_line_screen_quad ( word  x_pos,
word  y_pos,
word  width,
byte line 
)

References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.

◆ Display_part_of_screen_scaled_quad()

void Display_part_of_screen_scaled_quad ( word  width,
word  height,
word  image_width,
byte buffer 
)

◆ Display_brush_color_zoom_quad()

void Display_brush_color_zoom_quad ( 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 
)

◆ Display_brush_mono_zoom_quad()

void Display_brush_mono_zoom_quad ( 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 
)

◆ Clear_brush_scaled_quad()

void Clear_brush_scaled_quad ( 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 
)

◆ Display_brush_quad()

void Display_brush_quad ( 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.

◆ Display_line_on_screen_fast_quad()

void Display_line_on_screen_fast_quad ( word  x_pos,
word  y_pos,
word  width,
byte line 
)