Thank you all for your replies.
I carefully read the response from expert smcneil and basically understood the issue. What I'm doing indeed involves three layers. If all software elements are on the same layer, then the code truly cannot achieve what I want. Now I either need to:
@smcneil Also, may I ask the expert about the wiki explanation of _DISPLAYORDER? Does it mean at most one software image layer and two hardware image layers? Because when I tried to set hardware2, I got a syntax error.
@740, I had been searching for a method to draw relatively clear Go stones and tried both raylib and svg approaches you mentioned. After studying related posts, I decided to use the svg method because raylib relies more on external libraries, and all drawing needs to use raylib functions, which is more complicated. Thank you for your articles.
Thank you again. This has been very helpful to me.
I carefully read the response from expert smcneil and basically understood the issue. What I'm doing indeed involves three layers. If all software elements are on the same layer, then the code truly cannot achieve what I want. Now I either need to:
Code: (Select All)
t& = _NewImage(800, 600, 32)
_Dest t&
Line (0, 0)-(799, 599), Peach, BF
board_hw& = _CopyImage(t&, 33)
_Dest 0
FreeImage t&
Or make the red square into a hardware image as well. Only then will it comply with the display order and requirements.@smcneil Also, may I ask the expert about the wiki explanation of _DISPLAYORDER? Does it mean at most one software image layer and two hardware image layers? Because when I tried to set hardware2, I got a syntax error.
@740, I had been searching for a method to draw relatively clear Go stones and tried both raylib and svg approaches you mentioned. After studying related posts, I decided to use the svg method because raylib relies more on external libraries, and all drawing needs to use raylib functions, which is more complicated. Thank you for your articles.
Thank you again. This has been very helpful to me.

