MCPcopy Create free account
hub / github.com/Snapchat/Valdi / context

Method context

snap_drawing/test/utils/DisplayListBuilder.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 : displayList(Valdi::makeShared<DisplayList>(Size(width, height), TimePoint(0.0))) {}
9
10void DisplayListBuilder::context(Vector translation, Scalar opacity, BuilderCb&& cb) {
11 context(translation, opacity, 0, true, std::move(cb));
12}
13
14void DisplayListBuilder::context(const Matrix& matrix, Scalar opacity, BuilderCb&& cb) {
15 context(matrix, opacity, 0, true, std::move(cb));

Callers

nothing calls this directly

Calls 5

setTranslateXMethod · 0.80
setTranslateYMethod · 0.80
popContextMethod · 0.80
cbFunction · 0.50
pushContextMethod · 0.45

Tested by

no test coverage detected