6 ms·
Sure! Just locate the element you want to draw in, set up a 2d context, start a path, move to one end of the line, draw a line, and then stroke that line so it
by dceddia 10y ago
Sure! Just locate the element you want to draw in, set up a 2d context, start a path, move to one end of the line, draw a line, and then stroke that line so it fills in! How much simpler could it be really?
- reitanqild 10y ago> How much simpler could it be really? The howto could be a whole lot simpler it seems, see this example, helpfully provided by neckro23 https://news.ycombinator.com/item?id=11637866 https://news.ycombinator.com/item?id=11637866
- qb45 10y agoWelcome to the Internet and let me be your guide: http://www.bing.com/search?q=sarcasm http://www.bing.com/search?q=sarcasm I sincerely wish that the post you linked was sarcastic as well, but it was probably serious which makes the (former) QBasic programmer in me a little bit sad.
- reitanqild 10y agoI'm smiling now :-) I thought it was a well intended explanation that just wasn't detailed enough.
- EugeneOZ 10y agoIn QBasic it takes even less symbols than your response has :)
- dceddia 10y agoThis was intended as sarcasm ;)