Click here to Skip to main content
15,559,567 members
Home / Discussions / C#
   

C#

 
GeneralRe: sharing internet offline files Pin
Mohamad Al Husseiny14-Jan-04 20:20
Mohamad Al Husseiny14-Jan-04 20:20 
GeneralGraph classes for C# Pin
crushinghellhammer13-Jan-04 14:50
crushinghellhammer13-Jan-04 14:50 
GeneralRe: Graph classes for C# Pin
scadaguy14-Jan-04 3:42
scadaguy14-Jan-04 3:42 
GeneralRe: Graph classes for C# Pin
Giles14-Jan-04 12:17
Giles14-Jan-04 12:17 
GeneralMarshalling from C# string directly to an MFC CString Pin
jerrycainjr13-Jan-04 14:14
jerrycainjr13-Jan-04 14:14 
GeneralRe: Marshalling from C# string directly to an MFC CString Pin
Heath Stewart14-Jan-04 4:43
protectorHeath Stewart14-Jan-04 4:43 
GeneralAnimating True Type Fonts Pin
mrhicks13-Jan-04 13:01
mrhicks13-Jan-04 13:01 
GeneralRe: Animating True Type Fonts Pin
Heath Stewart13-Jan-04 14:00
protectorHeath Stewart13-Jan-04 14:00 
First of all, .NET doesn't contain such low-level hooks. All you could do is draw the fonts yourself. I'm not even aware of any way to control fonts to such a degree exposed in the Win32 APIs and I've spent over a decade getting headaches from them (though such headaches might have lead to temporary blindness, causing me to miss such functionality Poke tongue | ;-P )! This would be a function of GDI so you could look into the documentation.

Besides, true type fonts don't really contain any data that would allow you to show how each character is drawn. They contain points that help with resizing but those aren't in any order that is representational to how a human would draw them.

Your best bet will be to - as you didn't want to do - use lines, beziers, etc., to draw the characters.

Might I recommend Macromedia Flash, though? I've seen a lot of examples of similar presentations that actually draw things in steps. You would also be able to easily host this in a web page (you can with .NET controls, but it requires the ~20 MB framework and a pre-installed security policy to allow your code form a specific site to run), any COM client, or even a .NET application (which can be a COM client).

If you wanted to use GDI+ in a .NET application, you would have to worry about all the animation. For example, if you use Graphics.DrawLine to draw a line, the line is just there. It won't be animated. You'd instead have to call Graphics.DrawLine repeatedly to draw longer and longer lines until you reached the desired length! Dead | X| That's easy, though, compared to curves - you would have to calculate each point in the spline or the start and sweep angles for arcs with each iteration of the animation! Dead | X| Dead | X|

You could use Managed DirectX - which will help you with graphics a little - but you'd still need to worry about creating a package to handle the character animation. Things like Flash and even DHTML with vector graphics already have this support - you just have to tell it how to animate what you want.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Animating True Type Fonts Pin
leppie13-Jan-04 14:45
leppie13-Jan-04 14:45 
GeneralGDI+ missing functionality in PocketPC Pin
Gizz13-Jan-04 8:52
Gizz13-Jan-04 8:52 
GeneralRe: GDI+ missing functionality in PocketPC Pin
Heath Stewart13-Jan-04 9:21
protectorHeath Stewart13-Jan-04 9:21 
GeneralRe: GDI+ missing functionality in PocketPC Pin
leppie13-Jan-04 14:54
leppie13-Jan-04 14:54 
GeneralUnexpected (buggy?) behavior of RichTextBox when ZoomFactor is 2.0 Pin
Roman R.13-Jan-04 8:20
Roman R.13-Jan-04 8:20 
GeneralRe: Unexpected (buggy?) behavior of RichTextBox when ZoomFactor is 2.0 Pin
Heath Stewart13-Jan-04 9:40
protectorHeath Stewart13-Jan-04 9:40 
GeneralComboBox events Pin
elena1234513-Jan-04 7:15
elena1234513-Jan-04 7:15 
GeneralRe: ComboBox events Pin
Nick Parker13-Jan-04 7:50
protectorNick Parker13-Jan-04 7:50 
GeneralRe: ComboBox events Pin
elena1234513-Jan-04 9:09
elena1234513-Jan-04 9:09 
GeneralRe: ComboBox events Pin
Heath Stewart13-Jan-04 9:49
protectorHeath Stewart13-Jan-04 9:49 
GeneralRe: ComboBox events Pin
elena1234513-Jan-04 11:14
elena1234513-Jan-04 11:14 
Generalunzip zip file Pin
murali_utr13-Jan-04 7:00
murali_utr13-Jan-04 7:00 
GeneralRe: unzip zip file Pin
Judah Gabriel Himango13-Jan-04 7:14
sponsorJudah Gabriel Himango13-Jan-04 7:14 
GeneralRe: unzip zip file Pin
murali_utr13-Jan-04 10:20
murali_utr13-Jan-04 10:20 
QuestionLicensing solution per SQL Database? Pin
Alex Korchemniy13-Jan-04 5:56
Alex Korchemniy13-Jan-04 5:56 
AnswerRe: Licensing solution per SQL Database? Pin
Heath Stewart13-Jan-04 6:39
protectorHeath Stewart13-Jan-04 6:39 
GeneralRe: Licensing solution per SQL Database? Pin
Alex Korchemniy13-Jan-04 6:49
Alex Korchemniy13-Jan-04 6:49 

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.