Dali 3D User Interface Engine
Functions
anonymous_namespace{utc-Dali-NinePatchImages.cpp} Namespace Reference

Functions

Integration::BitmapCreateBitmap (unsigned int imageWidth, unsigned int imageHeight, unsigned int initialColor, Pixel::Format pixelFormat)
 
void InitialiseRegionsToZeroAlpha (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, Pixel::Format pixelFormat)
 
void AddStretchRegionsToImage (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, const Vector4 &requiredStretchBorder, Pixel::Format pixelFormat)
 
void AddChildRegionsToImage (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, const Vector4 &requiredChildRegion, Pixel::Format pixelFormat)
 
NinePatchImage CustomizeNinePatch (TestApplication &application, unsigned int ninePatchImageWidth, unsigned int ninePatchImageHeight, const Vector4 &requiredStretchBorder, bool addChildRegion=false, Vector4 requiredChildRegion=Vector4::ZERO)
 

Function Documentation

void anonymous_namespace{utc-Dali-NinePatchImages.cpp}::AddChildRegionsToImage ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
const Vector4 requiredChildRegion,
Pixel::Format  pixelFormat 
)
void anonymous_namespace{utc-Dali-NinePatchImages.cpp}::AddStretchRegionsToImage ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
const Vector4 requiredStretchBorder,
Pixel::Format  pixelFormat 
)
Integration::Bitmap* anonymous_namespace{utc-Dali-NinePatchImages.cpp}::CreateBitmap ( unsigned int  imageWidth,
unsigned int  imageHeight,
unsigned int  initialColor,
Pixel::Format  pixelFormat 
)
NinePatchImage anonymous_namespace{utc-Dali-NinePatchImages.cpp}::CustomizeNinePatch ( TestApplication application,
unsigned int  ninePatchImageWidth,
unsigned int  ninePatchImageHeight,
const Vector4 requiredStretchBorder,
bool  addChildRegion = false,
Vector4  requiredChildRegion = Vector4::ZERO 
)
void anonymous_namespace{utc-Dali-NinePatchImages.cpp}::InitialiseRegionsToZeroAlpha ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
Pixel::Format  pixelFormat 
)

Definition at line 39 of file utc-Dali-NinePatchImages.cpp.

References Dali::Integration::Bitmap::GetBuffer(), and Dali::Pixel::GetBytesPerPixel().

Referenced by CustomizeNinePatch(), and anonymous_namespace{utc-Dali-RendererFactory.cpp}::CustomizeNinePatch().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali