android::CPicture


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Android platform only

Corresponding class for Windows platform is here.

Corresponding class for Linux platform is here.

Implements class for working with images for Android platform.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

// Only JPEG and PNG formats are currently supported 
    class CPicture :public virtual IPicture
    {
    public:
        int getSupportedFormatCount() override;
        FORMAT getSupportedFormat(const int index) override;
        String getFilter() override;
    
        Bitmap Load(const String &filename) override;
        // Since 6.0.0 
        bool Load(const String &filename, ITexture *dest) override;
        // Since 6.2.0 
        bool Save(const String &filename, const Bitmap &bmp, const void *options = nullptr) override;
        bool Save(const String &filename, ITexture *texture, const void *options = nullptr) override;
    
        CPicture(CApplication *application);
    };
Namespace: nitisa::standard::android
Include: Standard/Platform/Android/Picture.h