/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- nautilus-region.h: A simple wrapper on GdkRegion with rectangle operations. Copyright (C) 2000 Eazel, Inc. This program 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; either version 2 of the License, or (at your option) any later version. This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Author: Ramiro Estrugo */ #ifndef NAUTILUS_REGION_H #define NAUTILUS_REGION_H #include #include #include #include /* Opaque NautilusRegion declaration. */ typedef struct NautilusRegion NautilusRegion; NautilusRegion *nautilus_region_new (void); void nautilus_region_free (NautilusRegion *region); void nautilus_region_add_rectangle (NautilusRegion *region, const ArtIRect *rectangle); void nautilus_region_subtract_rectangle (NautilusRegion *region, const ArtIRect *rectangle); void nautilus_region_set_gc_clip_region (const NautilusRegion *region, GdkGC *gc); #endif /* NAUTILUS_REGION_H */