Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRebar and Toolbars Pin
fgabrieli19-Sep-03 11:30
fgabrieli19-Sep-03 11:30 
GeneralFont dialog problems Pin
halblonious19-Sep-03 11:12
halblonious19-Sep-03 11:12 
Generalperformance question Pin
Gary Kirkham19-Sep-03 10:59
Gary Kirkham19-Sep-03 10:59 
GeneralRe: performance question Pin
Joe Woodbury19-Sep-03 12:35
professionalJoe Woodbury19-Sep-03 12:35 
GeneralRe: performance question Pin
Tim Smith19-Sep-03 12:40
Tim Smith19-Sep-03 12:40 
GeneralRe: performance question Pin
Gary Kirkham19-Sep-03 13:26
Gary Kirkham19-Sep-03 13:26 
GeneralRe: performance question Pin
Gary R. Wheeler20-Sep-03 3:28
Gary R. Wheeler20-Sep-03 3:28 
GeneralRe: performance question Pin
Gary Kirkham20-Sep-03 11:52
Gary Kirkham20-Sep-03 11:52 
Gary R. Wheeler wrote:
I would assume that this is a memory-intensive process in that you need to have the 'source' and 'destination' bitmaps present at the same time.

yes...it does this pixel by pixel. it finds 4 source pixels for every destination pixel (based on the scale transformation) so it can interpolate four colors (RGBA) to come up with the destination pixel. it interpolates in each direction x, y. this requires that I find adjacent pixels on two rows and two columns that bound the calculated source pixel location.

I suspose that if I did linear interpolation, instead of bi-linear, and just dealt with a row at a time it would be faster...just don't know how it would look.

I don't know if this makes sense...it's not that complicated, just hard to explain. If you have a better approach I would like to see it.

Gary Kirkham

A working Program is one that has only unobserved bugs

I thought I wanted a career, turns out I just wanted paychecks
GeneralRe: performance question Pin
Gary R. Wheeler20-Sep-03 14:13
Gary R. Wheeler20-Sep-03 14:13 
Generalpassing data structures Pin
Sirrius19-Sep-03 10:36
Sirrius19-Sep-03 10:36 
GeneralRe: passing data structures Pin
Michael Dunn19-Sep-03 11:11
sitebuilderMichael Dunn19-Sep-03 11:11 
GeneralRe: passing data structures Pin
Sirrius19-Sep-03 14:36
Sirrius19-Sep-03 14:36 
GeneralRe: passing data structures Pin
Sirrius19-Sep-03 13:00
Sirrius19-Sep-03 13:00 
GeneralWord wrap in Rich Edit and multiline edit Pin
insanely42019-Sep-03 9:07
insanely42019-Sep-03 9:07 
GeneralRe: Word wrap in Rich Edit and multiline edit Pin
David Pritchard1-Jun-04 14:21
David Pritchard1-Jun-04 14:21 
GeneralFinding the sum of all intergers between x & y Pin
pam128819-Sep-03 9:03
pam128819-Sep-03 9:03 
GeneralRe: Finding the sum of all intergers between x & y Pin
Tim Deveaux19-Sep-03 9:31
Tim Deveaux19-Sep-03 9:31 
GeneralRe: Finding the sum of all intergers between x & y Pin
Tim Smith19-Sep-03 9:34
Tim Smith19-Sep-03 9:34 
GeneralRe: Finding the sum of all intergers between x & y Pin
Tim Smith19-Sep-03 9:34
Tim Smith19-Sep-03 9:34 
GeneralRe: Finding the sum of all intergers between x & y Pin
Harco19-Sep-03 9:40
Harco19-Sep-03 9:40 
Generalinhereted static member referencing Pin
Harco19-Sep-03 8:58
Harco19-Sep-03 8:58 
GeneralRe: inhereted static member referencing Pin
antlers19-Sep-03 12:07
antlers19-Sep-03 12:07 
GeneralExport CWnd* from DLL Pin
Mathias S.19-Sep-03 8:26
Mathias S.19-Sep-03 8:26 
GeneralMessages to derived CWnd object on CFormView Pin
Anonymous19-Sep-03 8:23
Anonymous19-Sep-03 8:23 
GeneralOnPaint() as opposed to OnDraw() Pin
ComboController19-Sep-03 8:14
ComboController19-Sep-03 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.