Dan Walmsley
a4ebe5dbb5
add direct2d implementation.
5 years ago
Benedikt Schroeder
51437baf73
Properly scale fixed pitch fonts
6 years ago
Benedikt Schroeder
73ab16e68c
Fix Direct2D1 text rendering
6 years ago
Dariusz Komosinski
aff78fa662
Add default alpha and pixel formats to render interfaces.
6 years ago
Dariusz Komosinski
972587130b
Support passing alpha format to created bitmaps.
6 years ago
Dan Walmsley
a856b210fb
dont implement CreateScaleBitmap on Direct2d.
6 years ago
Dan Walmsley
6bb873d5bb
implement bitmap resize apis for direct2d
6 years ago
Dan Walmsley
ac65b4e717
Add documentation.
6 years ago
Dan Walmsley
0889318c57
Add createscaled bitmap
6 years ago
Dan Walmsley
663b91a8bf
Implement ability to decode a bitmap at a specified width or height.
6 years ago
Dan Walmsley
3995b8abb9
use default arguments for bitmap decoder options in platform backends.
6 years ago
Dan Walmsley
ba75735848
decode bitmaps at a specified size.
6 years ago
Nikita Tsukanov
d0b041095d
Inset box-shadow
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
7 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
7 years ago
Benedikt Schroeder
9d105c7dbb
Introduce a static FontManager that uses a platform implementation under the hood.
7 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
7 years ago
Dariusz Komosinski
1b869ff27b
Get rid of not needed interfaces.
7 years ago
Dariusz Komosiński
8534769435
Platform geometry implementations for D2D and Skia.
7 years ago
Jeffrey Ye
2ed745d493
#2222 Get all fonts in the system
7 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Benedikt Schroeder
e625f03c16
Use ID2D1Device instead of ID2D1Device1 to keep wi
8 years ago
Benedikt Schroeder
024e0da1da
Direct3DInterop fixes
8 years ago
Benedikt Schroeder
66bebd0c1b
Initial
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Benedikt Schroeder
5a5be9e767
Requested changes
8 years ago
Benedikt Schroeder
01444ccfee
FontFamily fallback
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
9 years ago
Steven Kirk
e7247a2c12
Added methods for creating D2D render layers.
Craetes a compatible render target depending on the type of `IRenderTargetBitmapImpl`.
9 years ago
Nikita Tsukanov
5125784af5
Missing file
9 years ago
Nikita Tsukanov
2f34c124e6
Added Direct2D-specific IExternalDirect2DRenderTargetSurface
9 years ago
Steven Kirk
3d76a5040c
Port Direct2D code from master.
9 years ago
Nikita Tsukanov
06aa7780fb
Moved Direct2D initialization away from static constructor
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
92331915b4
Enable SharpDX EnableReleaseOnFinalizer.
We need to enable to avoid memory leaks this as we're not doing cleanup
of SharpDX objects ourselves.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Steven Kirk
376535b198
Make IFormattedTextImpl immutable.
Previously `IFormattedTextImpl` had `SetForegroundBrush` which set
mutable state. Make `FormattedText` fully mutable (before it was kinda
mutable, kinda immutable) and create immutable `IFormattedTextImpl`s on
demand.
9 years ago
Steven Kirk
faf150c6d7
Make windowing subsystem select the renderer.
Direct2D selects `DeferredRenderer`, the GTK backends select
`ImmediateRenderer` for now.
9 years ago
Steven Kirk
289fa47304
Reworked immediate renderer.
It now doesn't use the render loop, but instead invalidates the window
and reacts to paint events.
9 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
9 years ago
Nikita Tsukanov
55eb55dc88
Removed INativeWindowPlatformSurface and added some docs
9 years ago
Nikita Tsukanov
374d600275
Added support for multiple drawing methods for window implementations. Added framebuffer support
9 years ago
Jeremy Koritzinsky
1fd692f262
Change implementation to be via different classes so as to not break invariants and pixel measurements.
9 years ago
Jeremy Koritzinsky
619e64ef1d
Remove DirectX 12 feature level choices. Device will be created with feature levels up to DirectX 11.1 (Windows 8), which is all we use.
9 years ago
Jeremy Koritzinsky
9d73868da7
Remove the VideoSupport flag because AppVeyor machines do not support it.
9 years ago
Jeremy Koritzinsky
e2ba8fb5bb
Make video support creation flag only be set when running on Windows 8 or newer (Direct3D11.1 or newer).
9 years ago