jdk/src/share/native/sun/font/layout/GlyphIterator.h
changeset 3935 afcdb712a9c5
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
3933:38e8ef00316e 3935:afcdb712a9c5
    30  */
    30  */
    31 
    31 
    32 #ifndef __GLYPHITERATOR_H
    32 #ifndef __GLYPHITERATOR_H
    33 #define __GLYPHITERATOR_H
    33 #define __GLYPHITERATOR_H
    34 
    34 
       
    35 /**
       
    36  * \file
       
    37  * \internal
       
    38  */
       
    39 
    35 #include "LETypes.h"
    40 #include "LETypes.h"
    36 #include "OpenTypeTables.h"
    41 #include "OpenTypeTables.h"
    37 #include "GlyphDefinitionTables.h"
    42 #include "GlyphDefinitionTables.h"
    38 
    43 
    39 struct InsertionRecord
    44 U_NAMESPACE_BEGIN
    40 {
       
    41     InsertionRecord *next;
       
    42     le_int32 position;
       
    43     le_int32 count;
       
    44     LEGlyphID glyphs[ANY_NUMBER];
       
    45 };
       
    46 
    45 
    47 class LEGlyphStorage;
    46 class LEGlyphStorage;
    48 class GlyphPositionAdjustments;
    47 class GlyphPositionAdjustments;
    49 
    48 
    50 class GlyphIterator {
    49 class GlyphIterator : public UMemory {
    51 public:
    50 public:
    52     GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments,
    51     GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments, le_bool rightToLeft, le_uint16 theLookupFlags,
    53         le_bool rightToLeft, le_uint16 theLookupFlags, FeatureMask theFeatureMask,
    52         FeatureMask theFeatureMask, const GlyphDefinitionTableHeader *theGlyphDefinitionTableHeader);
    54         const GlyphDefinitionTableHeader *theGlyphDefinitionTableHeader);
       
    55 
    53 
    56     GlyphIterator(GlyphIterator &that);
    54     GlyphIterator(GlyphIterator &that);
    57 
    55 
    58     GlyphIterator(GlyphIterator &that, FeatureMask newFeatureMask);
    56     GlyphIterator(GlyphIterator &that, FeatureMask newFeatureMask);
    59 
    57 
   120     const MarkAttachClassDefinitionTable *markAttachClassDefinitionTable;
   118     const MarkAttachClassDefinitionTable *markAttachClassDefinitionTable;
   121 
   119 
   122     GlyphIterator &operator=(const GlyphIterator &other); // forbid copying of this class
   120     GlyphIterator &operator=(const GlyphIterator &other); // forbid copying of this class
   123 };
   121 };
   124 
   122 
       
   123 U_NAMESPACE_END
   125 #endif
   124 #endif