cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LabelTextFormatProtocol Class Referenceabstract

#include <CCLabelTextFormatProtocol.h>

Inheritance diagram for LabelTextFormatProtocol:
Label

Public Member Functions

virtual cocos2d::SpritegetSpriteChild (int ID) const =0
local getSpriteChild ( local ID)
virtual cocos2d::ArraygetChildrenLetters () const =0
local getChildrenLetters ()
virtual cocos2d::SpritegetSpriteForChar (unsigned short int theChar, int spriteIndexHint)=0
local getSpriteForChar ( local theChar, local spriteIndexHint)
virtual float getLetterPosXLeft (cocos2d::Sprite *sp) const =0
virtual float getLetterPosXRight (cocos2d::Sprite *sp) const =0
var getLetterPosXRight ( var sp)
local getLetterPosXRight ( local sp)
virtual int getCommonLineHeight () const =0
virtual int getKerningForCharsPair (unsigned short first, unsigned short second) const =0
var getKerningForCharsPair ( var first, var second)
local getKerningForCharsPair ( local first, local second)
virtual int getXOffsetForChar (unsigned short c) const =0
local getXOffsetForChar ( local c)
virtual int getYOffsetForChar (unsigned short c) const =0
local getYOffsetForChar ( local c)
virtual int getAdvanceForChar (unsigned short c, int hintPositionInString) const =0
local getAdvanceForChar ( local c, local hintPositionInString)
virtual cocos2d::Rect getRectForChar (unsigned short c) const =0
virtual int getStringNumLines () const =0
virtual int getStringLenght () const =0
virtual unsigned short getCharAtStringPosition (int position) const =0
local getCharAtStringPosition ( local position)
virtual unsigned short * getUTF8String () const =0
local getUTF8String ()
virtual void assignNewUTF8String (unsigned short *newString)=0
virtual TextHAlignment getTextAlignment () const =0
local getTextAlignment ()
virtual float getMaxLineWidth () const =0
virtual bool breakLineWithoutSpace () const =0
var breakLineWithoutSpace ()
local breakLineWithoutSpace ()
virtual cocos2d::Size getLabelContentSize () const =0
local getLabelContentSize ()
virtual void setLabelContentSize (const Size &newSize)=0

Member Function Documentation

virtual void assignNewUTF8String ( unsigned short *  newString)
pure virtual

Implemented in Label.

var assignNewUTF8String ( var  newString)
pure virtual

Implemented in Label.

local assignNewUTF8String ( local  newString)
pure virtual

Implemented in Label.

virtual bool breakLineWithoutSpace ( ) const
pure virtual

Implemented in Label.

var breakLineWithoutSpace ( )
pure virtual

Implemented in Label.

local breakLineWithoutSpace ( )
pure virtual

Implemented in Label.

virtual int getAdvanceForChar ( unsigned short  c,
int  hintPositionInString 
) const
pure virtual

Implemented in Label.

var getAdvanceForChar ( var  c,
var  hintPositionInString 
)
pure virtual

Implemented in Label.

local getAdvanceForChar ( local  c,
local  hintPositionInString 
)
pure virtual

Implemented in Label.

virtual unsigned short
getCharAtStringPosition
( int  position) const
pure virtual

Implemented in Label.

var getCharAtStringPosition ( var  position)
pure virtual

Implemented in Label.

local getCharAtStringPosition ( local  position)
pure virtual

Implemented in Label.

virtual cocos2d::Array*
getChildrenLetters
( ) const
pure virtual

Implemented in Label.

var getChildrenLetters ( )
pure virtual

Implemented in Label.

local getChildrenLetters ( )
pure virtual

Implemented in Label.

virtual int getCommonLineHeight ( ) const
pure virtual

Implemented in Label.

var getCommonLineHeight ( )
pure virtual

Implemented in Label.

local getCommonLineHeight ( )
pure virtual

Implemented in Label.

virtual int getKerningForCharsPair ( unsigned short  first,
unsigned short  second 
) const
pure virtual

Implemented in Label.

var getKerningForCharsPair ( var  first,
var  second 
)
pure virtual

Implemented in Label.

local getKerningForCharsPair ( local  first,
local  second 
)
pure virtual

Implemented in Label.

virtual cocos2d::Size
getLabelContentSize
( ) const
pure virtual

Implemented in Label.

var getLabelContentSize ( )
pure virtual

Implemented in Label.

local getLabelContentSize ( )
pure virtual

Implemented in Label.

virtual float getLetterPosXLeft ( cocos2d::Sprite sp) const
pure virtual

Implemented in Label.

var getLetterPosXLeft ( var  sp)
pure virtual

Implemented in Label.

local getLetterPosXLeft ( local  sp)
pure virtual

Implemented in Label.

virtual float getLetterPosXRight ( cocos2d::Sprite sp) const
pure virtual

Implemented in Label.

var getLetterPosXRight ( var  sp)
pure virtual

Implemented in Label.

local getLetterPosXRight ( local  sp)
pure virtual

Implemented in Label.

virtual float getMaxLineWidth ( ) const
pure virtual

Implemented in Label.

var getMaxLineWidth ( )
pure virtual

Implemented in Label.

local getMaxLineWidth ( )
pure virtual

Implemented in Label.

virtual cocos2d::Rect
getRectForChar
( unsigned short  c) const
pure virtual

Implemented in Label.

var getRectForChar ( var  c)
pure virtual

Implemented in Label.

local getRectForChar ( local  c)
pure virtual

Implemented in Label.

virtual cocos2d::Sprite*
getSpriteChild
( int  ID) const
pure virtual

Implemented in Label.

var getSpriteChild ( var  ID)
pure virtual

Implemented in Label.

local getSpriteChild ( local  ID)
pure virtual

Implemented in Label.

virtual cocos2d::Sprite*
getSpriteForChar
( unsigned short int  theChar,
int  spriteIndexHint 
)
pure virtual

Implemented in Label.

var getSpriteForChar ( var  theChar,
var  spriteIndexHint 
)
pure virtual

Implemented in Label.

local getSpriteForChar ( local  theChar,
local  spriteIndexHint 
)
pure virtual

Implemented in Label.

virtual int getStringLenght ( ) const
pure virtual

Implemented in Label.

var getStringLenght ( )
pure virtual

Implemented in Label.

local getStringLenght ( )
pure virtual

Implemented in Label.

virtual int getStringNumLines ( ) const
pure virtual

Implemented in Label.

var getStringNumLines ( )
pure virtual

Implemented in Label.

local getStringNumLines ( )
pure virtual

Implemented in Label.

virtual TextHAlignment
getTextAlignment
( ) const
pure virtual

Implemented in Label.

var getTextAlignment ( )
pure virtual

Implemented in Label.

local getTextAlignment ( )
pure virtual

Implemented in Label.

virtual unsigned short*
getUTF8String
( ) const
pure virtual

Implemented in Label.

var getUTF8String ( )
pure virtual

Implemented in Label.

local getUTF8String ( )
pure virtual

Implemented in Label.

virtual int getXOffsetForChar ( unsigned short  c) const
pure virtual

Implemented in Label.

var getXOffsetForChar ( var  c)
pure virtual

Implemented in Label.

local getXOffsetForChar ( local  c)
pure virtual

Implemented in Label.

virtual int getYOffsetForChar ( unsigned short  c) const
pure virtual

Implemented in Label.

var getYOffsetForChar ( var  c)
pure virtual

Implemented in Label.

local getYOffsetForChar ( local  c)
pure virtual

Implemented in Label.

virtual void setLabelContentSize ( const Size newSize)
pure virtual

Implemented in Label.

var setLabelContentSize ( var  newSize)
pure virtual

Implemented in Label.

local setLabelContentSize ( local  newSize)
pure virtual

Implemented in Label.


The documentation for this class was generated from the following file: