get_preferred_size
Description:
Retrieves the natural size of the this, if any.
The natural size of a Content is defined as the size the content would have regardless of the allocation of the actor that is painting it, for instance the size of an image data.
Parameters:
this |
a Content |
width |
return location for the natural width of the content |
height |
return location for the natural height of the content |
Returns:
|