I have tendonitis, do I need an xray?

Only if. There is concerns for a fractured bone.
Not necessarily. X-rays may sometimes show calcium deposits in chronic long-term tendinitis. However, most of the time, tendinitis can be properly diagnosed by your physician with a good old-fashioned physical exam.