api: --inproper const syntax.
authorHermet Park <chuneon.park@samsung.com>
Wed, 2 Jun 2021 07:38:21 +0000 (16:38 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 7 Jun 2021 03:21:32 +0000 (12:21 +0900)
commit6c118b2bce43fcaf9b2b79a60b4aa702735ee971
treecadf42da1966eee28a79e274ee578658be2807f3
parent3d29ef50e058b9749dccb3feea5e5070f41c50d4
api: --inproper const syntax.

compoiste() requires internal data change, its api syntax should not contain "const"

though this changes the api spec, but won't affect build break
since it allows wider usage.

@API Modification

from:
Result Paint::composite(std::unique_ptr<Paint> target, CompositeMethod method) const noexcept

to:
Result Paint::composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept

Change-Id: Iece971c4635b0f636a066fa1292c59697cd24d46
inc/thorvg.h
src/lib/tvgPaint.cpp