// Copyright (c) 2018-2021, NVIDIA CORPORATION.  All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto.  Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//
#pragma once

#define OMNIUI_PYBIND_DOC_ImageWithProvider                                                                            \
    "The Image widget displays an image.\n"                                                                            \
    "The source of the image is specified as a URL using the source property. By default, specifying the width and height of the item causes the image to be scaled to that size. This behavior can be changed by setting the fill_mode property, allowing the image to be stretched or scaled instead. The property alignment controls where to align the scaled image.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_onStyleUpdated                                                             \
    "Reimplemented. Called when the style or the parent style is changed.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_prepareDraw                                                                \
    "Force call `ImageProvider::prepareDraw` to ensure the next draw call the image is loaded. It can be used to load the image for a hidden widget or to set the rasterization resolution.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_alignment                                                                  \
    "This property holds the alignment of the image when the fill policy is ePreserveAspectFit or ePreserveAspectCrop. By default, the image is centered.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_fillPolicy                                                                 \
    "Define what happens when the source image has a different size than the item.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_pixelAligned                                                               \
    "Prevents image blurring when it's placed to fractional position (like x=0.5, y=0.5)\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_ImageWithProvider                                                          \
    "Construct image with given ImageProvider. If the ImageProvider is nullptr, it gets the image URL from styling.\n"


#define OMNIUI_PYBIND_DOC_ImageWithProvider_ImageWithProvider01                                                        \
    "Construct image with given url. If the url is empty, it gets the image URL from styling.\n"
