gamnit :: Texture :: subtexture
# Prepare a subtexture from this texture, from the given pixel offsets
fun subtexture(left, top, width, height: Numeric): Subtexture
do
return new AbsoluteSubtexture(self, left.to_f, top.to_f, width.to_f, height.to_f)
end
lib/gamnit/textures.nit:80,2--84,4