MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / drawEnd

Function drawEnd

Source/Cache/SVGCache.cpp:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222static void drawEnd(SVGDef::Context* ctx, const FillStrokeData& data) {
223 drawFillStroke(ctx, data);
224 for (int i = 0; i < ctx->transformCounts.back(); i++) {
225 nvgRestore(ctx->nvg);
226 }
227 ctx->previousPathXY.pop_back();
228 ctx->transformCounts.pop_back();
229}
230
231struct CircleData {
232 float cx = 0.0f, cy = 0.0f, r = 0.0f;

Callers 1

xmlSAX2StartElementMethod · 0.85

Calls 4

drawFillStrokeFunction · 0.85
nvgRestoreFunction · 0.85
backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected