// just data to parent (layout/scene) coordinates, for size calculations SEXP qt_qmatrix_QGraphicsItem(SEXP rself, SEXP rinverted) { QGraphicsItem *self = unwrapQGraphicsItem(rself, QGraphicsItem); return asRMatrix(self->transform().toAffine(), asLogical(rinverted)); }