thorvg/inc
Hermet Park e947fef9a4 common: introduce iterator
+++

auto picture = tvg::Picture::gen();

auto func = [](const tvg::Paint* paint, const tvg::Paint* parent, bool hasChildren) -> int
{
    if (paint->identifier() == Shape::identifier())
        //TODO: override properties.

    //return true to continue, return false to stop.
    return true;
};

picture = tvg::Iteratorv::iterate(move(picture), func);
2021-12-17 12:16:14 +09:00
..
meson.build infra: install capi header file only its binding option is enabled. 2021-06-03 20:43:39 +09:00
thorvg.h common: introduce iterator 2021-12-17 12:16:14 +09:00