~ubuntu-branches/ubuntu/maverick/grafx2/maverick

« back to all changes in this revision

Viewing changes to src/pxdouble.h

  • Committer: Bazaar Package Importer
  • Author(s): Gürkan Sengün
  • Date: 2010-03-22 12:07:47 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100322120747-g0jel6vf6mjkc53s
Tags: 2.2-1
* New upstream version, fixes FTBFS with binutils-gold. (Closes: #554742)
* Bump standards version to 3.8.4.
* debian/control: Add liblua5.1-0-dev and pkg-config to build depends.
* debian/rules: Drop dh_desktop call.
* debian/copyright: Update years.
* Switch to dpkg-source format version 3.0 (quilt).
* debian/watch: Added.
* Added patch to fix spelling errors in source code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim:expandtab:ts=2 sw=2:
 
2
*/
 
3
/*  Grafx2 - The Ultimate 256-color bitmap paint program
 
4
 
 
5
    Copyright 2008 Yves Rizoud
 
6
    Copyright 2007 Adrien Destugues
 
7
    Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud)
 
8
 
 
9
    Grafx2 is free software; you can redistribute it and/or
 
10
    modify it under the terms of the GNU General Public License
 
11
    as published by the Free Software Foundation; version 2
 
12
    of the License.
 
13
 
 
14
    Grafx2 is distributed in the hope that it will be useful,
 
15
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
    GNU General Public License for more details.
 
18
 
 
19
    You should have received a copy of the GNU General Public License
 
20
    along with Grafx2; if not, see <http://www.gnu.org/licenses/>
 
21
*/
 
22
 
 
23
//////////////////////////////////////////////////////////////////////////////
 
24
///@file pxdouble.h
 
25
/// Renderer for double pixels (2x2).
 
26
//////////////////////////////////////////////////////////////////////////////
 
27
 
 
28
#include "struct.h"
 
29
 
 
30
  void Pixel_double                      (word x,word y,byte color);
 
31
  byte Read_pixel_double                  (word x,word y);
 
32
  void Block_double                      (word start_x,word start_y,word width,word height,byte color);
 
33
  void Pixel_preview_normal_double       (word x,word y,byte color);
 
34
  void Pixel_preview_magnifier_double        (word x,word y,byte color);
 
35
  void Horizontal_XOR_line_double      (word x_pos,word y_pos,word width);
 
36
  void Vertical_XOR_line_double        (word x_pos,word y_pos,word height);
 
37
  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);
 
38
  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);
 
39
  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);
 
40
  void Remap_screen_double               (word x_pos,word y_pos,word width,word height,byte * conversion_table);
 
41
  void Display_part_of_screen_double (word width,word height,word image_width);
 
42
  void Display_line_on_screen_double   (word x_pos,word y_pos,word width,byte * line);
 
43
  void Read_line_screen_double       (word x_pos,word y_pos,word width,byte * line);
 
44
  void Display_part_of_screen_scaled_double(word width,word height,word image_width,byte * buffer);
 
45
  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);
 
46
  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);
 
47
  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);
 
48
  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);
 
49
 
 
50
  void Display_line_on_screen_fast_double   (word x_pos,word y_pos,word width,byte * line);