issue #3667: Add DrawingPrimitive function for cc.DrawNode