I want to set the size of a Sprite to a fixed pixel width/height. It seems like the method to do that doesn't exist, but we have setScale. Is the following the best approach to setting the size of a Sprite to fixed pixel dimensions or is there a better way? It seems works, but it seems like a hack and I feel like I'm missing some more straightforward way of doing this.
Size tTargetSize = Size( 100.0f, 200.0f );
Size tSizeOrig = tSprite->getContentSize();
tSprite->setScale( ( tTargetSize.width / tSizeOrig.width ), ( tTargetSize.height / tSizeOrig.height ) );