Debian Codegraph @

contrib/C#/NGraphite/CharInfo.cs

raw
1 // SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
2 // Copyright (C) 2012 SIL International
3 using System;
4
5 namespace NGraphite
6 {
7 public class CharInfo
8 {
9 IntPtr _charInfo;
10
11 internal CharInfo(IntPtr charInfoPtr)
12 {
13 _charInfo = charInfoPtr;
14 }
15
16 public UInt32 UnicodeChar
17 {
18 get { return Graphite2Api.CinfoUnicodeChar(_charInfo); }
19 }
20
21 public int BreakWeight
22 {
23 get { return Graphite2Api.CinfoBreakWeight(_charInfo); }
24 }
25
26 public int After
27 {
28 get { return Graphite2Api.CinfoAfter(_charInfo); }
29 }
30
31 public int Before
32 {
33 get { return Graphite2Api.CinfoBefore(_charInfo); }
34 }
35
36 public int Base
37 {
38 get { return Graphite2Api.CinfoBase(_charInfo); }
39 }
40 }
41 }
42