MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / GrabImage

Method GrabImage

Src/FrmViewer.cpp:567–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567QImage CFrmViewer::GrabImage(int x, int y, int w, int h)
568{
569 int width = w, height = h;
570 if(-1 == w)
571 width = m_DesktopSize.width();
572 if(-1 == w)
573 height = m_DesktopSize.height();
574 return m_Desktop.copy(x, y, width, height);
575}
576
577void CFrmViewer::slotRecordVideo(bool bRecord, qreal nRate)
578{

Callers 1

slotScreenShotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected