issue #2426:Add Drawprimitives.lua and Drawprimitives lua test sample