MCPcopy Create free account
hub / github.com/Profactor/cv-plot / updateSize

Method updateSize

CvPlot/inc/CvPlot/gui/Window.h:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131inline
132void Window::updateSize() {
133 if (!valid()) {
134 return;
135 }
136 auto rect = cv::getWindowImageRect(_windowName);
137 if(rect.size() != _mat.size()) {
138 update();
139 }
140}
141
142inline
143void Window::setMouseCallback() {

Callers 2

waitKeyMethod · 0.80
setMouseCallbackMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected