cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCImage.h File Reference
#include "CCRef.h"
#include "CCTexture2D.h"

Classes

struct  MipmapInfo
 Structure which can tell where mipmap begins and how long is it. More...
 
class  Image
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 

Macros

#define CC_RGB_PREMULTIPLY_ALPHA(vr, vg, vb, va)

Macro Definition Documentation

#define CC_RGB_PREMULTIPLY_ALPHA (   vr,
  vg,
  vb,
  va 
)
Value:
(unsigned)(((unsigned)((unsigned char)(vr) * ((unsigned char)(va) + 1)) >> 8) | \
((unsigned)((unsigned char)(vg) * ((unsigned char)(va) + 1) >> 8) << 8) | \
((unsigned)((unsigned char)(vb) * ((unsigned char)(va) + 1) >> 8) << 16) | \
((unsigned)(unsigned char)(va) << 24))
var CC_RGB_PREMULTIPLY_ALPHA (   var,
  var,
  var,
  var 
)
Value:
(unsigned)(((unsigned)((unsigned char)(vr) * ((unsigned char)(va) + 1)) >> 8) | \
((unsigned)((unsigned char)(vg) * ((unsigned char)(va) + 1) >> 8) << 8) | \
((unsigned)((unsigned char)(vb) * ((unsigned char)(va) + 1) >> 8) << 16) | \
((unsigned)(unsigned char)(va) << 24))