jdk/src/share/native/sun/font/layout/LigatureSubstProc.h
changeset 3935 afcdb712a9c5
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
3933:38e8ef00316e 3935:afcdb712a9c5
    30  */
    30  */
    31 
    31 
    32 #ifndef __LIGATURESUBSTITUTIONPROCESSOR_H
    32 #ifndef __LIGATURESUBSTITUTIONPROCESSOR_H
    33 #define __LIGATURESUBSTITUTIONPROCESSOR_H
    33 #define __LIGATURESUBSTITUTIONPROCESSOR_H
    34 
    34 
       
    35 /**
       
    36  * \file
       
    37  * \internal
       
    38  */
       
    39 
    35 #include "LETypes.h"
    40 #include "LETypes.h"
    36 #include "MorphTables.h"
    41 #include "MorphTables.h"
    37 #include "SubtableProcessor.h"
    42 #include "SubtableProcessor.h"
    38 #include "StateTableProcessor.h"
    43 #include "StateTableProcessor.h"
    39 #include "LigatureSubstitution.h"
    44 #include "LigatureSubstitution.h"
       
    45 
       
    46 U_NAMESPACE_BEGIN
    40 
    47 
    41 class LEGlyphStorage;
    48 class LEGlyphStorage;
    42 
    49 
    43 #define nComponents 16
    50 #define nComponents 16
    44 
    51 
    52     virtual void endStateTable();
    59     virtual void endStateTable();
    53 
    60 
    54     LigatureSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
    61     LigatureSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
    55     virtual ~LigatureSubstitutionProcessor();
    62     virtual ~LigatureSubstitutionProcessor();
    56 
    63 
       
    64     /**
       
    65      * ICU "poor man's RTTI", returns a UClassID for the actual class.
       
    66      *
       
    67      * @stable ICU 2.8
       
    68      */
       
    69     virtual UClassID getDynamicClassID() const;
       
    70 
       
    71     /**
       
    72      * ICU "poor man's RTTI", returns a UClassID for this class.
       
    73      *
       
    74      * @stable ICU 2.8
       
    75      */
       
    76     static UClassID getStaticClassID();
       
    77 
    57 private:
    78 private:
    58     LigatureSubstitutionProcessor();
    79     LigatureSubstitutionProcessor();
    59 
    80 
    60 protected:
    81 protected:
    61     ByteOffset ligatureActionTableOffset;
    82     ByteOffset ligatureActionTableOffset;
    66 
    87 
    67     le_int32 componentStack[nComponents];
    88     le_int32 componentStack[nComponents];
    68     le_int16 m;
    89     le_int16 m;
    69 
    90 
    70     const LigatureSubstitutionHeader *ligatureSubstitutionHeader;
    91     const LigatureSubstitutionHeader *ligatureSubstitutionHeader;
       
    92 
    71 };
    93 };
    72 
    94 
       
    95 U_NAMESPACE_END
    73 #endif
    96 #endif