Here is a link to an interesting page regarding the calculus involved in the tilted cylinder. It's nice. Give a look if you're interested.

Inclined cylinder volume calculation for tanks and pipes.