I didn't write anything for the drawing itself.
I give a x and y coordinates to the sprite and the sprite is positioned at these points. Maybe override the default draw function.

Is it possible to change the patternheight en width in runtime? (like the ex. in my previous post) If that would be possible then i don't need a scaling function for the normal (non-textured) blocks.