2009-12-01 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / src / fontstretch.h
blob9ef0951ecf4897c9c020d07411f2500cd9977667
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * fontstretch.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2009 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __FONT_STRETCH_H__
14 #define __FONT_STRETCH_H__
16 /* @IncludeInKinds */
17 struct FontStretch {
18 FontStretches stretch;
20 FontStretch (FontStretches stretch)
22 this->stretch = stretch;
25 bool operator== (const FontStretch &v) const
27 return v.stretch == stretch;
30 bool operator!= (const FontStretch &v) const
32 return !(*this == v);
36 #endif /* __FONT_STRETCH_H__ */