mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4304 update @draft for ICU 3.2.
X-SVN-Rev: 16961
This commit is contained in:
parent
1471376ec8
commit
1dc34d1780
7 changed files with 114 additions and 114 deletions
|
@ -19,14 +19,14 @@ U_NAMESPACE_BEGIN
|
|||
* and character mirroring - replacing a character which has both a left and a right
|
||||
* hand form with the opposite form.
|
||||
*
|
||||
* @draft ICU 2.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class LECharMapper /* not : public UObject because this is an interface/mixin class */
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Destructor.
|
||||
* @draft ICU 2.4
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline ~LECharMapper() {};
|
||||
|
||||
|
@ -135,7 +135,7 @@ public:
|
|||
*
|
||||
* @see LEScripts.h
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual const LEFontInstance *getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32 script, LEErrorCode &success) const;
|
||||
|
||||
|
@ -175,7 +175,7 @@ public:
|
|||
*
|
||||
* @return <code>TRUE</code> if the font can render ch.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_bool canDisplay(LEUnicode32 ch) const;
|
||||
|
||||
|
@ -225,7 +225,7 @@ public:
|
|||
*
|
||||
* @see LECharMapper
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
||||
|
||||
|
@ -239,7 +239,7 @@ public:
|
|||
*
|
||||
* @return the glyph index
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const = 0;
|
||||
|
||||
|
@ -253,7 +253,7 @@ public:
|
|||
* @param glyph - the glyph index
|
||||
* @param advance - the X and Y pixel values will be stored here
|
||||
*
|
||||
* @draft ICU 2.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const = 0;
|
||||
|
||||
|
@ -299,7 +299,7 @@ public:
|
|||
*
|
||||
* @return points in the X direction
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float xUnitsToPoints(float xUnits) const;
|
||||
|
||||
|
@ -311,7 +311,7 @@ public:
|
|||
*
|
||||
* @return points in the Y direction
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float yUnitsToPoints(float yUnits) const;
|
||||
|
||||
|
@ -321,7 +321,7 @@ public:
|
|||
* @param units - X and Y design units
|
||||
* @param points - set to X and Y points
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void unitsToPoints(LEPoint &units, LEPoint &points) const;
|
||||
|
||||
|
@ -333,7 +333,7 @@ public:
|
|||
*
|
||||
* @return font design units in the X direction
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float xPixelsToUnits(float xPixels) const;
|
||||
|
||||
|
@ -345,7 +345,7 @@ public:
|
|||
*
|
||||
* @return font design units in the Y direction
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float yPixelsToUnits(float yPixels) const;
|
||||
|
||||
|
@ -355,7 +355,7 @@ public:
|
|||
* @param pixels - X and Y pixel
|
||||
* @param units - set to X and Y font design units
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void pixelsToUnits(LEPoint &pixels, LEPoint &units) const;
|
||||
|
||||
|
@ -368,7 +368,7 @@ public:
|
|||
*
|
||||
* @see transformFunits
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float getScaleFactorX() const = 0;
|
||||
|
||||
|
@ -380,7 +380,7 @@ public:
|
|||
*
|
||||
* @see transformFunits
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float getScaleFactorY() const = 0;
|
||||
|
||||
|
@ -397,7 +397,7 @@ public:
|
|||
* @see getScaleFactorX
|
||||
* @see getScaleFactorY
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void transformFunits(float xFunits, float yFunits, LEPoint &pixels) const;
|
||||
|
||||
|
@ -437,7 +437,7 @@ public:
|
|||
* @return the font's ascent, in points. This value
|
||||
* will always be positive.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getAscent() const = 0;
|
||||
|
||||
|
@ -447,7 +447,7 @@ public:
|
|||
* @return the font's descent, in points. This value
|
||||
* will always be positive.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getDescent() const = 0;
|
||||
|
||||
|
@ -457,7 +457,7 @@ public:
|
|||
* @return the font's leading, in points. This value
|
||||
* will always be positive.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getLeading() const = 0;
|
||||
|
||||
|
@ -469,21 +469,21 @@ public:
|
|||
* @return the line height, in points. This vaule will
|
||||
* always be positive.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getLineHeight() const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual UClassID getDynamicClassID() const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static UClassID getStaticClassID();
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ class LEGlyphFilter /* not : public UObject because this is an interface/mixin c
|
|||
public:
|
||||
/**
|
||||
* Destructor.
|
||||
* @draft ICU 2.4
|
||||
* @internal
|
||||
*/
|
||||
virtual ~LEGlyphFilter();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ U_NAMESPACE_BEGIN
|
|||
* this is just a list of languages which the LayoutEngine
|
||||
* supports.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @draft ICU 3.0
|
||||
*/
|
||||
|
||||
enum LanguageCodes {
|
||||
|
|
|
@ -17,7 +17,7 @@ U_NAMESPACE_BEGIN
|
|||
* Constants for Unicode script values, generated using
|
||||
* ICU4J's <code>UScript</code> class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @draft ICU 3.0
|
||||
*/
|
||||
|
||||
enum ScriptCodes {
|
||||
|
|
|
@ -91,7 +91,7 @@ typedef le_uint32 LETag;
|
|||
* Used for 16-bit glyph indices as they're represented
|
||||
* in TrueType font tables.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
typedef le_uint16 TTGlyphID;
|
||||
|
||||
|
@ -102,7 +102,7 @@ typedef le_uint16 TTGlyphID;
|
|||
* order 8 bits are client defined. The LayoutEngine
|
||||
* will never change or look at the client defined bits.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
typedef le_uint32 LEGlyphID;
|
||||
|
||||
|
@ -110,7 +110,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* Used to mask off the glyph ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_GLYPH_MASK 0x0000FFFF
|
||||
|
||||
|
@ -119,7 +119,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* into the low-order bits.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_GLYPH_SHIFT 0
|
||||
|
||||
|
@ -128,7 +128,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* Used to mask off the sub-font ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_SUB_FONT_MASK 0x00FF0000
|
||||
|
||||
|
@ -137,7 +137,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* into the low-order bits.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_SUB_FONT_SHIFT 16
|
||||
|
||||
|
@ -146,7 +146,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* Used to mask off the client-defined part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_CLIENT_MASK 0xFF000000
|
||||
|
||||
|
@ -155,7 +155,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* into the low-order bits.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_CLIENT_SHIFT 24
|
||||
|
||||
|
@ -164,7 +164,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to get the Glyph ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_GET_GLYPH(gid) ((gid & LE_GLYPH_MASK) >> LE_GLYPH_SHIFT)
|
||||
|
||||
|
@ -172,7 +172,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to get the sub-font ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_GET_SUB_FONT(gid) ((gid & LE_SUB_FONT_MASK) >> LE_SUB_FONT_SHIFT)
|
||||
|
||||
|
@ -180,7 +180,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to get the client-defined part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_GET_CLIENT(gid) ((gid & LE_CLIENT_MASK) >> LE_CLIENT_SHIFT)
|
||||
|
||||
|
@ -189,7 +189,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to set the Glyph ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MASK))
|
||||
|
||||
|
@ -197,7 +197,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to set the sub-font ID part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_SET_SUB_FONT(gid, font) ((gid & ~LE_SUB_FONT_MASK) | ((font << LE_SUB_FONT_SHIFT) & LE_SUB_FONT_MASK))
|
||||
|
||||
|
@ -205,7 +205,7 @@ typedef le_uint32 LEGlyphID;
|
|||
* A convenience macro to set the client-defined part of an LEGlyphID.
|
||||
*
|
||||
* @see LEGlyphID
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_SET_CLIENT(gid, client) ((gid & ~LE_CLIENT_MASK) | ((client << LE_CLIENT_SHIFT) & LE_CLIENT_MASK))
|
||||
|
||||
|
@ -303,7 +303,7 @@ typedef struct LEPoint LEPoint;
|
|||
* WARNING: THIS MACRO WILL ONLY WORK CORRECTLY IF
|
||||
* THE ARGUMENT CHARACTERS ARE ASCII.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define LE_MAKE_TAG(a, b, c, d) \
|
||||
(((le_uint32)(a) << 24) | \
|
||||
|
@ -315,7 +315,7 @@ typedef struct LEPoint LEPoint;
|
|||
* This enumeration defines constants for the standard
|
||||
* TrueType, OpenType and AAT table tags.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
enum LETableTags {
|
||||
LE_ACNT_TABLE_TAG = 0x61636E74UL, /* 'acnt' */
|
||||
|
@ -377,7 +377,7 @@ enum LETableTags {
|
|||
* This enumeration defines constants for all
|
||||
* the common OpenType feature tags.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
enum LEFeatureTags {
|
||||
LE_AALT_FEATURE_TAG = 0x61616C74UL, /* 'aalt' */
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
* @see ParagraphLayout
|
||||
* @see ParagraphLayout::VisualRun
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API Line : public UObject
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
* clients responsibility to destroy the objects, so the destructor
|
||||
* is public.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
~Line();
|
||||
|
||||
|
@ -70,7 +70,7 @@ public:
|
|||
*
|
||||
* @return the number of visual runs.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 countRuns() const;
|
||||
|
||||
|
@ -80,7 +80,7 @@ public:
|
|||
*
|
||||
* @return the ascent of the line.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getAscent() const;
|
||||
|
||||
|
@ -90,7 +90,7 @@ public:
|
|||
*
|
||||
* @return the descent of the line.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getDescent() const;
|
||||
|
||||
|
@ -100,7 +100,7 @@ public:
|
|||
*
|
||||
* @return the leading of the line.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLeading() const;
|
||||
|
||||
|
@ -128,21 +128,21 @@ public:
|
|||
*
|
||||
* @see ParagraphLayout::VisualRun
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const VisualRun *getVisualRun(le_int32 runIndex) const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
@ -188,7 +188,7 @@ public:
|
|||
*
|
||||
* @see ParagraphLayout::Line
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API VisualRun : public UObject
|
||||
{
|
||||
|
@ -203,7 +203,7 @@ public:
|
|||
*
|
||||
* @see LEFontInstance
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const LEFontInstance *getFont() const;
|
||||
|
||||
|
@ -213,7 +213,7 @@ public:
|
|||
* @return the direction of the run. This will be UBIDI_LTR if the
|
||||
* run is left-to-right and UBIDI_RTL if the line is right-to-left.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiDirection getDirection() const;
|
||||
|
||||
|
@ -222,7 +222,7 @@ public:
|
|||
*
|
||||
* @return the number of glyphs.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getGlyphCount() const;
|
||||
|
||||
|
@ -234,7 +234,7 @@ public:
|
|||
* is owned by the <code>VisualRun</code> object and must not be deleted.
|
||||
* It will remain valid as long as the <code>VisualRun</code> object is valid.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const LEGlyphID *getGlyphs() const;
|
||||
|
||||
|
@ -249,7 +249,7 @@ public:
|
|||
* is owned by the <code>VisualRun</code> object and must not be deleted.
|
||||
* It will remain valid as long as the <code>VisualRun</code> object is valid.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const float *getPositions() const;
|
||||
|
||||
|
@ -261,7 +261,7 @@ public:
|
|||
* is owned by the <code>VisualRun</code> object and must not be deleted.
|
||||
* It will remain valid as long as the <code>VisualRun</code> object is valid.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const le_int32 *getGlyphToCharMap() const;
|
||||
|
||||
|
@ -271,7 +271,7 @@ public:
|
|||
*
|
||||
* @return the ascent value of this run's font.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getAscent() const;
|
||||
|
||||
|
@ -281,7 +281,7 @@ public:
|
|||
*
|
||||
* @return the descent value of this run's font.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getDescent() const;
|
||||
|
||||
|
@ -291,21 +291,21 @@ public:
|
|||
*
|
||||
* @return the leading value of this run's font.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLeading() const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
@ -393,7 +393,7 @@ public:
|
|||
* The destructor. Virtual so that it works correctly with
|
||||
* sublcasses.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
~ParagraphLayout();
|
||||
|
||||
|
@ -414,7 +414,7 @@ public:
|
|||
*
|
||||
* @return <code>TRUE</code> if the paragraph contains complex text.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static le_bool isComplex(const LEUnicode chars[], le_int32 count, const FontRuns *fontRuns);
|
||||
#else
|
||||
|
@ -428,7 +428,7 @@ public:
|
|||
*
|
||||
* @return <code>TRUE</code> if any of the text requires complex processing.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static le_bool isComplex(const LEUnicode chars[], le_int32 count);
|
||||
|
||||
|
@ -441,7 +441,7 @@ public:
|
|||
*
|
||||
* @return the resolved paragraph level.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiLevel getParagraphLevel();
|
||||
|
||||
|
@ -452,7 +452,7 @@ public:
|
|||
* <code>UBIDI_RTL</code> if the text is all right to left,
|
||||
* or <code>UBIDI_MIXED</code> if the text has mixed direction.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiDirection getTextDirection();
|
||||
|
||||
|
@ -462,7 +462,7 @@ public:
|
|||
*
|
||||
* @return the ascent value.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getAscent() const;
|
||||
|
||||
|
@ -472,7 +472,7 @@ public:
|
|||
*
|
||||
* @return the decent value.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getDescent() const;
|
||||
|
||||
|
@ -482,7 +482,7 @@ public:
|
|||
*
|
||||
* @return the leading value.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_int32 getLeading() const;
|
||||
|
||||
|
@ -490,7 +490,7 @@ public:
|
|||
* Reset line breaking to start from the beginning of the paragraph.
|
||||
*
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
void reflow();
|
||||
|
||||
|
@ -509,21 +509,21 @@ public:
|
|||
*
|
||||
* @see ParagraphLayout::Line
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
Line *nextLine(float width);
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ U_NAMESPACE_BEGIN
|
|||
/**
|
||||
* The initial size of an array if it is unspecified.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define INITIAL_CAPACITY 16
|
||||
|
||||
|
@ -28,7 +28,7 @@ U_NAMESPACE_BEGIN
|
|||
* When an array needs to grow, it will double in size until
|
||||
* it becomes this large, then it will grow by this amount.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define CAPACITY_GROW_LIMIT 128
|
||||
|
||||
|
@ -38,7 +38,7 @@ U_NAMESPACE_BEGIN
|
|||
* maintains an array of limit indices into the text, subclasses
|
||||
* provide one or more arrays of data.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API RunArray : public UObject
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ public:
|
|||
*
|
||||
* @param count is the number of entries in the limit array.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
RunArray(const le_int32 *limits, le_int32 count);
|
||||
|
||||
|
@ -65,14 +65,14 @@ public:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
RunArray(le_int32 initialCapacity);
|
||||
|
||||
/**
|
||||
* The destructor; virtual so that subclass destructors are invoked as well.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual ~RunArray();
|
||||
|
||||
|
@ -81,7 +81,7 @@ public:
|
|||
*
|
||||
* @return the number of entries in the limit indices array.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getCount() const;
|
||||
|
||||
|
@ -91,7 +91,7 @@ public:
|
|||
*
|
||||
* @return the last limit index.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLimit() const;
|
||||
|
||||
|
@ -102,7 +102,7 @@ public:
|
|||
*
|
||||
* @return the limit index for the run, or -1 if <code>run</code> is out of bounds.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLimit(le_int32 run) const;
|
||||
|
||||
|
@ -128,21 +128,21 @@ public:
|
|||
* @see init
|
||||
* @see grow
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 add(le_int32 limit);
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
@ -157,7 +157,7 @@ protected:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void init(le_int32 capacity);
|
||||
|
||||
|
@ -171,7 +171,7 @@ protected:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void grow(le_int32 capacity);
|
||||
|
||||
|
@ -182,7 +182,7 @@ protected:
|
|||
* <code>add</code> method won't change the arrays
|
||||
* and the destructor won't delete them.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_bool fClientArrays;
|
||||
|
||||
|
@ -245,7 +245,7 @@ inline le_int32 RunArray::getLimit() const
|
|||
* The <code>FontRuns</code> class associates pointers to <code>LEFontInstance</code>
|
||||
* objects with runs of text.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API FontRuns : public RunArray
|
||||
{
|
||||
|
@ -263,7 +263,7 @@ public:
|
|||
*
|
||||
* @param count is the number of entries in the two arrays.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
FontRuns(const LEFontInstance **fonts, const le_int32 *limits, le_int32 count);
|
||||
|
||||
|
@ -276,14 +276,14 @@ public:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
FontRuns(le_int32 initialCapacity);
|
||||
|
||||
/**
|
||||
* The destructor; virtual so that subclass destructors are invoked as well.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual ~FontRuns();
|
||||
|
||||
|
@ -298,7 +298,7 @@ public:
|
|||
*
|
||||
* @see RunArray::getLimit
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const LEFontInstance *getFont(le_int32 run) const;
|
||||
|
||||
|
@ -323,21 +323,21 @@ public:
|
|||
*
|
||||
* @return the run index where the font and limit index were stored, or -1 if the data cannot be stored.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 add(const LEFontInstance *font, le_int32 limit);
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
@ -382,7 +382,7 @@ inline FontRuns::FontRuns(const LEFontInstance **fonts, const le_int32 *limits,
|
|||
* The <code>LocaleRuns</code> class associates pointers to <code>Locale</code>
|
||||
* objects with runs of text.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API LocaleRuns : public RunArray
|
||||
{
|
||||
|
@ -400,7 +400,7 @@ public:
|
|||
*
|
||||
* @param count is the number of entries in the two arrays.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count);
|
||||
|
||||
|
@ -413,14 +413,14 @@ public:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
LocaleRuns(le_int32 initialCapacity);
|
||||
|
||||
/**
|
||||
* The destructor; virtual so that subclass destructors are invoked as well.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual ~LocaleRuns();
|
||||
|
||||
|
@ -435,7 +435,7 @@ public:
|
|||
*
|
||||
* @see RunArray::getLimit
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const Locale *getLocale(le_int32 run) const;
|
||||
|
||||
|
@ -460,21 +460,21 @@ public:
|
|||
*
|
||||
* @return the run index where the locale and limit index were stored, or -1 if the data cannot be stored.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 add(const Locale *locale, le_int32 limit);
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
@ -518,7 +518,7 @@ inline LocaleRuns::LocaleRuns(const Locale **locales, const le_int32 *limits, le
|
|||
/**
|
||||
* The <code>ValueRuns</code> class associates integer values with runs of text.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
class U_LAYOUTEX_API ValueRuns : public RunArray
|
||||
{
|
||||
|
@ -535,7 +535,7 @@ public:
|
|||
*
|
||||
* @param count is the number of entries in the two arrays.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count);
|
||||
|
||||
|
@ -548,14 +548,14 @@ public:
|
|||
*
|
||||
* @see add
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
ValueRuns(le_int32 initialCapacity);
|
||||
|
||||
/**
|
||||
* The destructor; virtual so that subclass destructors are invoked as well.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual ~ValueRuns();
|
||||
|
||||
|
@ -570,7 +570,7 @@ public:
|
|||
*
|
||||
* @see RunArray::getLimit
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getValue(le_int32 run) const;
|
||||
|
||||
|
@ -594,21 +594,21 @@ public:
|
|||
*
|
||||
* @return the run index where the value and limit index were stored, or -1 if the data cannot be stored.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 add(le_int32 value, le_int32 limit);
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @draft ICU 2.6
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue