cpattern:Reference()
Use cpattern:GetReferenceCount() to get the number of references to a Cairo pattern.