Mouse in SVGA 640 X 480 X 256 colors & GetImage

Since mouse driver may not be able to draw on SVGA mode, therefore I want to make a sprite driver for that. However I don't know how to draw out the sprite when the HOTX and HOTY are not 1. i.e. when the mouse position is (1,1) then the upper left corner of the sprite is something negative!

I have think of using PutImage and GetImage to draw the sprite, however this seems helpless to the situation as PutImage ignore any coordinate involved negative.

Please can anyone tell me how to do it? Also, can anyone tell me the machanism of GetImage and PutImage? What are store in the pointer variable and how it is store?

Help! I'm in need!!!


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories