Click here to Skip to main content
15,511,353 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: Wordle Hurdle Pin
Kornfeld Eliyahu Peter6-Apr-22 0:08
professionalKornfeld Eliyahu Peter6-Apr-22 0:08 
GeneralRe: Wordle Hurdle Pin
Amarnath S5-Apr-22 20:57
professionalAmarnath S5-Apr-22 20:57 
GeneralRe: Wordle Hurdle Pin
den2k885-Apr-22 21:44
professionalden2k885-Apr-22 21:44 
GeneralRe: Wordle Hurdle Pin
dan!sh 5-Apr-22 22:05
professional dan!sh 5-Apr-22 22:05 
GeneralRe: Wordle Hurdle Pin
DRHuff6-Apr-22 12:16
DRHuff6-Apr-22 12:16 
GeneralRe: Wordle Hurdle Pin
0x01AA5-Apr-22 22:38
professional0x01AA5-Apr-22 22:38 
GeneralRe: Wordle Hurdle Pin
Greg Utas6-Apr-22 1:50
mveGreg Utas6-Apr-22 1:50 
GeneralSplit Personality User Controls. Pin
Gerry Schmitz5-Apr-22 8:25
mveGerry Schmitz5-Apr-22 8:25 
User controls in UWP and WPF have a top, left, width and height; and an implied angle of zero degrees.

So I can move them around by altering the top, left coordinates with code at run time.

My user controls have "facings": front (top), back (bottom), left, right. I get to "face" them in different directions by rotating them around a center point.

Rotating the controls has NO effect on the original coordinates (though the "visual" rotates), so I have to calculate (matrix transform) the rotated coordinates myself for collision detection etc.; and reference the original coordinates when I want to move.

In effect, I almost wind up working with 2 controls at the same time; with only the center points in common.

My OCD question is: what would you call the "first" user control versus the second, rotated one?

I'm at "actual" and "visual" but not quite satisfied.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Split Personality User Controls. Pin
0x01AA5-Apr-22 8:29
professional0x01AA5-Apr-22 8:29 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz5-Apr-22 8:32
mveGerry Schmitz5-Apr-22 8:32 
QuestionRe: Split Personality User Controls. Pin
Randor 5-Apr-22 8:46
professional Randor 5-Apr-22 8:46 
AnswerRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 11:41
mveGerry Schmitz6-Apr-22 11:41 
GeneralRe: Split Personality User Controls. Pin
PIEBALDconsult5-Apr-22 9:05
professionalPIEBALDconsult5-Apr-22 9:05 
GeneralRe: Split Personality User Controls. Pin
k50545-Apr-22 9:32
mvek50545-Apr-22 9:32 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 11:48
mveGerry Schmitz6-Apr-22 11:48 
GeneralRe: Split Personality User Controls. Pin
Gary R. Wheeler5-Apr-22 12:15
Gary R. Wheeler5-Apr-22 12:15 
GeneralRe: Split Personality User Controls. Pin
Randor 5-Apr-22 12:40
professional Randor 5-Apr-22 12:40 
GeneralRe: Split Personality User Controls. Pin
Gary R. Wheeler5-Apr-22 12:43
Gary R. Wheeler5-Apr-22 12:43 
GeneralRe: Split Personality User Controls. Pin
jsc425-Apr-22 23:44
professionaljsc425-Apr-22 23:44 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 11:54
mveGerry Schmitz6-Apr-22 11:54 
GeneralRe: Split Personality User Controls. Pin
Marc Clifton5-Apr-22 16:19
mvaMarc Clifton5-Apr-22 16:19 
GeneralRe: Split Personality User Controls. Pin
David O'Neil5-Apr-22 20:24
professionalDavid O'Neil5-Apr-22 20:24 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 11:55
mveGerry Schmitz6-Apr-22 11:55 
QuestionRe: Split Personality User Controls. Pin
David O'Neil6-Apr-22 12:17
professionalDavid O'Neil6-Apr-22 12:17 
AnswerRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 13:04
mveGerry Schmitz6-Apr-22 13:04 

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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   581 votes