MeasureView and NoteView drawElement methods