diff --git a/src/Alexandrie-Harfbuzz/AeHbGlyphInfo.class.st b/src/Alexandrie-Harfbuzz/AeHbGlyphInfo.class.st index 7835192..140beda 100644 --- a/src/Alexandrie-Harfbuzz/AeHbGlyphInfo.class.st +++ b/src/Alexandrie-Harfbuzz/AeHbGlyphInfo.class.st @@ -16,7 +16,9 @@ Class { #classVars : [ 'OFFSET_CLUSTER', 'OFFSET_CODEPOINT', - 'OFFSET_MASK' + 'OFFSET_MASK', + 'OFFSET_VAR1', + 'OFFSET_VAR2' ], #pools : [ 'AeHbTypes' @@ -40,9 +42,9 @@ AeHbGlyphInfo class >> fieldsDesc [ "/*< private >*/ hb_var_int_t var1; - hb_var_int_t var2; + hb_var_int_t var2;" uint32 var1 - uint32 var2" + uint32 var2 ) ] @@ -95,3 +97,27 @@ AeHbGlyphInfo >> printOn: aStream [ ]. ] + +{ #category : #'accessing - structure variables' } +AeHbGlyphInfo >> var1 [ + "This method was automatically generated" + ^handle unsignedLongAt: OFFSET_VAR1 +] + +{ #category : #'accessing - structure variables' } +AeHbGlyphInfo >> var1: anObject [ + "This method was automatically generated" + handle unsignedLongAt: OFFSET_VAR1 put: anObject +] + +{ #category : #'accessing - structure variables' } +AeHbGlyphInfo >> var2 [ + "This method was automatically generated" + ^handle unsignedLongAt: OFFSET_VAR2 +] + +{ #category : #'accessing - structure variables' } +AeHbGlyphInfo >> var2: anObject [ + "This method was automatically generated" + handle unsignedLongAt: OFFSET_VAR2 put: anObject +] diff --git a/src/Alexandrie-Harfbuzz/AeHbGlyphPosition.class.st b/src/Alexandrie-Harfbuzz/AeHbGlyphPosition.class.st index 5537959..9a5cc8c 100644 --- a/src/Alexandrie-Harfbuzz/AeHbGlyphPosition.class.st +++ b/src/Alexandrie-Harfbuzz/AeHbGlyphPosition.class.st @@ -9,6 +9,7 @@ Class { #name : #AeHbGlyphPosition, #superclass : #FFIExternalStructure, #classVars : [ + 'OFFSET_VAR', 'OFFSET_X_ADVANCE', 'OFFSET_X_OFFSET', 'OFFSET_Y_ADVANCE', @@ -31,7 +32,7 @@ AeHbGlyphPosition class >> fieldsDesc [ hb_position_t y_advance hb_position_t x_offset hb_position_t y_offset - "uint32 var hb_var_int_t var;" + uint32 var " hb_var_int_t var;" ) ] @@ -49,6 +50,18 @@ AeHbGlyphPosition >> printOn: aStream [ ] +{ #category : #'accessing - structure variables' } +AeHbGlyphPosition >> var [ + "This method was automatically generated" + ^handle unsignedLongAt: OFFSET_VAR +] + +{ #category : #'accessing - structure variables' } +AeHbGlyphPosition >> var: anObject [ + "This method was automatically generated" + handle unsignedLongAt: OFFSET_VAR put: anObject +] + { #category : #accessing } AeHbGlyphPosition >> xAdvanceFrom26Dot6 [