Drawing Line

implict's picture

I want to draw line by mouse click & drag. When a mouse is clicked, the mouse's position should be a new start point of line drawn. And the line should remain continuously on the view. So I need to get each mouse position queue whenever mouse is clicked. Please check my composition.

PreviewAttachmentSize
drawing3.qtz64.16 KB

implict's picture
Re: Drawing Line

I tried to draw line using source over patch. However, GL Line Structure patch seems like that color 1 and color2 inputs do not work correctly. It shows different color with the original color except white. It is so weird.

PreviewAttachmentSize
drawing2.qtz65.04 KB