MCPcopy Create free account
hub / github.com/Robotips/uConfig / toGlobalPos

Method toGlobalPos

src/pdf_extract/datasheet.cpp:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276QRectF Datasheet::toGlobalPos(const QRectF &rect, Poppler::Page *page, int pageNumber)
277{
278 QRectF global = rect;
279 global.setY(rect.y() + page->pageSize().height() * pageNumber);
280 return rect;
281}
282
283QList<DatasheetPin *> Datasheet::extractPins(int numPage)
284{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected