In the attachment a small weekend goody :biggrin:
Runtime requirements: Windows Vista+, SSE3
Building requirements: MASMv8+ and latest MASM32 SDK
Usage:
Use the left mouse button for dragging the view (remarks that it takes time to calculate the image) or, if the control-key is down, to select a range to zoom in. The mouse wheel is used for zooming in and out.
Keys:
- VK_R: recalculate fractal image
- VK_O: restore original zoom
- VK_C: open gradient-tool window
Tool window: the handholds for the colors can be dragged with the mouse. A right mouse click opens the context menu (insert/delete/sel.color).
qWord
The d2d1.dll can't be found.
I have the directx sdk with the d2d1.lib .h but not .dll.
Is it another pleasure of microsoft who say "you haven't buy my last system" ?:eusa_dance:
Hi qWord,
works fine under Windows 7-64 and very fast. Well done. Thank you for the sources, too. :t
Gunther
QuoteIs it another pleasure of microsoft who say "you haven't buy my last system" ?
Yep. Unfortunately, this seems to work only in WindowsVista and above. I couldnĀ“t find the d2d1.dll for winxp yet.
Anyway, if someone wants some examples in C) for d2d i found some on the developerĀ“s site
http://blogs.technet.com/b/thomasolsen/archive/2008/10/29/introducing-the-microsoft-direct2d-api.aspx#pi47623=10
http://blogs.msdn.com/b/tmulcahy/
Cool code, works perfect.