Fixed compilation error

Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com>
Change-Id: I30e9a48976cfdc8c44ef5db9338c78a4a758e7d7
This commit is contained in:
Ilya Tihobaev 2024-07-04 13:46:41 +03:00
parent fdef500c35
commit 24e9a29f31

View File

@ -517,7 +517,8 @@ napi_value JsPen::GetFillPath(napi_env env, napi_callback_info info)
JsMatrix* matrix = nullptr;
GET_UNWRAP_PARAM(ARGC_THREE, matrix);
return CreateJsValue(env, pen->GetFillPath(*src->GetPath(),
*dst->GetPath(), rect, matrix->GetMatrix() ? *matrix->GetMatrix().get() : Matrix()));
*dst->GetPath(), isRectNullptr != napi_null ? &rect : nullptr,
matrix->GetMatrix() ? *matrix->GetMatrix().get() : Matrix()));
}
Pen* JsPen::GetPen()