mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
Fixed compilation error
Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com> Change-Id: I30e9a48976cfdc8c44ef5db9338c78a4a758e7d7
This commit is contained in:
parent
fdef500c35
commit
24e9a29f31
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user