/usr/include/gtkimageview/utils.h is in libgtkimageview-dev 1.6.4+dfsg-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*-
*
* Copyright © 2007 Björn Lindqvist <bjourne@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2, or
* (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef __UTILS_H__
#define __UTILS_H__
#include <gdk/gdk.h>
typedef struct
{
int width;
int height;
} Size;
void gdk_pixbuf_shade (GdkPixbuf *pixbuf,
GdkRectangle *rect);
void gdk_pixbuf_scale_blend (GdkPixbuf *src,
GdkPixbuf *dst,
int dst_x,
int dst_y,
int dst_width,
int dst_height,
gdouble offset_x,
gdouble offset_y,
gdouble zoom,
GdkInterpType interp,
int check_x,
int check_y,
int check_size,
int color1,
int color2);
char *gdk_rectangle_to_str (GdkRectangle rect);
gboolean gdk_rectangle_eq (GdkRectangle r1,
GdkRectangle r2);
gboolean gdk_rectangle_eq2 (GdkRectangle rect,
int x,
int y,
int width,
int height);
gboolean gdk_rectangle_contains (GdkRectangle rect,
int x,
int y);
void gdk_window_draw_inset_frame (GdkWindow *window,
GdkRectangle *rect,
GdkGC *light_gc,
GdkGC *dark_gc);
void gdk_draw_rect (GdkDrawable *drawable,
GdkGC *gc,
gboolean filled,
GdkRectangle *rect);
void gdk_rectangle_get_rects_around (GdkRectangle *outer,
GdkRectangle *inner,
GdkRectangle around[4]);
#endif
|