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