# pxdouble.c File Reference

`#include <string.h>`
`#include <stdlib.h>`
`#include <SDL.h>`
`#include "global.h"`
`#include "sdlscreen.h"`
`#include "divers.h"`
`#include "pxwide.h"`

## Defines
#define | ZOOMX 2
#define | ZOOMY 2
## Functions
void | Pixel_Double (word X, word Y, byte Couleur)
byte | Lit_Pixel_Double (word X, word Y)
void | Block_Double (word Debut_X, word Debut_Y, word Largeur, word Hauteur, byte Couleur)
void | Afficher_partie_de_l_ecran_Double (word Largeur, word Hauteur, word Largeur_image)
void | Pixel_Preview_Normal_Double (word X, word Y, byte Couleur)
void | Pixel_Preview_Loupe_Double (word X, word Y, byte Couleur)
void | Ligne_horizontale_XOR_Double (word Pos_X, word Pos_Y, word Largeur)
void | Ligne_verticale_XOR_Double (word Pos_X, word Pos_Y, word Hauteur)
void | Display_brush_Color_Double (word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Hauteur, byte Couleur_de_transparence, word Largeur_brosse)
void | Display_brush_Mono_Double (word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Hauteur, byte Couleur_de_transparence, byte Couleur, word Largeur_brosse)
void | Clear_brush_Double (word Pos_X, word Pos_Y, __attribute__((unused)) word Decalage_X, __attribute__((unused)) word Decalage_Y, word Largeur, word Hauteur, __attribute__((unused)) byte Couleur_de_transparence, word Largeur_image)
void | Affiche_brosse_Double (byte *B, word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Hauteur, byte Couleur_de_transparence, word Largeur_brosse)
void | Remap_screen_Double (word Pos_X, word Pos_Y, word Largeur, word Hauteur, byte *Table_de_conversion)
void | Afficher_une_ligne_ecran_fast_Double (word Pos_X, word Pos_Y, word Largeur, byte *Ligne)
void | Afficher_une_ligne_ecran_Double (word Pos_X, word Pos_Y, word Largeur, byte *Ligne)
void | Afficher_une_ligne_transparente_mono_a_l_ecran_Double (word Pos_X, word Pos_Y, word Largeur, byte *Ligne, byte Couleur_transparence, byte Couleur)
void | Lire_une_ligne_ecran_Double (word Pos_X, word Pos_Y, word Largeur, byte *Ligne)
void | Afficher_partie_de_l_ecran_zoomee_Double (word Largeur, word Hauteur, word Largeur_image, byte *Buffer)
void | Display_brush_Color_zoom_Double (word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Pos_Y_Fin, byte Couleur_de_transparence, word Largeur_brosse, byte *Buffer)
void | Display_brush_Mono_zoom_Double (word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Pos_Y_Fin, byte Couleur_de_transparence, byte Couleur, word Largeur_brosse, byte *Buffer)
void | Clear_brush_zoom_Double (word Pos_X, word Pos_Y, word Decalage_X, word Decalage_Y, word Largeur, word Pos_Y_Fin, __attribute__((unused)) byte Couleur_de_transparence, word Largeur_image, byte *Buffer)

## Define Documentation

#define ZOOMX 2

Referenced by Afficher_partie_de_l_ecran_Double(), Afficher_partie_de_l_ecran_zoomee_Double(), Afficher_une_ligne_transparente_mono_a_l_ecran_Double(), Display_brush_Color_zoom_Double(), and Display_brush_Mono_zoom_Double().

#define ZOOMY 2

Referenced by Display_brush_Color_zoom_Double(), and Display_brush_Mono_zoom_Double().

## Function Documentation

void Pixel_Double | ( | word | X,
|  | word | Y,
|  | byte | Couleur |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video(), Pixel_Preview_Loupe_Double(), and Pixel_Preview_Normal_Double().

byte Lit_Pixel_Double | ( | word | X,
|  | word | Y |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Block_Double | ( | word | Debut_X,
|  | word | Debut_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | byte | Couleur |
| ) |  |  |

References Ecran_SDL.

Referenced by Initialiser_mode_video(), and Pixel_Preview_Loupe_Double().

void Afficher_partie_de_l_ecran_Double | ( | word | Largeur,
|  | word | Hauteur,
|  | word | Largeur_image |
| ) |  |  |

References Ecran, Largeur_ecran, Principal_Decalage_X, Principal_Decalage_Y, Principal_Ecran, and ZOOMX.

Referenced by Initialiser_mode_video().

void Pixel_Preview_Normal_Double | ( | word | X,
|  | word | Y,
|  | byte | Couleur |
| ) |  |  |

References Pixel_Double(), Principal_Decalage_X, and Principal_Decalage_Y.

Referenced by Initialiser_mode_video().

void Pixel_Preview_Loupe_Double | ( | word | X,
|  | word | Y,
|  | byte | Couleur |
| ) |  |  |

References Block_Double(), Limite_Gauche_Zoom, Limite_Haut_Zoom, Limite_visible_Bas_Zoom, Limite_visible_Droite_Zoom, Loupe_Decalage_X, Loupe_Decalage_Y, Loupe_Facteur, Menu_Ordonnee, Pixel_Double(), Principal_Decalage_X, Principal_Decalage_Y, Principal_X_Zoom, and Table_mul_facteur_zoom.

Referenced by Initialiser_mode_video().

void Ligne_horizontale_XOR_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Ligne_verticale_XOR_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Hauteur |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Display_brush_Color_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | byte | Couleur_de_transparence,
|  | word | Largeur_brosse |
| ) |  |  |

References Brosse, Ecran, Largeur_ecran, and UpdateRect().

Referenced by Initialiser_mode_video().

void Display_brush_Mono_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | byte | Couleur_de_transparence,
|  | byte | Couleur,
|  | word | Largeur_brosse |
| ) |  |  |

References Brosse, Ecran, Largeur_ecran, and UpdateRect().

Referenced by Initialiser_mode_video().

void Clear_brush_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | __attribute__((unused)) word | Decalage_X,
|  | __attribute__((unused)) word | Decalage_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | __attribute__((unused)) byte | Couleur_de_transparence,
|  | word | Largeur_image |
| ) |  |  |

References Ecran, Largeur_ecran, Principal_Decalage_X, Principal_Decalage_Y, Principal_Ecran, and UpdateRect().

Referenced by Initialiser_mode_video().

void Affiche_brosse_Double | ( | byte * | B,
|  | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | byte | Couleur_de_transparence,
|  | word | Largeur_brosse |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Remap_screen_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur,
|  | word | Hauteur,
|  | byte * | Table_de_conversion |
| ) |  |  |

References Ecran, Largeur_ecran, and UpdateRect().

Referenced by Initialiser_mode_video().

void Afficher_une_ligne_ecran_fast_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur,
|  | byte * | Ligne |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Afficher_partie_de_l_ecran_zoomee_Double(), Clear_brush_zoom_Double(), and Initialiser_mode_video().

void Afficher_une_ligne_ecran_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur,
|  | byte * | Ligne |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Afficher_une_ligne_transparente_mono_a_l_ecran_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur,
|  | byte * | Ligne,
|  | byte | Couleur_transparence,
|  | byte | Couleur |
| ) |  |  |

References Ecran, Largeur_ecran, and ZOOMX.

Referenced by Display_brush_Mono_zoom_Double().

void Lire_une_ligne_ecran_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Largeur,
|  | byte * | Ligne |
| ) |  |  |

References Ecran, and Largeur_ecran.

Referenced by Initialiser_mode_video().

void Afficher_partie_de_l_ecran_zoomee_Double | ( | word | Largeur,
|  | word | Hauteur,
|  | word | Largeur_image,
|  | byte * | Buffer |
| ) |  |  |

ZOOMY

ZOOMY

References Afficher_une_ligne_ecran_fast_Double(), Loupe_Decalage_X, Loupe_Decalage_Y, Loupe_Facteur, Principal_Ecran, Principal_X_Zoom, UpdateRect(), Zoomer_une_ligne(), and ZOOMX.

Referenced by Initialiser_mode_video().

void Display_brush_Color_zoom_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Pos_Y_Fin,
|  | byte | Couleur_de_transparence,
|  | word | Largeur_brosse,
|  | byte * | Buffer |
| ) |  |  |

References Afficher_une_ligne_transparente_a_l_ecran_Wide(), Brosse, Ecran, Largeur_ecran, Loupe_Facteur, Zoomer_une_ligne(), ZOOMX, and ZOOMY.

Referenced by Initialiser_mode_video().

void Display_brush_Mono_zoom_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Pos_Y_Fin,
|  | byte | Couleur_de_transparence,
|  | byte | Couleur,
|  | word | Largeur_brosse,
|  | byte * | Buffer |
| ) |  |  |

References Afficher_une_ligne_transparente_mono_a_l_ecran_Double(), Brosse, Loupe_Facteur, UpdateRect(), Zoomer_une_ligne(), ZOOMX, and ZOOMY.

Referenced by Initialiser_mode_video().

void Clear_brush_zoom_Double | ( | word | Pos_X,
|  | word | Pos_Y,
|  | word | Decalage_X,
|  | word | Decalage_Y,
|  | word | Largeur,
|  | word | Pos_Y_Fin,
|  | __attribute__((unused)) byte | Couleur_de_transparence,
|  | word | Largeur_image,
|  | byte * | Buffer |
| ) |  |  |

References Afficher_une_ligne_ecran_fast_Double(), Loupe_Facteur, Principal_Ecran, UpdateRect(), and Zoomer_une_ligne().

Referenced by Initialiser_mode_video().