1 /* 2 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software 3 * and associated documentation files (the "Software"), to deal in the Software without restriction, 4 * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 6 * subject to the following conditions: 7 * 8 * The above copyright notice and this permission notice shall be included in all copies or substantial 9 * portions of the Software. 10 * 11 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT 12 * NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 13 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 14 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 15 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 16 * 17 * Authors: 18 * Alexandre Pigolkine (pigolkine@gmx.de) 19 * Duncan Mak (duncan@ximian.com) 20 * Miguel de Icaza (miguel@ximian.com) 21 * Ravindra (rkumar@novell.com) 22 * Sanjay Gupta (gsanjay@novell.com) 23 * Vladimir Vukicevic (vladimir@pobox.com) 24 * Geoff Norton (gnorton@customerdna.com) 25 * Jonathan Gilbert (logic@deltaq.org) 26 * Sebastien Pouliot <sebastien@ximian.com> 27 * 28 * Copyright (C) 2003-2007 Novell, Inc (http://www.novell.com) 29 */ 30 31 /* 32 * NOTE: This is a private header files and everything is subject to changes. 33 */ 34 35 #ifndef __TEXTUREBRUSH_PRIVATE_H__ 36 #define __TEXTUREBRUSH_PRIVATE_H__ 37 38 #include "gdiplus-private.h" 39 #include "brush-private.h" 40 #include "matrix-private.h" 41 42 typedef struct _Texture { 43 GpBrush base; 44 GpImage *image; 45 cairo_matrix_t matrix; 46 GpRect rectangle; 47 GpWrapMode wrapMode; 48 cairo_pattern_t *pattern; 49 } Texture; 50 51 #include "texturebrush.h" 52 53 #endif 54