linux::CPicture


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

This class is available on Linux platform only

Corresponding class for Windows platform is here.

Corresponding class for Android platform is here.

Implements class for working with images for Linux platform.

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

class CPicture :public virtual IPicture
    {
    public:
        int getSupportedFormatCount() override;
        FORMAT getSupportedFormat(const int index) override;
        String getFilter() override;
    
        Bitmap Load(const String &filename) override;
        bool Load(const String &filename, ITexture *dest) override;
        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();
    };
Namespace: nitisa::standard::linux
Include: Standard/Platform/Linux/Picture.h