optimize 'draw2d::Apply()'