capi: rename tvg_paint_get_bounds 71/268371/1
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:39:58 +0000 (18:39 -0800)
Apply the changed code of 9db4a49

Change-Id: I93e0eb59e4acb3c465bca8f2421598fac758947f

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

index 0f99966f335221a8cb74e62eb8b0f3f423e2bdb7..404f1ffd11be5fcee94cc4ee55d27a38c4b49f7e 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 4ae221e520ec130a663b9d1ae09a05f3e5c68121..7c2fd128bc207b73187494c43b1bf8f08c6faba8 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);