MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / commit_update

Method commit_update

src/CanvasComponents/CanvasComponentContainer.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void CanvasComponentContainer::commit_update(DrawingProgram& drawP) {
134 drawP.preupdate_component(&(*objInfo));
135 get_comp().initialize_draw_data(drawP);
136 calculate_world_bounds();
137 drawP.preupdate_component(&(*objInfo));
138}
139
140void CanvasComponentContainer::commit_transform(DrawingProgram& drawP) {
141 drawP.preupdate_component(&(*objInfo));

Callers 15

register_classMethod · 0.80
undo_redoMethod · 0.80
undo_redoMethod · 0.80
commit_dataMethod · 0.80
commit_dataMethod · 0.80
tool_updateMethod · 0.80
commitMethod · 0.80
tool_updateMethod · 0.80
commitMethod · 0.80
commit_eraseMethod · 0.80
switch_toolMethod · 0.80

Calls 2

preupdate_componentMethod · 0.45
initialize_draw_dataMethod · 0.45

Tested by

no test coverage detected