#include #include #include namespace mbgl { namespace style { Image::Image(std::string id, PremultipliedImage &&image, const float pixelRatio, bool sdf) : impl(makeMutable(std::move(id), std::move(image), pixelRatio, sdf)) { } std::string Image::getID() const { return impl->id; } const PremultipliedImage& Image::getImage() const { return impl->image; } bool Image::isSdf() const { return impl->sdf; } float Image::getPixelRatio() const { return impl->pixelRatio; } } // namespace style } // namespace mbgl