16,820
社区成员




Rectangle{
id:root
widht:640
height: 480
ToTexture{ id: toTexture} //a new type created by c++
MouseArea{
anchors.fill: parent
onClicked: {
toTexture.saveAsTexture(root)
}
}
}
我想把root当成图档抓下来,不知道能否办到?