setSourceSize can be invoked later.