-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfontstretch.h
More file actions
39 lines (32 loc) · 720 Bytes
/
fontstretch.h
File metadata and controls
39 lines (32 loc) · 720 Bytes
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
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* fontstretch.h:
*
* Contact:
* Moonlight List (moonlight-list@lists.ximian.com)
*
* Copyright 2009 Novell, Inc. (http://www.novell.com)
*
* See the LICENSE file included with the distribution for details.
*/
#ifndef __FONT_STRETCH_H__
#define __FONT_STRETCH_H__
namespace Moonlight {
/* @IncludeInKinds */
struct FontStretch {
FontStretches stretch;
FontStretch (FontStretches stretch)
{
this->stretch = stretch;
}
bool operator== (const FontStretch &v) const
{
return v.stretch == stretch;
}
bool operator!= (const FontStretch &v) const
{
return !(*this == v);
}
};
};
#endif /* __FONT_STRETCH_H__ */