Henri Verbeet
64ccd138a2
d2d1: d2d_bitmap_brush_init() can't fail.
2015-08-13 15:04:08 +09:00
Henri Verbeet
7bdc1ef899
d2d1: Get rid of a FIXME in d2d_bitmap_brush_init().
2015-08-13 15:04:06 +09:00
Henri Verbeet
7d801d67ed
d2d1: Get rid of a FIXME in d2d_solid_color_brush_init().
...
All properties for solid color brushes are implemented.
2015-08-13 15:04:04 +09:00
Francois Gouget
f8a7d6ed74
Assorted spelling fixes.
2015-08-07 23:50:48 +09:00
Henri Verbeet
91b9ce69b7
d2d1: Implement d2d_gradient_GetFactory().
2015-08-03 10:56:53 +02:00
Henri Verbeet
4e50527c17
d2d1: Implement d2d_solid_color_brush_GetFactory().
2015-08-03 10:56:51 +02:00
Henri Verbeet
8b893839bc
d2d1: Implement d2d_linear_gradient_brush_GetFactory().
2015-08-03 10:56:47 +02:00
Henri Verbeet
414d04e27d
d2d1: Implement d2d_bitmap_brush_GetFactory().
2015-08-03 10:56:44 +02:00
Henri Verbeet
52c412492f
d2d1: Bitmap values are always premultiplied in practice.
...
Since creating bitmaps with D2D1_ALPHA_MODE_UNKNOWN or
D2D1_ALPHA_MODE_STRAIGHT is not possible, and D2D1_ALPHA_MODE_IGNORE
behaves as if alpha == 1.0f.
2015-07-30 11:39:46 +02:00
Henri Verbeet
c4503779bb
d2d1: Take the bitmap's alpha mode into account in bitmap brushes.
2015-07-29 21:44:02 +02:00
Henri Verbeet
d742887b7f
d2d1: Implement d2d_bitmap_brush_SetBitmap().
2015-07-29 21:44:02 +02:00
Henri Verbeet
3b400cad34
d2d1: Fix the bitmap DPI scale for bitmap brushes.
2015-07-21 16:33:23 +02:00
Henri Verbeet
b33786ce6d
d2d1: Implement initial support for drawing bezier curves.
2015-07-20 11:50:20 +02:00
Henri Verbeet
3bb382aabb
d2d1: Introduce a separate function to construct pixel shader constant buffers for brushes.
2015-07-14 23:27:21 +09:00
Henri Verbeet
1f4e37659c
d2d1: Also bind the pixel shader and blend state in d2d_brush_bind_resources().
2015-07-14 23:27:21 +09:00
Henri Verbeet
abc84588d2
d2d1: Implement d2d_bitmap_brush_GetExtendModeY().
2015-04-28 15:34:10 +09:00
Henri Verbeet
0a02f346f6
d2d1: Implement d2d_bitmap_brush_SetExtendModeY().
2015-04-28 15:34:08 +09:00
Henri Verbeet
b940f2fd9e
d2d1: Implement d2d_bitmap_brush_GetExtendModeX().
2015-04-28 15:34:06 +09:00
Henri Verbeet
21a4a10879
d2d1: Implement d2d_bitmap_brush_SetExtendModeX().
2015-04-28 15:34:03 +09:00
Henri Verbeet
719dfff5bd
d2d1: Implement d2d_bitmap_brush_GetInterpolationMode().
2015-04-27 18:05:17 +09:00
Henri Verbeet
1014d9a105
d2d1: Implement d2d_bitmap_brush_SetInterpolationMode().
2015-04-27 18:05:15 +09:00
Henri Verbeet
168dd496cb
d2d1: Implement d2d_bitmap_brush_GetBitmap().
2015-04-24 14:29:45 +09:00
Henri Verbeet
287f751ae2
d2d1: Implement bitmap brush support for d2d_d3d_render_target_FillRectangle().
2015-02-06 22:20:22 +09:00
Henri Verbeet
81c51768a5
d2d1: Implement d2d_solid_color_brush_SetTransform().
2015-02-02 22:26:16 +09:00
Henri Verbeet
ecca626948
d2d1: Implement d2d_linear_gradient_brush_SetTransform().
2015-02-02 22:26:14 +09:00
Henri Verbeet
fce8603a39
d2d1: Implement d2d_bitmap_brush_SetTransform().
2015-02-02 22:26:12 +09:00
Henri Verbeet
88edc866ea
d2d1: Implement d2d_solid_color_brush_GetTransform().
2015-02-02 22:26:10 +09:00
Henri Verbeet
bbba52dc34
d2d1: Implement d2d_linear_gradient_brush_GetTransform().
2015-02-02 22:26:07 +09:00
Henri Verbeet
d41ee6e574
d2d1: Implement d2d_bitmap_brush_GetTransform().
2015-02-02 22:26:04 +09:00
Henri Verbeet
0cb8722837
d2d1: Implement d2d_d3d_render_target_CreateBitmapBrush().
2014-12-01 11:00:24 +01:00
Henri Verbeet
5cc7996b1f
d2d1: Implement d2d_solid_color_brush_GetOpacity().
2014-11-17 19:30:34 +09:00
Henri Verbeet
743d80fea5
d2d1: Implement d2d_solid_color_brush_SetOpacity().
2014-11-06 23:47:09 +09:00
Henri Verbeet
fd8b3ae572
d2d1: Implement d2d_solid_color_brush_GetColor().
2014-11-06 23:47:08 +09:00
Henri Verbeet
94cd81a45d
d2d1: Implement d2d_solid_color_brush_SetColor().
2014-11-06 23:47:07 +09:00
Henri Verbeet
7a72eb2dcd
d2d1: Add an initial d2d_d3d_render_target_FillRectangle() implementation.
2014-11-06 23:47:06 +09:00
Henri Verbeet
8db1df5097
d2d1: Implement d2d_gradient_GetGradientStops().
2014-11-03 20:31:52 +09:00
Henri Verbeet
5279ad5b9f
d2d1: Implement d2d_gradient_GetGradientStopCount().
2014-11-03 20:31:47 +09:00
Henri Verbeet
56a0e32317
d2d1: Pass the correct vtbl in d2d_linear_gradient_brush_init().
2014-11-03 20:31:44 +09:00
Henri Verbeet
fabfa59aea
widl: Handle aggregate returns in a MSVC compatible way.
...
Aggregates are returned through an implicit parameter after the this/interface
pointer. Note that this follows the C++ convention, affected methods are not
callable from C with the Microsoft headers.
2014-09-08 11:34:05 +02:00
Henri Verbeet
8583fc4a6c
d2d1: Implement d2d_d3d_render_target_CreateLinearGradientBrush().
2014-06-17 10:37:35 +02:00
Henri Verbeet
22a20e4016
d2d1: Implement d2d_d3d_render_target_CreateGradientStopCollection().
2014-06-17 10:37:33 +02:00
Henri Verbeet
cfde833140
d2d1: Implement d2d_d3d_render_target_CreateSolidColorBrush().
2014-06-17 10:37:31 +02:00