  We analyze magnetic textures in a thin magnetic film and screening currents
induced by these textures in a superconducting film. The films are supposed to
be parallel and close to each other, but interact only via magnetic fields. We
consider also vortices inside superconducting film and their interaction with
magnetic textures. As examples of magnetic textures we consider magnetic dot
and magnetic vortex. We derive the condition at which spontaneous formation of
a vortex or a coupled vortex-magnetic defect is energetically favorable. It is
proven that the normal component of magnetic field generated by a magnetic dot
changes sign in the presence of the superconducting vortex.
