UNPKG

@flyskywhy/react-native-gcanvas

Version:

A C++ native canvas 2D/WebGL component based on gpu opengl glsl shader GCanvas

7 lines (4 loc) 83 B
ctx.beginPath(); ctx.moveTo(0,0); ctx.lineTo(150*ratio,150*ratio); ctx.stroke();