Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ canvas
Method
canvas
snap_drawing/src/snap_drawing/cpp/Drawing/DrawingContext.cpp:115–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
113
}
114
115
SkCanvas* DrawingContext::canvas() {
116
if (_canvas == nullptr) {
117
_canvas = _recorder.beginRecording(_drawBounds.getSkValue());
118
}
119
120
return _canvas;
121
}
122
123
} // namespace snap::drawing
Callers
3
drawText
Method · 0.80
drawTextShadows
Method · 0.80
onDraw
Method · 0.80
Calls
1
getSkValue
Method · 0.80
Tested by
no test coverage detected