thorvg/src
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
..
bin svg2png: update the error messages. 2021-11-12 12:00:01 +09:00
bindings capi: missing arg description added 2021-12-17 11:21:08 +09:00
examples sw_engine texmap: implemented fast span-edge anti-aliasing 2021-12-16 15:56:20 +09:00
lib common: introduce iterator 2021-12-17 12:16:14 +09:00
loaders png_loaders: fix the wrong premultiplying operations. 2021-12-13 23:46:15 -08:00
savers all: fix compilation errors on non-windows clang 2021-11-17 20:55:26 +09:00
wasm WASM: unpremultiplyBuffer fixes (#999) 2021-11-05 10:32:41 +01:00
meson.build optimize binary size. 2021-11-03 20:04:12 +09:00