projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c18ec2b
)
[GPOS] Implement MarkArray interface
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 21 May 2009 08:58:24 +0000
(
04:58
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:16 +0000
(14:40 -0500)
src/hb-ot-layout-gpos-private.h
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gpos-private.h
b/src/hb-ot-layout-gpos-private.h
index
3d12b36
..
2208d79
100644
(file)
--- a/
src/hb-ot-layout-gpos-private.h
+++ b/
src/hb-ot-layout-gpos-private.h
@@
-228,7
+228,7
@@
ASSERT_SIZE (Anchor, 2);
struct MarkRecord
{
- /* TODO */
+ friend struct MarkArray;
private:
USHORT klass; /* Class defined for this mark */
@@
-240,7
+240,8
@@
ASSERT_SIZE (MarkRecord, 4);
struct MarkArray
{
- /* TODO */
+ inline unsigned int get_class (unsigned int index) { return markRecord[index].klass; }
+ inline const Anchor& get_anchor (unsigned int index) { return this+markRecord[index].markAnchor; }
private:
ArrayOf<MarkRecord>