Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
QuestionHow to configure TCPIP programatically Pin
s196675m9-Dec-08 10:03
s196675m9-Dec-08 10:03 
AnswerRe: How to configure TCPIP programatically Pin
led mike9-Dec-08 10:59
led mike9-Dec-08 10:59 
Questionhow to detect exit event when i click X button on form? Pin
ping_jacob9-Dec-08 7:38
ping_jacob9-Dec-08 7:38 
AnswerRe: how to detect exit event when i click X button on form? Pin
Dave Kreskowiak9-Dec-08 7:48
mveDave Kreskowiak9-Dec-08 7:48 
QuestionSetting a GDI Transform Matrix Pin
baranils9-Dec-08 6:49
baranils9-Dec-08 6:49 
AnswerRe: Setting a GDI Transform Matrix Pin
User 66589-Dec-08 9:18
User 66589-Dec-08 9:18 
GeneralRe: Setting a GDI Transform Matrix Pin
baranils9-Dec-08 9:45
baranils9-Dec-08 9:45 
GeneralRe: Setting a GDI Transform Matrix Pin
baranils9-Dec-08 22:12
baranils9-Dec-08 22:12 
Thank you Greeed

I've tryed several ways to set a Transformmatrix with GDI but it does't work !

Here is what I'm doing outside the matrix :

X=(X-OfsetX)* Scale
Y=(Y-OfsetY)* Scale
Y=abs(Y-ImageHeight)


It works well

The real problem is the inversion of Y from the "real" world to an Image origin

If I set the Matrix as this

Matrix m=new Matrix();
m.Translate(-offset_Xf, -offset_Yf, MatrixOrder.Append);
m.Scale(scale_f, scale_f, MatrixOrder.Append);


My Y is reversed in the image

And I still do not find to set the matrix properly !
QuestionQuery takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 6:05
Reality Strikes9-Dec-08 6:05 
AnswerRe: Query takes a long time and then crashes............??? Pin
Le centriste9-Dec-08 6:55
Le centriste9-Dec-08 6:55 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 8:11
Reality Strikes9-Dec-08 8:11 
GeneralRe: Query takes a long time and then crashes............??? Pin
Le centriste9-Dec-08 8:16
Le centriste9-Dec-08 8:16 
GeneralRe: Query takes a long time and then crashes............??? Pin
led mike9-Dec-08 8:32
led mike9-Dec-08 8:32 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 8:39
Reality Strikes9-Dec-08 8:39 
GeneralRe: Query takes a long time and then crashes............??? Pin
led mike9-Dec-08 8:54
led mike9-Dec-08 8:54 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 8:56
Reality Strikes9-Dec-08 8:56 
GeneralRe: Query takes a long time and then crashes............??? Pin
led mike9-Dec-08 9:10
led mike9-Dec-08 9:10 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 9:16
Reality Strikes9-Dec-08 9:16 
GeneralRe: Query takes a long time and then crashes............??? Pin
led mike9-Dec-08 9:26
led mike9-Dec-08 9:26 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 9:36
Reality Strikes9-Dec-08 9:36 
GeneralRe: Query takes a long time and then crashes............??? Pin
led mike9-Dec-08 10:16
led mike9-Dec-08 10:16 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 10:25
Reality Strikes9-Dec-08 10:25 
GeneralRe: Query takes a long time and then crashes............??? Pin
J4amieC9-Dec-08 21:51
J4amieC9-Dec-08 21:51 
GeneralRe: Query takes a long time and then crashes............??? Pin
Reality Strikes9-Dec-08 8:37
Reality Strikes9-Dec-08 8:37 
GeneralRe: Query takes a long time and then crashes............??? Pin
Le centriste9-Dec-08 8:53
Le centriste9-Dec-08 8:53 

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.