Click here to Skip to main content
15,889,877 members
Home / Discussions / C#
   

C#

 
GeneralRe: Graphics problems Pin
Duong Tien Nam17-May-07 23:05
Duong Tien Nam17-May-07 23:05 
GeneralRe: Graphics problems Pin
Christian Graus17-May-07 23:21
protectorChristian Graus17-May-07 23:21 
GeneralRe: Graphics problems Pin
Duong Tien Nam17-May-07 23:51
Duong Tien Nam17-May-07 23:51 
AnswerRe: Graphics problems Pin
V.17-May-07 23:25
professionalV.17-May-07 23:25 
AnswerRe: Graphics problems Pin
Luc Pattyn18-May-07 0:16
sitebuilderLuc Pattyn18-May-07 0:16 
GeneralRe: Graphics problems Pin
Duong Tien Nam18-May-07 0:29
Duong Tien Nam18-May-07 0:29 
GeneralRe: Graphics problems Pin
Luc Pattyn18-May-07 1:01
sitebuilderLuc Pattyn18-May-07 1:01 
GeneralRe: Graphics problems Pin
Duong Tien Nam18-May-07 13:58
Duong Tien Nam18-May-07 13:58 
I understand your idea that create the transformation status in each shape instance, for example:

float _scaleOffsetX;<br />
float _scaleOffsetY;<br />
float _rotateAngle;<br />
float _movingOffsetX;<br />
float _movingOffsetY;


and then use this information to draw the shape.

But did you notice my _border field? It is the bound of the shape. Client will use it to determine the shape's position and size, so it has to change when any transformation of the shape has done. The problem is when you rotate the shape, you have to re-calculate the _border again and of course its not accuracy.

I know you and I is so close to the final solution, but it's still the gap...

I will think about your solution more carefully.
GeneralRe: Graphics problems Pin
Luc Pattyn18-May-07 14:47
sitebuilderLuc Pattyn18-May-07 14:47 
GeneralRe: Graphics problems Pin
Duong Tien Nam18-May-07 15:00
Duong Tien Nam18-May-07 15:00 
QuestionNamed Pipes Pin
Blue_Boy17-May-07 22:21
Blue_Boy17-May-07 22:21 
QuestionIs it possible to hide child replies until one clicks on the respectiveparent query? Pin
s a n t o s h17-May-07 21:58
s a n t o s h17-May-07 21:58 
AnswerRe: Is it possible to hide child replies until one clicks on the respectiveparent query? Pin
Christian Graus17-May-07 22:09
protectorChristian Graus17-May-07 22:09 
GeneralRe: Is it possible to hide child replies until one clicks on the respectiveparent query? Pin
Colin Angus Mackay17-May-07 22:38
Colin Angus Mackay17-May-07 22:38 
GeneralRe: Is it possible to hide child replies until one clicks on the respectiveparent query? Pin
Christian Graus17-May-07 22:54
protectorChristian Graus17-May-07 22:54 
AnswerRe: Is it possible to hide child replies until one clicks on the respectiveparent query? Pin
althamda17-May-07 22:38
althamda17-May-07 22:38 
AnswerRe: Is it possible to hide child replies until one clicks on the respectiveparent query? Pin
Pete O'Hanlon18-May-07 0:08
mvePete O'Hanlon18-May-07 0:08 
QuestionXmlReader problem Pin
Rolf Baxter17-May-07 21:55
Rolf Baxter17-May-07 21:55 
AnswerRe: XmlReader problem Pin
DavidNohejl17-May-07 22:01
DavidNohejl17-May-07 22:01 
GeneralRe: XmlReader problem Pin
Rolf Baxter17-May-07 22:22
Rolf Baxter17-May-07 22:22 
GeneralRe: XmlReader problem Pin
DavidNohejl17-May-07 22:33
DavidNohejl17-May-07 22:33 
QuestionIs it possible to hide replies util one clicks the respective query? Pin
s a n t o s h17-May-07 21:49
s a n t o s h17-May-07 21:49 
AnswerRe: Is it possible to hide replies util one clicks the respective query? Pin
blackjack215017-May-07 21:54
blackjack215017-May-07 21:54 
GeneralRe: Is it possible to hide replies util one clicks the respective query? Pin
Colin Angus Mackay17-May-07 22:37
Colin Angus Mackay17-May-07 22:37 
QuestionHope to use C# for ActiveX in Excel VBA. Success to call as COM, but fail to add the control from "Control Toolbox" as ActiveX Pin
C# User K17-May-07 21:44
C# User K17-May-07 21:44 

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.