apply structure to graphics