some hints on building tikzDevice