~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/base/pixel-region.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
60
60
 
61
61
/*  PixelRegion functions  */
62
62
 
63
 
void     pixel_region_init          (PixelRegion         *PR, 
64
 
                                     TileManager         *tiles, 
65
 
                                     gint                 x, 
66
 
                                     gint                 y, 
67
 
                                     gint                 w, 
68
 
                                     gint                 h, 
69
 
                                     gboolean             dirty);
70
 
void     pixel_region_resize        (PixelRegion         *PR, 
71
 
                                     gint                 x, 
72
 
                                     gint                 y, 
73
 
                                     gint                 w, 
74
 
                                     gint                 h);
75
 
void     pixel_region_get_async     (PixelRegion         *PR, 
76
 
                                     gint                 ulx, 
77
 
                                     gint                 uly, 
78
 
                                     gint                 lrx, 
79
 
                                     gint                 lry);
80
 
void     pixel_region_get_row       (PixelRegion         *PR, 
81
 
                                     gint                 x, 
82
 
                                     gint                 y, 
83
 
                                     gint                 w, 
84
 
                                     guchar              *data, 
85
 
                                     gint                 subsample);
86
 
void     pixel_region_set_row       (PixelRegion         *PR, 
87
 
                                     gint                 x, 
88
 
                                     gint                 y, 
89
 
                                     gint                 w, 
90
 
                                     guchar              *data);
91
 
void     pixel_region_get_col       (PixelRegion         *PR, 
92
 
                                     gint                 x, 
93
 
                                     gint                 y, 
94
 
                                     gint                 h, 
95
 
                                     guchar              *data, 
96
 
                                     gint                 subsample);
97
 
void     pixel_region_set_col       (PixelRegion         *PR, 
98
 
                                     gint                 x, 
99
 
                                     gint                 y, 
100
 
                                     gint                 h, 
101
 
                                     guchar              *data);
 
63
void     pixel_region_init          (PixelRegion         *PR,
 
64
                                     TileManager         *tiles,
 
65
                                     gint                 x,
 
66
                                     gint                 y,
 
67
                                     gint                 w,
 
68
                                     gint                 h,
 
69
                                     gboolean             dirty);
 
70
void     pixel_region_init_temp_buf (PixelRegion         *PR,
 
71
                                     TempBuf             *temp_buf,
 
72
                                     gint                 x,
 
73
                                     gint                 y,
 
74
                                     gint                 w,
 
75
                                     gint                 h);
 
76
void     pixel_region_init_data     (PixelRegion         *PR,
 
77
                                     guchar              *data,
 
78
                                     gint                 bytes,
 
79
                                     gint                 rowstride,
 
80
                                     gint                 x,
 
81
                                     gint                 y,
 
82
                                     gint                 w,
 
83
                                     gint                 h);
 
84
void     pixel_region_resize        (PixelRegion         *PR,
 
85
                                     gint                 x,
 
86
                                     gint                 y,
 
87
                                     gint                 w,
 
88
                                     gint                 h);
 
89
void     pixel_region_get_row       (PixelRegion         *PR,
 
90
                                     gint                 x,
 
91
                                     gint                 y,
 
92
                                     gint                 w,
 
93
                                     guchar              *data,
 
94
                                     gint                 subsample);
 
95
void     pixel_region_set_row       (PixelRegion         *PR,
 
96
                                     gint                 x,
 
97
                                     gint                 y,
 
98
                                     gint                 w,
 
99
                                     const guchar        *data);
 
100
void     pixel_region_get_col       (PixelRegion         *PR,
 
101
                                     gint                 x,
 
102
                                     gint                 y,
 
103
                                     gint                 h,
 
104
                                     guchar              *data,
 
105
                                     gint                 subsample);
 
106
void     pixel_region_set_col       (PixelRegion         *PR,
 
107
                                     gint                 x,
 
108
                                     gint                 y,
 
109
                                     gint                 h,
 
110
                                     const guchar        *data);
102
111
gboolean pixel_region_has_alpha     (PixelRegion         *PR);
103
112
 
104
 
PixelRegionIterator * pixel_regions_register     (gint                 num_regions, 
105
 
                                                   ...);
 
113
PixelRegionIterator * pixel_regions_register     (gint    num_regions,
 
114
                                                  ...);
106
115
PixelRegionIterator * pixel_regions_process      (PixelRegionIterator *PRI);
107
116
void                  pixel_regions_process_stop (PixelRegionIterator *PRI);
108
117