GrafX2 2.9.3227
The ultimate 256-color painting program
pxwide2.c File Reference
#include <string.h>
#include <stdlib.h>
#include "global.h"
#include "screen.h"
#include "misc.h"
#include "graph.h"
#include "pxwide2.h"
+ Include dependency graph for pxwide2.c:

Macros

#define ZOOMX   4
 
#define ZOOMY   2
 

Functions

void Pixel_wide2 (word x, word y, byte color)
 
byte Read_pixel_wide2 (word x, word y)
 
void Block_wide2 (word start_x, word start_y, word width, word height, byte color)
 
void Display_part_of_screen_wide2 (word width, word height, word image_width)
 
void Pixel_preview_normal_wide2 (word x, word y, byte color)
 
void Pixel_preview_magnifier_wide2 (word x, word y, byte color)
 
void Horizontal_XOR_line_wide2 (word x_pos, word y_pos, word width)
 
void Vertical_XOR_line_wide2 (word x_pos, word y_pos, word height)
 
void Display_brush_color_wide2 (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_wide2 (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_wide2 (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_wide2 (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_wide2 (word x_pos, word y_pos, word width, word height, byte *conversion_table)
 
void Display_line_on_screen_fast_wide2 (word x_pos, word y_pos, word width, byte *line)
 
void Display_line_on_screen_wide2 (word x_pos, word y_pos, word width, byte *line)
 
void Display_transparent_mono_line_on_screen_wide2 (word x_pos, word y_pos, word width, byte *line, byte transp_color, byte color)
 
void Read_line_screen_wide2 (word x_pos, word y_pos, word width, byte *line)
 
void Display_part_of_screen_scaled_wide2 (word width, word height, word image_width, byte *buffer)
 
void Display_brush_color_zoom_wide2 (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_wide2 (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_wide2 (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)
 

Macro Definition Documentation

◆ ZOOMX

#define ZOOMX   4

◆ ZOOMY

#define ZOOMY   2

Function Documentation

◆ Pixel_wide2()

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

◆ Read_pixel_wide2()

byte Read_pixel_wide2 ( word  x,
word  y 
)

References Get_Screen_pixel(), ZOOMX, and ZOOMY.

◆ Block_wide2()

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

◆ Display_part_of_screen_wide2()

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

◆ Pixel_preview_normal_wide2()

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

◆ Pixel_preview_magnifier_wide2()

◆ Horizontal_XOR_line_wide2()

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

◆ Vertical_XOR_line_wide2()

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

◆ Display_brush_color_wide2()

void Display_brush_color_wide2 ( 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_wide2()

void Display_brush_mono_wide2 ( 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_wide2()

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

◆ Display_brush_wide2()

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

◆ Remap_screen_wide2()

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

◆ Display_line_on_screen_fast_wide2()

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

◆ Display_line_on_screen_wide2()

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

References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.

◆ Display_transparent_mono_line_on_screen_wide2()

void Display_transparent_mono_line_on_screen_wide2 ( word  x_pos,
word  y_pos,
word  width,
byte line,
byte  transp_color,
byte  color 
)

◆ Read_line_screen_wide2()

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

References Get_Screen_pixel_ptr(), ZOOMX, and ZOOMY.

◆ Display_part_of_screen_scaled_wide2()

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

◆ Display_brush_color_zoom_wide2()

void Display_brush_color_zoom_wide2 ( 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_wide2()

void Display_brush_mono_zoom_wide2 ( 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_wide2()

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