2004-08-02 21:50:17 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2004 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Author: Banlu Kemiyatorn <object at gmail dot com>
|
|
|
|
|
|
|
|
This file is part of GNUstep.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 23:25:10 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
2004-08-02 21:50:17 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2007-10-29 23:25:10 +00:00
|
|
|
version 3 of the License, or (at your option) any later version.
|
|
|
|
|
2004-08-02 21:50:17 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-10-29 23:25:10 +00:00
|
|
|
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; see the file COPYING.LIB.
|
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
2004-08-02 21:50:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CairoGState_h
|
|
|
|
#define CairoGState_h
|
|
|
|
|
|
|
|
#include <cairo.h>
|
2006-09-30 12:21:13 +00:00
|
|
|
#include "gsc/GSGState.h"
|
|
|
|
|
2006-10-03 23:29:53 +00:00
|
|
|
|
2004-08-02 21:50:17 +00:00
|
|
|
@class CairoSurface;
|
|
|
|
|
2006-09-30 12:21:13 +00:00
|
|
|
@interface CairoGState : GSGState
|
2004-08-02 21:50:17 +00:00
|
|
|
{
|
|
|
|
@public
|
|
|
|
cairo_t *_ct;
|
|
|
|
CairoSurface *_surface;
|
2007-07-01 23:02:29 +00:00
|
|
|
|
|
|
|
int _strokeadjust;
|
2004-08-02 21:50:17 +00:00
|
|
|
}
|
|
|
|
|
2007-04-27 12:23:28 +00:00
|
|
|
- (void) GSCurrentSurface: (CairoSurface **)surface: (int *)x : (int *)y;
|
|
|
|
- (void) GSSetSurface: (CairoSurface *)surface : (int)x : (int)y;
|
2004-08-02 21:50:17 +00:00
|
|
|
|
2007-06-29 11:31:53 +00:00
|
|
|
- (void) showPage;
|
2004-08-02 21:50:17 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|