|
-
Dec 17th, 2002, 04:56 PM
#1
Thread Starter
Hyperactive Member
direct draw question
when you try to blt a surface that is partaily off the screen the entire surface is not shown is their a way that i can make it so that it will still show part of the surface??
-
Dec 17th, 2002, 06:09 PM
#2
Re: direct draw question
Originally posted by dogfish227
when you try to blt a surface that is partaily off the screen the entire surface is not shown is their a way that i can make it so that it will still show part of the surface??
Yes you have to alter the destination rect so it will fit the surface you are blt too....There is a clipper in DX that should do the job for you, but I have never seen anyone figuring out how to use it in full screen....
-
Dec 17th, 2002, 06:32 PM
#3
Thread Starter
Hyperactive Member
a clipper in DX that should do the job for you, but I have never seen anyone figuring out how to use it in full screen
hmm that doesnt sound good
well does anyone know how to use the clipper in DX
-
Dec 17th, 2002, 06:35 PM
#4
Are you doing it in a window or in full screen????
BTW it isn't that hard to do it whitout the cliper...you just have to calulate where you are blitting on the screen. And and the width, and see if iy goes out of the screen...if it does, set the source and dest rect to the size so it can fit on the surface you are blt to...
-
Dec 17th, 2002, 06:58 PM
#5
Thread Starter
Hyperactive Member
-
Dec 17th, 2002, 06:59 PM
#6
Thread Starter
Hyperactive Member
set the source and dest rect to the size so it can fit on the surface you are blt to...
wont this strech or in this case do the opposite and make the it smaller
-
Dec 17th, 2002, 07:08 PM
#7
Not if you change both of them...but if you chose the dest rect smaller or bigger then the source rect, then you would strech the picture...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|