direct2d
How to implement the outline effect on text with WindowsAPICodePack?
I\'m still struggling on this issue after our other requirements are finished. I found we can use GeometrySink alike classes to implement th开发者_JAVA百科e outline effect; but I\'m not familiar with[详细]
2023-04-07 14:47 分类:问答Do Silverlight or WPF applications use Direct2D or DirectWrite to render fonts and UI?
I found a lot of info开发者_如何转开发rmation that IE9 uses DirectWrite and Direct2D instead of GDI for rendering UI. Is the same true for WPF and Silverlight applications?WPF renders on top of Direct[详细]
2023-03-17 02:55 分类:问答What are the best practices for multithreading with Direct2D & DXGI (D3D interop)?
I开发者_如何学编程deally I\'d like to have multiple worker threads to be able to render to off-screen render targets and then \'transfer\' the rendered content to the on-screen target. With hwnd rende[详细]
2023-03-11 15:45 分类:问答A skinning engine in Windows: draw “dirty” regions only or the whole window at once?
I want to make a skinning engine capable of drawing custom-shaped windows with alpha blending. That is, it\'ll use layered windows (UpdateLayeredWindow). A typical window will contain among its backgr[详细]
2023-03-05 17:39 分类:问答How do you draw a Direct2D canvas on to a TcxImage Canvas?
I have an Direct2D demo that creates a GridPatternBitmapBrush then draws the grid pattern on a TForm in a paint method.How do you get the Direct2D GridPatternBitmapBrush to appear on a TcxImage.Canvas[详细]
2023-03-01 18:12 分类:问答Directwrite: Getting a font's height
My objective: I want to get the height of an IDWriteTextFormat\'s font so I can calculate how many lines of text can fit in an IDWriteTextLayout of a certain height.[详细]
2023-02-23 13:51 分类:问答Do I need to recreate Direct2D sharable resources?
According to the documentation, even device-dependent resources are sharable among render targets when those render targets meet some conditions.[详细]
2023-02-18 14:13 分类:问答Smooth Video Rendering in C#
I am trying to find a way to render video in WPF with lower CPU usage than MediaElement. The goal is smooth and low CPU video playback as much as Direct3D/DirectDraw video rendering in C++ programming[详细]
2023-02-08 04:58 分类:问答Directx10: MSAA max texture size?
In DirectX 10, how do I find out the maximum texture size for a MSAA texture for a given sample count/quality?[详细]
2023-02-07 22:51 分类:问答GDI rendering to direct2D ID2D1BitmapRenderTarget is always transparent
I want to port my movie rendering software from DirectDraw to Direct2D. Because of compatibility issues, GDI rendering needs to be done on top of the image. To optimize performance I want to implement[详细]
2023-02-02 21:04 分类:问答