Click here to Skip to main content
15,892,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Moore's brother's Law Pin
KarstenK1-Jun-21 20:39
mveKarstenK1-Jun-21 20:39 
GeneralRe: Moore's brother's Law Pin
OriginalGriff1-Jun-21 21:41
mveOriginalGriff1-Jun-21 21:41 
GeneralRe: Moore's brother's Law Pin
  Forogar  2-Jun-21 2:32
professional  Forogar  2-Jun-21 2:32 
GeneralRe: Moore's brother's Law Pin
Mike Hankey2-Jun-21 2:23
mveMike Hankey2-Jun-21 2:23 
GeneralRe: Moore's brother's Law Pin
theoldfool2-Jun-21 1:04
professionaltheoldfool2-Jun-21 1:04 
GeneralRe: Moore's brother's Law Pin
Peter_in_27802-Jun-21 1:11
professionalPeter_in_27802-Jun-21 1:11 
GeneralRe: Moore's brother's Law Pin
dandy722-Jun-21 3:57
dandy722-Jun-21 3:57 
QuestionWhat's more intuitive? Pin
honey the codewitch1-Jun-21 18:30
mvahoney the codewitch1-Jun-21 18:30 
Let's say I'm drawing a bitmap from one source to a destination.

I can specify the source and destination rectangles, and the resize options, which can be bicubic, bilinear, "fast" or crop.

If the destination rectangle is flipped horizontally or vertically, the bitmap will be drawn flipped

When it's cropped and flipped though things get interesting.

say my source rect is 32x32 and destination rect is 64x64, meaning my final rect (unflipped) would be
 ____
|11  |
|22  |
|    |
|____|

Where 11/22 is my source rows of bitmap data and the rest ends up being "blank". This is because the dest rect was 4x the size of the source rect.

Now if I flip it vertically, is it more intuitive for it to draw like this?
 ____
|22  |
|11  |
|    |
|____|

or this?
 ____
|    |
|    |
|22  |
|11__|


Currently I'm doing the latter.
Real programmers use butterflies

AnswerRe: What's more intuitive? Pin
Daniel Pfeffer1-Jun-21 19:18
professionalDaniel Pfeffer1-Jun-21 19:18 
GeneralRe: What's more intuitive? Pin
honey the codewitch1-Jun-21 20:31
mvahoney the codewitch1-Jun-21 20:31 
AnswerRe: What's more intuitive? Pin
Tom Deketelaere1-Jun-21 20:05
professionalTom Deketelaere1-Jun-21 20:05 
GeneralRe: What's more intuitive? Pin
honey the codewitch1-Jun-21 20:29
mvahoney the codewitch1-Jun-21 20:29 
AnswerRe: What's more intuitive? Pin
megaadam1-Jun-21 21:03
professionalmegaadam1-Jun-21 21:03 
AnswerRe: What's more intuitive? Pin
Nelek1-Jun-21 21:36
protectorNelek1-Jun-21 21:36 
GeneralRe: What's more intuitive? Pin
honey the codewitch1-Jun-21 22:10
mvahoney the codewitch1-Jun-21 22:10 
GeneralRe: What's more intuitive? Pin
Nelek2-Jun-21 8:25
protectorNelek2-Jun-21 8:25 
GeneralRe: What's more intuitive? Pin
honey the codewitch2-Jun-21 8:31
mvahoney the codewitch2-Jun-21 8:31 
GeneralRe: What's more intuitive? Pin
Nelek2-Jun-21 10:32
protectorNelek2-Jun-21 10:32 
GeneralHow Can a Site Know My nickname? Pin
BernardIE53171-Jun-21 12:18
BernardIE53171-Jun-21 12:18 
GeneralRe: How Can a Site Know My nickname? Pin
Maximilien1-Jun-21 14:09
Maximilien1-Jun-21 14:09 
GeneralRe: How Can a Site Know My nickname? Pin
charlieg1-Jun-21 14:56
charlieg1-Jun-21 14:56 
GeneralRe: How Can a Site Know My nickname? Pin
BernardIE53171-Jun-21 15:37
BernardIE53171-Jun-21 15:37 
GeneralRe: How Can a Site Know My nickname? Pin
KarstenK1-Jun-21 20:42
mveKarstenK1-Jun-21 20:42 
GeneralRe: How Can a Site Know My nickname? Pin
megaadam1-Jun-21 21:06
professionalmegaadam1-Jun-21 21:06 
GeneralRe: How Can a Site Know My nickname? Pin
Nelek1-Jun-21 21:39
protectorNelek1-Jun-21 21:39 

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.