|
-
Dec 7th, 2015, 10:34 PM
#11
Re: [vb6] Class to make Image Controls Support PNG, TIF, GIF Animation
I just need render at my own position,how to do that?
Simple rules of thumb.
-- If using variables, surround them with parentheses, i.e., (x), (y)
-- You can use numbers as is, i.e., 0, 256
-- The destination coordinates and dimensions are in pixels (scale your destination parameters to pixels)
-- The source coordinates and dimensions are in himetrics (scale your source parameters to himetric)
Remember to use the negative height as shown in that other post of mine
Edited: Better yet, and forgot about this until I re-read my last post in that other project. Declare all coordinate & destination variables as Single. Then the only parameter that may cause type mismatch would be a variable holding the destination DC. In that case, surround that variable with parentheses. Scaling to correct scalemode still needed.
Last edited by LaVolpe; Dec 7th, 2015 at 10:43 PM.
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
|