MoSync 3.3
MAUI::ImageGenerators Class Reference

Utility generating linear and circular gradients. More...

#include <MAUI/ImageGenerators.h>

List of all members.

Public Types

enum  AlphaMode { AM_NOALPHA, AM_WRITEALPHA, AM_USEALPHA }

Static Public Member Functions

static void linearGradient (MAHandle image, Point start, Point end, int startColor, int endColor, ImageGenerators::AlphaMode alphaMode=AM_WRITEALPHA)
static void circularGradient (MAHandle image, Point origo, int radius, int origoColor, int circleColor, ImageGenerators::AlphaMode alphaMode=AM_WRITEALPHA)

Detailed Description

Utility generating linear and circular gradients.


Member Enumeration Documentation

Enumerator:
AM_NOALPHA 
AM_WRITEALPHA 
AM_USEALPHA 

Member Function Documentation

static void MAUI::ImageGenerators::linearGradient ( MAHandle  image,
Point  start,
Point  end,
int  startColor,
int  endColor,
ImageGenerators::AlphaMode  alphaMode = AM_WRITEALPHA 
) [static]
static void MAUI::ImageGenerators::circularGradient ( MAHandle  image,
Point  origo,
int  radius,
int  origoColor,
int  circleColor,
ImageGenerators::AlphaMode  alphaMode = AM_WRITEALPHA 
) [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines