The abstract class sf::Drawable has no methods to get the object size. If you use its descendants (sprite, text) they have appropriate methods (GetSize(), GetRect()). If you write your own descendant class of sf::Drawable, you should provide its specific methods.