Say your Smeargle's hidden power type is dragon, and the Pokemon you sketch's is water. When you sketch hidden power will it be a water type move or a dragon type move?
Hidden Power inflicts damage using a type and power determined by the user's IVs.
source So in your example, Smeargle's hidden power would be dragon type.