I'm trying to HW-accelerate drawText operation (QGfxMine::drawText). It works but strings are not cutted (e.g. widget text oversteps widget's bounds). Standart QGfxRasterBase works well but I can't find code where it does such cutting. What should I do to cut strings correctly?