def METHOD_NAME(self, mdc):
    rect = self.GetRect()
    self.shipBmpx = self.padding
    self.shipBmpy = (rect.height - self.shipBmp.GetWidth()) / 2
    self.shipBmpx -= self.animCount
    mdc.SetFont(self.fontBig)
    categoryName, fittings = self.fittingInfo
    wtext, htext = mdc.GetTextExtent(categoryName)
    self.catx = self.shipBmpx + self.shipBmp.GetWidth() + self.padding
    self.caty = (rect.height - htext) / 2