Register
Welcome Guest (Log In or Join our Community)
Welcome Guest (Log In or Join our Community)
The_Decryptor's Blog,
Contains a mannequin, two Shot Glasses, Sexy Sleepwear, and Wine.
Contains a mannequin, two Shot Glasses, Sexy Sleepwear, and Wine.
|
Comments
Posted by The_Decryptor on Oct 12 2009, 06:19 · 6 Comments
![]() It certainly doesn't look like much (really just making it output something to make sure the drawing calls are working), but this app's GUI is entirely drawn by Direct2D, and even better so is the child control (the white rectangle with yellow-green rounded rectangle) There's apparently no documentation for child controls (using the SlimDX libraries at least), but once you work out how to do it (Make sure you pass a PixelFormat with Alpha set to ignore) it's easy. Also, this lets me access DirectWrite, which is a much better text rendering API than Windows has previously offered (for non WPF apps at least) Edit: And nice bug in the uploadr Mike! Edit 2: Yay DirectWrite! ![]() Unfortunately the binding's are missing an API call that lets me do font enumeration, so I have to rely on the old .NET stuff, which isn't aware of full family names and doesn't list PostScript fonts. #2 Posted by The_Decryptor on Oct 13 2009, 11:38
Well, if MS Office was ported to use Direct2D and DirectWrite entirely, it'd run faster and have nicer looking documents on the computer (although they might still do their odd layout system based on printer settings)
Pretty much anything using DirectWrite will be faster and produce nicer looking text than the GDI rendering API, Web Browsers and other such apps that display lots of text would get a good boost (They're looking to implement it in Firefox, some version of it anyway). maybe they are going to do just that with O2010... anyway do you know good site to learn VB.NET 2008(+) ?
#4 Posted by The_Decryptor on Oct 22 2009, 04:37
I'd like to see them do it with the next Office version, unfortunately there are some really old backwards compatibility requirements that could negate some of the benefits.
As for how I learnt VB, I started messing around with BASIC on a second/third hand Commodore 64 I got, then I got myself a VB6 book that came with a free copy of the IDE, I just played around with that trying things out, then I moved to .NET with VB2003 (which I paid for, just to see MS release the next version for free cool.
actually i was trying to say in another word "i went to learn VB.NET,do you know a good site for that?" preferably for VB 2008 This post has been edited by Ci7: Oct 22 2009, 16:35 #6 Posted by The_Decryptor on Oct 25 2009, 03:49
Ehh, no, sorry.
Never used any sites, I learned the syntax through trial and error (mainly from the old manual I found for the Commodore 64) |
|


This post has been edited by neudera: Oct 13 2009, 10:48