The following tools don't take the ratio into account; Circle, Grad rectangle, Brush rotation, Resizable brushes (diamond, squares, circles...) git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@376 416bcca6-2ee7-4201-b75f-2eb2f807beb1
		
			
				
	
	
		
			48 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/*  Grafx2 - The Ultimate 256-color bitmap paint program
 | 
						|
 | 
						|
    Copyright 2008 Yves Rizoud
 | 
						|
    Copyright 2007 Adrien Destugues
 | 
						|
    Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud)
 | 
						|
 | 
						|
    Grafx2 is free software; you can redistribute it and/or
 | 
						|
    modify it under the terms of the GNU General Public License
 | 
						|
    as published by the Free Software Foundation; version 2
 | 
						|
    of the License.
 | 
						|
 | 
						|
    Grafx2 is distributed in the hope that it will be useful,
 | 
						|
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
    GNU General Public License for more details.
 | 
						|
 | 
						|
    You should have received a copy of the GNU General Public License
 | 
						|
    along with Grafx2; if not, see <http://www.gnu.org/licenses/> or
 | 
						|
    write to the Free Software Foundation, Inc.,
 | 
						|
    59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 | 
						|
*/
 | 
						|
#include "struct.h"
 | 
						|
 | 
						|
  void Pixel_Simple                      (word X,word Y,byte Couleur);
 | 
						|
  byte Lit_Pixel_Simple                  (word X,word Y);
 | 
						|
  void Block_Simple                      (word Debut_X,word Debut_Y,word Largeur,word Hauteur,byte Couleur);
 | 
						|
  void Pixel_Preview_Normal_Simple       (word X,word Y,byte Couleur);
 | 
						|
  void Pixel_Preview_Loupe_Simple        (word X,word Y,byte Couleur);
 | 
						|
  void Ligne_horizontale_XOR_Simple      (word Pos_X,word Pos_Y,word Largeur);
 | 
						|
  void Ligne_verticale_XOR_Simple        (word Pos_X,word Pos_Y,word Hauteur);
 | 
						|
  void Display_brush_Color_Simple        (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_Simple         (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_Simple                (word Pos_X,word Pos_Y,word Decalage_X,word Decalage_Y,word Largeur,word Hauteur,byte Couleur_de_transparence,word Largeur_image);
 | 
						|
  void Remap_screen_Simple               (word Pos_X,word Pos_Y,word Largeur,word Hauteur,byte * Table_de_conversion);
 | 
						|
  void Afficher_partie_de_l_ecran_Simple (word Largeur,word Hauteur,word Largeur_image);
 | 
						|
  void Afficher_une_ligne_ecran_Simple   (word Pos_X,word Pos_Y,word Largeur,byte * Ligne);
 | 
						|
  void Lire_une_ligne_ecran_Simple       (word Pos_X,word Pos_Y,word Largeur,byte * Ligne);
 | 
						|
  void Afficher_partie_de_l_ecran_zoomee_Simple(word Largeur,word Hauteur,word Largeur_image,byte * Buffer);
 | 
						|
  void Display_brush_Color_zoom_Simple   (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_Simple    (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_Simple           (word Pos_X,word Pos_Y,word Decalage_X,word Decalage_Y,word Largeur,word Pos_Y_Fin,byte Couleur_de_transparence,word Largeur_image,byte * Buffer);
 | 
						|
  void Affiche_brosse_Simple             (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 Afficher_une_ligne_transparente_mono_a_l_ecran_Simple(
 | 
						|
        word Pos_X, word Pos_Y, word Largeur, byte* Ligne, 
 | 
						|
        byte Couleur_transparence, byte Couleur);
 | 
						|
void Afficher_une_ligne_transparente_a_l_ecran_Simple(word Pos_X,word Pos_Y,word Largeur,byte* Ligne,byte Couleur_transparence);
 |