Home > Back-end >  Good god, DELPHI7 to achieve scratchable latex or rotary draw function
Good god, DELPHI7 to achieve scratchable latex or rotary draw function

Time:11-16

Good god, DELPHI7 to achieve scratchable latex or the function of the rotary draw, who is a great god help give a development train of thought, or whether there is a small example, share appreciate ~ ~

CodePudding user response:

Each lottery, generate a random number n, scratchable latex nine image rotation around the center n times, stop is on the position of winning,

CodePudding user response:

Upstairs, excuse me how to make image rotation? Then the image for focus and lose focus on how to handle?

CodePudding user response:

引用 2nd floor KuaiLeTaiYangRen  的回复:
请问楼上,怎么样才能让图片旋转? Then the image for focus and lose focus on how to handle?


Two methods, change the position of each Image, every Image or to change the inside of the pictures,
Image is not the focus, can use a Bevel control the Image frame,

CodePudding user response:

Or stop rotation after the fall in the middle is on the picture, or in the middle of the picture is a big arrow indicates a winning position,

CodePudding user response:

Suggestion:
1, the rotation of the image by TImageList, deposited in the number of images, used to invoke, produce effect,
2, draw the data, generated by the random function, produce, will the number of the image, in the middle, four edges randomly into other random data image,

CodePudding user response:

reference 1st floor ooolinux response:
each lottery, generate a random number n, scratchable latex nine image rotation around the center n times, stop is on the position of winning,

Eight image rotation, the word count
  • Related