Add some factories for PrimitiveInfo
91a7b1f
This will make it easier to add new members in the future (for hit testing). We also make local_clip a LocalClip instead of an Option<LocalClip> because this should never be None.