// Copyright (c) 2020-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

#include "BindArrowHelper.h"
#include "BindShape.h"
#include "BindUtils.h"
#include "DocBezierCurve.h"

// clang-format off
#define OMNIUI_PYBIND_INIT_BezierCurve                                                                                 \
    OMNIUI_PYBIND_INIT_CALL(start_tangent_width, setStartTangentWidth, toLength)                                       \
    OMNIUI_PYBIND_INIT_CALL(start_tangent_height, setStartTangentHeight, toLength)                                     \
    OMNIUI_PYBIND_INIT_CALL(end_tangent_width, setEndTangentWidth, toLength)                                           \
    OMNIUI_PYBIND_INIT_CALL(end_tangent_height, setEndTangentHeight, toLength)                                         \
    OMNIUI_PYBIND_INIT_CALLBACK(mouse_hovered_fn, setMouseHoveredFn, void(bool))                                       \
    OMNIUI_PYBIND_INIT_Shape                                                                                           \
    OMNIUI_PYBIND_INIT_ArrowHelper

#define OMNIUI_PYBIND_KWARGS_DOC_BezierCurve                                                                           \
    "\nstart_tangent_width: "                                                                                          \
    OMNIUI_PYBIND_DOC_BezierCurve_startTangentWidth                                                                    \
    "\nstart_tangent_height: "                                                                                         \
    OMNIUI_PYBIND_DOC_BezierCurve_startTangentHeight                                                                   \
    "\nend_tangent_width: "                                                                                            \
    OMNIUI_PYBIND_DOC_BezierCurve_endTangentWidth                                                                      \
    "\nend_tangent_height: "                                                                                           \
    OMNIUI_PYBIND_DOC_BezierCurve_endTangentHeight                                                                     \
    "\nset_mouse_hovered_fn: "                                                                                         \
    OMNIUI_PYBIND_DOC_BezierCurve_setMouseHoveredFn                                                                    \
    OMNIUI_PYBIND_KWARGS_DOC_Shape
// clang-format on

#define OMNIUI_PYBIND_DOC_BezierCurve_MouseHovered OMNIUI_PYBIND_DOC_BezierCurve_setMouseHoveredFn
