capi: rename tvg_paint_get_bounds 70/268370/2
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 22 Dec 2021 02:30:51 +0000 (18:30 -0800)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 22 Dec 2021 02:34:26 +0000 (18:34 -0800)
Apply the changed code of 9db4a49

Change-Id: I101ec1b5ac3876a0cba76f4da97e953d0894e8f0

src/bindings/capi/thorvg_capi.h
src/bindings/capi/tvgCapi.cpp

index 0f99966..404f1ff 100644 (file)
@@ -855,8 +855,7 @@ TVG_EXPORT Tvg_Paint* tvg_paint_duplicate(Tvg_Paint* paint);
 *
 * \note The bounding box doesn't indicate the actual drawing region. It's the smallest rectangle that encloses the object.
 */
-//TIZEN_ONLY: RENAME TO tvg_paint_get_bounds() AFTER DUPLICATED API IS REMOVED
-TVG_EXPORT Tvg_Result _tvg_paint_get_bounds(const Tvg_Paint* paint, float* x, float* y, float* w, float* h, bool transformed);
+TVG_EXPORT Tvg_Result tvg_paint_get_bounds(const Tvg_Paint* paint, float* x, float* y, float* w, float* h, bool transformed);
 
 /*!
 * \brief Sets the composition target object and the composition method.
index 4ae221e..7c2fd12 100644 (file)
@@ -199,8 +199,7 @@ TVG_EXPORT Tvg_Result tvg_paint_get_opacity(const Tvg_Paint* paint, uint8_t* opa
 }
 
 
-//TIZEN_ONLY: RENAME TO tvg_paint_get_bounds() AFTER DUPLICATED API IS REMOVED
-TVG_EXPORT Tvg_Result _tvg_paint_get_bounds(const Tvg_Paint* paint, float* x, float* y, float* w, float* h, bool transformed)
+TVG_EXPORT Tvg_Result tvg_paint_get_bounds(const Tvg_Paint* paint, float* x, float* y, float* w, float* h, bool transformed)
 {
    if (!paint) return TVG_RESULT_INVALID_ARGUMENT;
    return (Tvg_Result) reinterpret_cast<const Paint*>(paint)->bounds(x, y, w, h, transformed);