2 #ifndef _YI_IMAGE_ASSET_LOAD_PARAMS_H_ 3 #define _YI_IMAGE_ASSET_LOAD_PARAMS_H_ 44 void SetScaling(int32_t nWidth, int32_t nHeight);
92 #endif // _YI_IMAGE_ASSET_LOAD_PARAMS_H_ virtual ~CYIImageAssetLoadParams()
void SetLoadColorMode(LOAD_COLOR_MODE eLoadColorMode)
LOAD_COLOR_MODE
Definition: YiImageAssetLoadParams.h:28
CYIBitmap * GetTargetBitmap() const
Uses color mode CYIBitmap::COLOR_MODE_RGBA8888 with no dithering.
Definition: YiImageAssetLoadParams.h:31
The core bitmap container class used by You.i Engine.
Definition: YiBitmap.h:20
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
Asset loading parameters which are specific to image asset decoding.
Definition: YiImageAssetLoadParams.h:22
Uses color mode CYIBitmap::COLOR_MODE_RGBA4444 with dithering CYIBitmap::DITHERING_FLOYD_STEINBERG.
Definition: YiImageAssetLoadParams.h:33
void SetTargetBitmap(CYIBitmap *pBitmap)
CYIImageAssetLoadParams()
Base class for decoders which can accept specialized parameter objects.
Definition: YiAssetLoadParams.h:16
Uses color mode CYIBitmap::COLOR_MODE_RGBA4444 with no dithering.
Definition: YiImageAssetLoadParams.h:32
Uses color mode CYIBitmap::COLOR_MODE_RGB565 with dithering CYIBitmap::DITHERING_FLOYD_STEINBERG.
Definition: YiImageAssetLoadParams.h:35
static LOAD_COLOR_MODE GetEffectiveColorMode(LOAD_COLOR_MODE eLoadColorMode, int32_t nWidth, int32_t nHeight)
int32_t GetScalingHeight() const
Uses the default load color mode for the current build configuration. This is usually CYIBitmap::COLO...
Definition: YiImageAssetLoadParams.h:30
int32_t GetScalingWidth() const
Uses color mode CYIBitmap::COLOR_MODE_RGB565 with no dithering.
Definition: YiImageAssetLoadParams.h:34
LOAD_COLOR_MODE GetLoadColorMode() const
void SetScalingHeight(int32_t nHeight)
void SetScaling(int32_t nWidth, int32_t nHeight)
void SetScalingWidth(int32_t nWidth)