MCPcopy Create free account
hub / github.com/DISTRHO/DPF / getWidth

Method getWidth

dgl/src/Window.cpp:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231uint Window::getWidth() const noexcept
232{
233 DISTRHO_SAFE_ASSERT_RETURN(pData->view != nullptr, 0);
234
235 const PuglSpan width = puglGetSizeHint(pData->view, PUGL_CURRENT_SIZE).width;
236 DISTRHO_SAFE_ASSERT(width > 0);
237 return width;
238}
239
240uint Window::getHeight() const noexcept
241{

Callers 15

displayMethod · 0.45
drawRectangleFunction · 0.45
loadFromMemoryMethod · 0.45
displayMethod · 0.45
beginFrameMethod · 0.45
ImageBaseAboutWindowMethod · 0.45
setImageMethod · 0.45
PrivateDataFunction · 0.45
setImageLayerCountMethod · 0.45
recheckAreaFunction · 0.45
onDisplayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected