Note that there are some explanatory texts on larger screens.

plurals
  1. USAholio
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COdefault parameters are part of the language structure. When you see an equal sign in a function prototype it means that parameter will use the value to the right of the equal sign by default if no value is supplied. I added a link to a brief tutorial which explains this in more detail
      singulars
    2. COAt this point I am only trying to get a better understanding of what was happening. Now I am getting flicker free animation by clearing the canvas and redrawing everything. I was just curious as to why I got the flicker from a single draw call. My original assumption was that the canvas was persistent, so in theory locking/unlocking I was dealing with the same Surface. This is not the case, so locking/unlocking brings up a different Surface. This is what I have gathered so far. I was hoping to find better documentation on this behavior besides my own observations. Thanks again for the help
      singulars
    3. COThanks for the response. Is there some better documentation as to how this whole process works? I would think that if the Surface was destroyed between calls that I would have a blip rather than blinking text when there has only been one drawText() call. So either the Surface does get destroyed but is recreated at the same memory location, that way the 'dirty' memory looks like nothings changed; or, the Surface isn't destroyed, but 'should' be considered unreliable, perhaps because some other function might change it between lock/unlock calls. It would be nice to know exactly how this works.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload