AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzBrush.h File Reference
#include "CzUtil.h"
#include "CzXoml.h"
#include "CzImage.h"

Go to the source code of this file.

Classes

class  IzBrush
class  CzBrushSolid
struct  CzBrushGradientStop
class  CzBrushGradient
class  CzBrushImage
class  CzBrushImage9
class  CzBrushCreator

Defines

#define CZ_NEW_IMAGE_BRUSH(brush, name, image, src_rect)
#define CZ_NEW_IMAGE9_BRUSH(brush, name, image, src_rect, scale_area)

Define Documentation

#define CZ_NEW_IMAGE9_BRUSH (   brush,
  name,
  image,
  src_rect,
  scale_area 
)
Value:
CzBrushImage9* brush = new CzBrushImage9();                         \
    brush->setName(name);                                               \
    brush->setImage(image);                                             \
    brush->setSrcRect(src_rect);                                        \
    brush->setScalableArea(scale_area);
#define CZ_NEW_IMAGE_BRUSH (   brush,
  name,
  image,
  src_rect 
)
Value:
CzBrushImage* brush = new CzBrushImage();               \
    brush->setName(name);                                   \
    brush->setImage(image);                                 \
    brush->setSrcRect(src_rect);