Emoji.h File Reference

Softbank emoji access. This file goes with the emoji glyph image generated by another application. It maps the glyphs to a grid where a direct relationship between character and x,y location of the associated glyph is established. More...

Go to the source code of this file.

Defines

#define EMOJI_START   0xe001
 Start of the emoji character range.
#define EMOJI_END   0xe537
 End of the emoji character range.
#define EMOJI_CELL_SIZE   20
 Size of the graphics cells.
#define EMOJI_GROUP_X   16
 The width of each group in cells.
#define EMOJI_GROUP_Y   6
 The height of each group in cells.
#define EMOJI_GROUP(i)   (((i)-EMOJI_START) / 256)


Detailed Description

Softbank emoji access. This file goes with the emoji glyph image generated by another application. It maps the glyphs to a grid where a direct relationship between character and x,y location of the associated glyph is established.


Define Documentation

#define EMOJI_GROUP (  )     (((i)-EMOJI_START) / 256)

Emoji glyphs are grouped into blocks of 256, but only the first (6*16) are used. So we group them and chop out the whitespace in the glyph image. The rc parameter is a rectangle struct with x1, y1, x2, y2 parameters. If using Lgi then GRect is suitable, otherwise create your own class or struct with those members.


Generated on Wed May 11 07:51:55 2011 for Lgi by  doxygen 1.5.6