The MASM Forum

General => The Workshop => Topic started by: K_F on March 06, 2014, 06:45:39 AM

Title: Continuing Direct2D..
Post by: K_F on March 06, 2014, 06:45:39 AM
Well.. I've come to the stage where I must learn D2D 'like a nerd' as this is the next stage of my 'leetle project'..
My way of learning.. is to decode the 'cryptic' MSDN by making notes... which I'll post here - maybe you'll also find it useful.

Anyway notes to date :

;---DIRECT2D-----------------------------------------------------------------------------------------------------------
https://www.dropbox.com/s/r2jbtqlrjj6w7hr/DIRECT2D_ENUMERATIONS.pdf (https://www.dropbox.com/s/r2jbtqlrjj6w7hr/DIRECT2D_ENUMERATIONS.pdf) (26/03/2014)
https://www.dropbox.com/s/oct12t0xxjeqfxs/DIRECT2D%20BASE%20STRUCTURES.pdf (https://www.dropbox.com/s/oct12t0xxjeqfxs/DIRECT2D%20BASE%20STRUCTURES.pdf) (26/03/2014)
https://www.dropbox.com/s/2jjec685aa1zdgz/DIRECT2D%20STRUCTURES.pdf (https://www.dropbox.com/s/2jjec685aa1zdgz/DIRECT2D%20STRUCTURES.pdf) (26/03/2014)
https://www.dropbox.com/s/kqhmam329ai92ki/DIRECT2D_HELPER_FUNCTIONS.pdf (https://www.dropbox.com/s/kqhmam329ai92ki/DIRECT2D_HELPER_FUNCTIONS.pdf) (26/03/2014)

https://www.dropbox.com/s/9z5epm12t6fp46d/DIRECT2D_INTERFACES.pdf (https://www.dropbox.com/s/9z5epm12t6fp46d/DIRECT2D_INTERFACES.pdf) (26/03/2014)
https://www.dropbox.com/s/kgrafesoncejhcw/DIRECT2D_ID2D1_CREATE_FACTORY.pdf (https://www.dropbox.com/s/kgrafesoncejhcw/DIRECT2D_ID2D1_CREATE_FACTORY.pdf)  (26/03/2014)
https://www.dropbox.com/s/h6v2dquoyjcu6jr/DIRECT2D_ID2D1_RENDER_TARGET.pdf (https://www.dropbox.com/s/h6v2dquoyjcu6jr/DIRECT2D_ID2D1_RENDER_TARGET.pdf)  (26/03/2014)

Early Diagrammatic Interfaces (will upgrade later)
https://www.dropbox.com/s/yczjdv35o8u8ygp/D2D_001.pdf (https://www.dropbox.com/s/yczjdv35o8u8ygp/D2D_001.pdf)
https://www.dropbox.com/s/xwt4dhidchfqihe/D2D_002.pdf (https://www.dropbox.com/s/xwt4dhidchfqihe/D2D_002.pdf)


;---DIRECT WRITE-----------------------------------------------------------------------------------------------------------
https://www.dropbox.com/s/h2txmqewj16kkq5/DIRECTWRITE_ENUMERATIONS.pdf (https://www.dropbox.com/s/h2txmqewj16kkq5/DIRECTWRITE_ENUMERATIONS.pdf) (27/03/2104)
https://www.dropbox.com/s/0c4v1i63kh5wd4h/DIRECTWRITE_STRUCTURES.pdf (https://www.dropbox.com/s/0c4v1i63kh5wd4h/DIRECTWRITE_STRUCTURES.pdf) (29/03/2014)
https://www.dropbox.com/s/u29zpk2ti6a1pgp/DIRECTWRITE_INTERFACES.pdf (https://www.dropbox.com/s/u29zpk2ti6a1pgp/DIRECTWRITE_INTERFACES.pdf) (31/03/2014)
https://www.dropbox.com/s/vuyzvu3jg6udywp/DIRECTWRITE_FUNCTIONS_EQUATES.pdf (https://www.dropbox.com/s/vuyzvu3jg6udywp/DIRECTWRITE_FUNCTIONS_EQUATES.pdf) (31/03/2104)



I'll add stuff as it goes...
:t

Updated the current files - All looks OK - Scream at me if I've left anything out or mistakes  :biggrin:
More INC files to go through - want to finish by the end of this week
8)


Title: Re: Continuing Direct2D..
Post by: K_F on March 15, 2014, 01:00:29 AM
Added the Interfaces pdf

I've put this in a hierarchical/inherited fashion from IUnknown 'downwards'
If I'm not mistaken I have the Vtable offsets correct here, but will have to update the other pdf's later.

I must 'recap' on COM as it's been a lonnngggg time  :biggrin:

Thanks to qWord for his INC files  :t
Title: Re: Continuing Direct2D..
Post by: K_F on March 17, 2014, 09:39:04 PM
Added Helper Functions... Nearly finished.. :icon_eek:

I must just go through all the parameters changing them to their correct 'assembler types'

:biggrin:
Title: Re: Continuing Direct2D..
Post by: Gunther on March 18, 2014, 04:11:08 AM
Thank you, K_F for your distribution. You're a hard working man. It's a good overview.

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 18, 2014, 11:33:30 AM
 :biggrin: :biggrin:
Thanks dude.. but it's still a mess to me.
The rest of this week I must put an organisational flow to it..

It's frustrating me.. maybe I should do something different for a few days then hit it again from the week-end.
I must get this finished as it's a big block in my project.. but it has to be done 'properly'..
;)
Title: Re: Continuing Direct2D..
Post by: Gunther on March 18, 2014, 08:58:56 PM
Hi K_F,

what's the goal of your project?

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 19, 2014, 01:23:07 AM
Very adaptable number crunching with 2D and 3D presentation and manipulation of results.

Maybe I'll call it.. VANC  :biggrin: :biggrin:
Title: Re: Continuing Direct2D..
Post by: dedndave on March 19, 2014, 05:45:18 AM
Adaptable Numeric Application Logic
Title: Re: Continuing Direct2D..
Post by: K_F on March 19, 2014, 06:20:11 PM
Edt: Deleted...

:badgrin:
Title: Re: Continuing Direct2D..
Post by: dedndave on March 19, 2014, 10:02:37 PM
 :biggrin:

how about....

Universal Really Adaptable Numerically Usable Subroutine

Programmable Environment Numerically Illogical Subroutine
Title: Re: Continuing Direct2D..
Post by: Gunther on March 21, 2014, 07:49:53 AM
Dave you're a cheeky monkey.

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 21, 2014, 09:32:30 AM
You should have seen my 'deleted' section
But as HUTCH says... this is a business/family forum..
:t :eusa_boohoo: :icon_mrgreen:
Title: Re: Continuing Direct2D..
Post by: anunitu on March 22, 2014, 12:10:05 AM
Dave,did you used to write Microsoft Dos manuals?
Title: Re: Continuing Direct2D..
Post by: dedndave on March 22, 2014, 03:12:33 PM
 :P
i did write some manuals for Sperry Flight Systems, back in the 80's
avionics maintenance manuals, written so a trained monkey could do it - very boring
in fact, i dozed off a couple times - lol
Title: Re: Continuing Direct2D..
Post by: jj2007 on March 22, 2014, 05:24:14 PM
Quote from: dedndave on March 19, 2014, 10:02:37 PM
Programmable Environment Numerically Illogical Subroutine

For that algo, you'll need the float unit control key 8)
Title: Re: Continuing Direct2D..
Post by: GoneFishing on March 23, 2014, 06:35:08 AM
Quote from: jj2007 on March 22, 2014, 05:24:14 PM
Quote from: dedndave on March 19, 2014, 10:02:37 PM
Programmable Environment Numerically Illogical Subroutine

For that algo, you'll need the float unit control key 8)
to control Probably Un-programmable  Secure Suckets Yummy

[EDIT]: Oh, my bad , of course , " ... Sockets Unit "
Title: Re: Continuing Direct2D..
Post by: K_F on March 26, 2014, 07:29:49 PM
I'm updating the docs according to qWord's latest info.
I've added a date stamp on the PDF file and at post No. 1, so one can check if you have the latest document.

:t
Title: Re: Continuing Direct2D..
Post by: Gunther on March 26, 2014, 07:31:15 PM
Hi K_F,

thank you for providing the actual material. Good work.

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 26, 2014, 08:55:41 PM
No problemo  :biggrin:

That's all done...Now for the other INC files
:t
Title: Re: Continuing Direct2D..
Post by: Gunther on March 27, 2014, 04:05:02 AM
Hi K_F,

Quote from: K_F on March 26, 2014, 08:55:41 PM
No problemo  :biggrin:

okay, that sounds a bit like Alf. :lol:

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 28, 2014, 12:40:57 AM
Clear the way.. Clear the way.. DIRECT WRITE coming though... :icon_mrgreen:

https://www.dropbox.com/s/h2txmqewj16kkq5/DIRECTWRITE_ENUMERATIONS.pdf (https://www.dropbox.com/s/h2txmqewj16kkq5/DIRECTWRITE_ENUMERATIONS.pdf) (27/03/2104)
Title: Re: Continuing Direct2D..
Post by: Gunther on March 28, 2014, 01:50:54 AM
Hi K_F,

another document. You're writing and writing ... A lot of good work and a good knowledge base. :t

Gunther

Title: Re: Continuing Direct2D..
Post by: K_F on March 28, 2014, 01:59:18 AM
Quote from: Gunther on March 28, 2014, 01:50:54 AM
You're writing and writing ...
Well, it's more... search, read, copy and paste...
I suppose one can call this 'writing' nowdays :biggrin:
Title: Re: Continuing Direct2D..
Post by: K_F on March 30, 2014, 04:11:12 AM
More goodies... Direct Write structures (there are a few unclear items here - I'll sort this out soonish)  :biggrin:

https://www.dropbox.com/s/0c4v1i63kh5wd4h/DIRECTWRITE_STRUCTURES.pdf (https://www.dropbox.com/s/0c4v1i63kh5wd4h/DIRECTWRITE_STRUCTURES.pdf) (29/03/2014)
Title: Re: Continuing Direct2D..
Post by: Gunther on March 30, 2014, 07:39:52 PM
Quote from: K_F on March 30, 2014, 04:11:12 AM
More goodies... Direct Write structures (there are a few unclear items here - I'll sort this out soonish)  :biggrin:

cool stuff, indeed.

Gunther
Title: Re: Continuing Direct2D..
Post by: K_F on March 31, 2014, 11:55:43 PM
Direct Write interfaces.... I'm going to by myself a bottle of red 'aviation juice' this afternoon  :bgrin:

https://www.dropbox.com/s/u29zpk2ti6a1pgp/DIRECTWRITE_INTERFACES.pdf (https://www.dropbox.com/s/u29zpk2ti6a1pgp/DIRECTWRITE_INTERFACES.pdf) (31/03/2014)

One or two items on DirectWrite functions and this section will be finished...
I must return to programming..sooon!! I'm going moggy with this stuff  :icon_eek:
:biggrin:

Title: Re: Continuing Direct2D..
Post by: K_F on April 01, 2014, 01:37:23 AM
This will wrap up Direct Write.. although this one is an oddball

https://www.dropbox.com/s/vuyzvu3jg6udywp/DIRECTWRITE_FUNCTIONS_EQUATES.pdf (https://www.dropbox.com/s/vuyzvu3jg6udywp/DIRECTWRITE_FUNCTIONS_EQUATES.pdf) (31/03/2104)

I was looking at the other INC file, DXGI and WIC - looks interesting and useful.
I think I'll spin those off quickly as get back to my project next week on a clean slate.