|
ReactOS 0.4.17-dev-934-g091855f
|
#include "wine/debug.h"#include "wine/list.h"#include <assert.h>#include <limits.h>#include <stdint.h>#include <stdbool.h>#include <math.h>#include "d2d1_3.h"#include "d2d1effectauthor.h"#include "d3d11_1.h"#include "dwrite_2.h"

Go to the source code of this file.
Classes | |
| struct | d2d_settings |
| struct | d2d_clip_stack |
| struct | d2d_error_state |
| struct | d2d_shape_resources |
| struct | d2d_brush_cb |
| struct | d2d_ps_cb |
| struct | d2d_vec4 |
| struct | d2d_vs_cb |
| struct | d2d_device_context_ops |
| struct | d2d_indexed_objects |
| struct | d2d_device_context |
| struct | d2d_wic_render_target |
| struct | d2d_dc_render_target |
| struct | d2d_hwnd_render_target |
| struct | d2d_bitmap_render_target |
| struct | d2d_gradient |
| struct | d2d_brush |
| struct | d2d_stroke_style |
| struct | d2d_layer |
| struct | d2d_mesh |
| struct | d2d_bitmap |
| struct | d2d_state_block |
| struct | d2d_curve_vertex |
| struct | d2d_face |
| struct | d2d_outline_vertex |
| struct | d2d_curve_outline_vertex |
| struct | d2d_geometry |
| struct | d2d_device |
| struct | d2d_effect_context |
| struct | d2d_effect_property |
| struct | d2d_effect_properties |
| struct | d2d_effect_registration |
| struct | d2d_factory |
| struct | d2d_transform |
| struct | d2d_render_info |
| struct | d2d_transform_node |
| struct | d2d_transform_node_connection |
| struct | d2d_transform_graph |
| struct | d2d_effect |
| struct | d2d_vertex_buffer |
| struct | d2d_command_list |
Macros | |
| #define | COBJMACROS |
Variables | |
| struct d2d_settings | d2d_settings |
| #define COBJMACROS |
Definition at line 30 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_BRUSH_TYPE_SOLID | |
| D2D_BRUSH_TYPE_LINEAR | |
| D2D_BRUSH_TYPE_RADIAL | |
| D2D_BRUSH_TYPE_BITMAP | |
| D2D_BRUSH_TYPE_IMAGE | |
| D2D_BRUSH_TYPE_COUNT | |
Definition at line 39 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_COMMAND_LIST_STATE_INITIAL | |
| D2D_COMMAND_LIST_STATE_ERROR | |
| D2D_COMMAND_LIST_STATE_OPEN | |
| D2D_COMMAND_LIST_STATE_CLOSED | |
Definition at line 822 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_SAMPLER_INTERPOLATION_MODE_COUNT | |
| D2D_SAMPLER_EXTEND_MODE_COUNT | |
Definition at line 149 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_TARGET_UNKNOWN | |
| D2D_TARGET_BITMAP | |
| D2D_TARGET_COMMAND_LIST | |
Definition at line 155 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_GEOMETRY_STATE_INITIAL | |
| D2D_GEOMETRY_STATE_ERROR | |
| D2D_GEOMETRY_STATE_OPEN | |
| D2D_GEOMETRY_STATE_CLOSED | |
| D2D_GEOMETRY_STATE_FIGURE | |
Definition at line 464 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_RENDER_INFO_PIXEL_SHADER | |
Definition at line 741 of file d2d1_private.h.
| Enumerator | |
|---|---|
| D2D_SHAPE_TYPE_OUTLINE | |
| D2D_SHAPE_TYPE_BEZIER_OUTLINE | |
| D2D_SHAPE_TYPE_ARC_OUTLINE | |
| D2D_SHAPE_TYPE_TRIANGLE | |
| D2D_SHAPE_TYPE_CURVE | |
| D2D_SHAPE_TYPE_COUNT | |
Definition at line 49 of file d2d1_private.h.
|
inlinestatic |
Definition at line 981 of file d2d1_private.h.
Referenced by d2d_bitmap_brush_SetInterpolationMode(), and d2d_device_context_DrawBitmap().
|
inlinestatic |
Definition at line 897 of file d2d1_private.h.
Referenced by d2d_cdt_create_edge(), d2d_clip_stack_push(), d2d_command_list_reference_object(), d2d_command_list_require_space(), d2d_device_add_indexed_object(), d2d_effect_properties_internal_add(), d2d_effect_set_input_count(), d2d_ellipse_geometry_init(), d2d_figure_add_bezier_controls(), d2d_figure_add_original_bezier_controls(), d2d_figure_add_vertex(), d2d_figure_insert_bezier_controls(), d2d_figure_insert_vertex(), d2d_geometry_fill_add_arc_triangle(), d2d_geometry_intersections_add(), d2d_geometry_outline_add_arc_quadrant(), d2d_geometry_outline_add_bezier_segment(), d2d_geometry_outline_add_join(), d2d_geometry_outline_add_line_segment(), d2d_path_geometry_add_figure(), d2d_path_geometry_add_fill_face(), d2d_rectangle_geometry_init(), and d2d_rounded_rectangle_geometry_init().
| HRESULT d2d_bitmap_brush_create | ( | ID2D1Factory * | factory, |
| ID2D1Bitmap * | bitmap, | ||
| const D2D1_BITMAP_BRUSH_PROPERTIES1 * | bitmap_brush_desc, | ||
| const D2D1_BRUSH_PROPERTIES * | brush_desc, | ||
| struct d2d_brush ** | brush | ||
| ) |
Definition at line 1076 of file brush.c.
Referenced by d2d_device_context_CreateBitmapBrush(), d2d_device_context_draw_bitmap(), and d2d_device_context_ID2D1DeviceContext_CreateBitmapBrush().
| HRESULT d2d_bitmap_create | ( | struct d2d_device_context * | context, |
| D2D1_SIZE_U | size, | ||
| const void * | src_data, | ||
| UINT32 | pitch, | ||
| const D2D1_BITMAP_PROPERTIES1 * | desc, | ||
| struct d2d_bitmap ** | bitmap | ||
| ) |
Definition at line 423 of file bitmap.c.
Referenced by d2d_bitmap_create_from_wic_bitmap(), d2d_device_context_CreateBitmap(), and d2d_device_context_ID2D1DeviceContext_CreateBitmap().
| HRESULT d2d_bitmap_create_from_wic_bitmap | ( | struct d2d_device_context * | context, |
| IWICBitmapSource * | bitmap_source, | ||
| const D2D1_BITMAP_PROPERTIES1 * | desc, | ||
| struct d2d_bitmap ** | bitmap | ||
| ) |
Definition at line 659 of file bitmap.c.
Referenced by d2d_device_context_CreateBitmapFromWicBitmap(), and d2d_device_context_ID2D1DeviceContext_CreateBitmapFromWicBitmap().
| HRESULT d2d_bitmap_create_shared | ( | struct d2d_device_context * | context, |
| REFIID | iid, | ||
| void * | data, | ||
| const D2D1_BITMAP_PROPERTIES1 * | desc, | ||
| struct d2d_bitmap ** | bitmap | ||
| ) |
Definition at line 522 of file bitmap.c.
Referenced by d2d_device_context_CreateBitmapFromDxgiSurface(), and d2d_device_context_CreateSharedBitmap().
| HRESULT d2d_bitmap_render_target_init | ( | struct d2d_bitmap_render_target * | render_target, |
| const struct d2d_device_context * | parent_target, | ||
| const D2D1_SIZE_F * | size, | ||
| const D2D1_SIZE_U * | pixel_size, | ||
| const D2D1_PIXEL_FORMAT * | format, | ||
| D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS | options | ||
| ) |
Definition at line 728 of file bitmap_render_target.c.
Referenced by d2d_device_context_CreateCompatibleRenderTarget().
| void d2d_brush_bind_resources | ( | struct d2d_brush * | brush, |
| struct d2d_device_context * | context, | ||
| unsigned int | brush_idx | ||
| ) |
Definition at line 1573 of file brush.c.
Referenced by d2d_device_context_draw().
Definition at line 1372 of file brush.c.
Referenced by d2d_device_context_update_ps_cb().
| void d2d_command_list_begin_draw | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context | ||
| ) |
Definition at line 676 of file command_list.c.
Referenced by d2d_device_context_BeginDraw().
| void d2d_command_list_clear | ( | struct d2d_command_list * | command_list, |
| const D2D1_COLOR_F * | color | ||
| ) |
Definition at line 746 of file command_list.c.
Referenced by d2d_device_context_Clear().
| HRESULT d2d_command_list_create | ( | ID2D1Factory * | factory, |
| struct d2d_command_list ** | command_list | ||
| ) |
Definition at line 498 of file command_list.c.
Referenced by d2d_device_context_CreateCommandList().
| void d2d_command_list_draw_bitmap | ( | struct d2d_command_list * | command_list, |
| ID2D1Bitmap * | bitmap, | ||
| const D2D1_RECT_F * | dst_rect, | ||
| float | opacity, | ||
| D2D1_INTERPOLATION_MODE | interpolation_mode, | ||
| const D2D1_RECT_F * | src_rect, | ||
| const D2D1_MATRIX_4X4_F * | perspective_transform | ||
| ) |
Definition at line 999 of file command_list.c.
Referenced by d2d_device_context_DrawBitmap(), and d2d_device_context_ID2D1DeviceContext_DrawBitmap().
| void d2d_command_list_draw_geometry | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| ID2D1Geometry * | geometry, | ||
| ID2D1Brush * | orig_brush, | ||
| float | stroke_width, | ||
| ID2D1StrokeStyle * | stroke_style | ||
| ) |
Definition at line 780 of file command_list.c.
Referenced by d2d_device_context_DrawGeometry().
| void d2d_command_list_draw_glyph_run | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| D2D1_POINT_2F | origin, | ||
| const DWRITE_GLYPH_RUN * | run, | ||
| const DWRITE_GLYPH_RUN_DESCRIPTION * | run_desc, | ||
| ID2D1Brush * | orig_brush, | ||
| DWRITE_MEASURING_MODE | measuring_mode | ||
| ) |
Definition at line 919 of file command_list.c.
Referenced by d2d_device_context_draw_glyph_run().
| void d2d_command_list_draw_image | ( | struct d2d_command_list * | command_list, |
| ID2D1Image * | image, | ||
| const D2D1_POINT_2F * | target_offset, | ||
| const D2D1_RECT_F * | image_rect, | ||
| D2D1_INTERPOLATION_MODE | interpolation_mode, | ||
| D2D1_COMPOSITE_MODE | composite_mode | ||
| ) |
Definition at line 1027 of file command_list.c.
Referenced by d2d_device_context_DrawImage().
| void d2d_command_list_draw_line | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| D2D1_POINT_2F | p0, | ||
| D2D1_POINT_2F | p1, | ||
| ID2D1Brush * | orig_brush, | ||
| float | stroke_width, | ||
| ID2D1StrokeStyle * | stroke_style | ||
| ) |
Definition at line 756 of file command_list.c.
Referenced by d2d_device_context_DrawLine().
| void d2d_command_list_draw_rectangle | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| const D2D1_RECT_F * | rect, | ||
| ID2D1Brush * | orig_brush, | ||
| float | stroke_width, | ||
| ID2D1StrokeStyle * | stroke_style | ||
| ) |
Definition at line 803 of file command_list.c.
Referenced by d2d_device_context_DrawRectangle().
| void d2d_command_list_fill_geometry | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| ID2D1Geometry * | geometry, | ||
| ID2D1Brush * | orig_brush, | ||
| ID2D1Brush * | orig_opacity_brush | ||
| ) |
Definition at line 825 of file command_list.c.
Referenced by d2d_device_context_FillGeometry().
| void d2d_command_list_fill_mesh | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| ID2D1Mesh * | mesh, | ||
| ID2D1Brush * | orig_brush | ||
| ) |
Definition at line 1053 of file command_list.c.
Referenced by d2d_device_context_FillMesh().
| void d2d_command_list_fill_opacity_mask | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| ID2D1Bitmap * | bitmap, | ||
| ID2D1Brush * | orig_brush, | ||
| const D2D1_RECT_F * | dst_rect, | ||
| const D2D1_RECT_F * | src_rect | ||
| ) |
Definition at line 1073 of file command_list.c.
Referenced by d2d_device_context_FillOpacityMask(), and d2d_device_context_ID2D1DeviceContext_FillOpacityMask().
| void d2d_command_list_fill_rectangle | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| const D2D1_RECT_F * | rect, | ||
| ID2D1Brush * | orig_brush | ||
| ) |
Definition at line 855 of file command_list.c.
Referenced by d2d_device_context_FillRectangle().
| void d2d_command_list_pop_clip | ( | struct d2d_command_list * | command_list | ) |
Definition at line 707 of file command_list.c.
Referenced by d2d_device_context_PopAxisAlignedClip().
| void d2d_command_list_pop_layer | ( | struct d2d_command_list * | command_list | ) |
Definition at line 738 of file command_list.c.
Referenced by d2d_device_context_PopLayer().
| void d2d_command_list_push_clip | ( | struct d2d_command_list * | command_list, |
| const D2D1_RECT_F * | rect, | ||
| D2D1_ANTIALIAS_MODE | antialias_mode | ||
| ) |
Definition at line 696 of file command_list.c.
Referenced by d2d_device_context_PushAxisAlignedClip().
| void d2d_command_list_push_layer | ( | struct d2d_command_list * | command_list, |
| const struct d2d_device_context * | context, | ||
| const D2D1_LAYER_PARAMETERS1 * | params, | ||
| ID2D1Layer * | layer | ||
| ) |
Definition at line 715 of file command_list.c.
Referenced by d2d_device_context_ID2D1DeviceContext_PushLayer(), and d2d_device_context_PushLayer().
| void d2d_command_list_set_antialias_mode | ( | struct d2d_command_list * | command_list, |
| D2D1_ANTIALIAS_MODE | mode | ||
| ) |
Definition at line 617 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetAntialiasMode().
| void d2d_command_list_set_primitive_blend | ( | struct d2d_command_list * | command_list, |
| D2D1_PRIMITIVE_BLEND | primitive_blend | ||
| ) |
Definition at line 627 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetPrimitiveBlend().
| void d2d_command_list_set_tags | ( | struct d2d_command_list * | command_list, |
| D2D1_TAG | tag1, | ||
| D2D1_TAG | tag2 | ||
| ) |
Definition at line 656 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetTags().
| void d2d_command_list_set_text_antialias_mode | ( | struct d2d_command_list * | command_list, |
| D2D1_TEXT_ANTIALIAS_MODE | mode | ||
| ) |
Definition at line 646 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetTextAntialiasMode().
| void d2d_command_list_set_text_rendering_params | ( | struct d2d_command_list * | command_list, |
| IDWriteRenderingParams * | params | ||
| ) |
Definition at line 898 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetTextRenderingParams().
| void d2d_command_list_set_transform | ( | struct d2d_command_list * | command_list, |
| const D2D1_MATRIX_3X2_F * | transform | ||
| ) |
Definition at line 666 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetTransform().
| void d2d_command_list_set_unit_mode | ( | struct d2d_command_list * | command_list, |
| D2D1_UNIT_MODE | mode | ||
| ) |
Definition at line 637 of file command_list.c.
Referenced by d2d_command_list_begin_draw(), d2d_device_context_RestoreDrawingState(), and d2d_device_context_SetUnitMode().
| HRESULT d2d_d3d_create_render_target | ( | struct d2d_device * | device, |
| IDXGISurface * | surface, | ||
| IUnknown * | outer_unknown, | ||
| const struct d2d_device_context_ops * | ops, | ||
| const D2D1_RENDER_TARGET_PROPERTIES * | desc, | ||
| void ** | render_target | ||
| ) |
Definition at line 4183 of file device.c.
Referenced by d2d_bitmap_render_target_init(), d2d_dc_render_target_init(), d2d_factory_CreateDxgiSurfaceRenderTarget(), d2d_hwnd_render_target_init(), and d2d_wic_render_target_init().
| HRESULT d2d_dc_render_target_init | ( | struct d2d_dc_render_target * | render_target, |
| ID2D1Factory1 * | factory, | ||
| ID3D10Device1 * | d3d_device, | ||
| const D2D1_RENDER_TARGET_PROPERTIES * | desc | ||
| ) |
Definition at line 825 of file dc_render_target.c.
Referenced by d2d_factory_CreateDCRenderTarget().
| HRESULT d2d_device_add_indexed_object | ( | struct d2d_indexed_objects * | objects, |
| const GUID * | id, | ||
| IUnknown * | object | ||
| ) |
Definition at line 4542 of file device.c.
Referenced by d2d_effect_context_CreateVertexBuffer(), d2d_effect_context_LoadComputeShader(), d2d_effect_context_LoadPixelShader(), and d2d_effect_context_LoadVertexShader().
|
inlinestatic |
Definition at line 230 of file d2d1_private.h.
Referenced by d2d_bitmap_init().
| BOOL d2d_device_get_indexed_object | ( | struct d2d_indexed_objects * | objects, |
| const GUID * | id, | ||
| IUnknown ** | object | ||
| ) |
Definition at line 4560 of file device.c.
Referenced by d2d_effect_context_CreateVertexBuffer(), d2d_effect_context_FindVertexBuffer(), d2d_effect_context_IsShaderLoaded(), d2d_effect_context_LoadComputeShader(), d2d_effect_context_LoadPixelShader(), and d2d_effect_context_LoadVertexShader().
| void d2d_device_indexed_objects_clear | ( | struct d2d_indexed_objects * | objects | ) |
Definition at line 4284 of file device.c.
Referenced by d2d_device_context_inner_Release(), and d2d_device_Release().
| void d2d_device_init | ( | struct d2d_device * | device, |
| ID2D1Factory1 * | factory, | ||
| IDXGIDevice * | dxgi_device, | ||
| bool | allow_get_dxgi_device | ||
| ) |
| void d2d_effect_context_init | ( | struct d2d_effect_context * | effect_context, |
| struct d2d_device_context * | device_context | ||
| ) |
Definition at line 1840 of file effect.c.
Referenced by d2d_effect_create().
| HRESULT d2d_effect_create | ( | struct d2d_device_context * | context, |
| const CLSID * | effect_id, | ||
| ID2D1Effect ** | effect | ||
| ) |
Definition at line 2660 of file effect.c.
Referenced by d2d_device_context_CreateEffect().
| void d2d_effect_init_properties | ( | struct d2d_effect * | effect, |
| struct d2d_effect_properties * | properties | ||
| ) |
Definition at line 2440 of file effect.c.
Referenced by d2d_factory_register_effect_from_stream(), and parse_effect_inputs().
| HRESULT d2d_effect_properties_add | ( | struct d2d_effect_properties * | props, |
| const WCHAR * | name, | ||
| UINT32 | index, | ||
| D2D1_PROPERTY_TYPE | type, | ||
| const WCHAR * | value | ||
| ) |
Definition at line 1281 of file effect.c.
Referenced by d2d_effect_create(), parse_effect_inputs(), and parse_effect_property().
| void d2d_effect_properties_cleanup | ( | struct d2d_effect_properties * | props | ) |
Definition at line 1457 of file effect.c.
Referenced by d2d_effect_cleanup(), d2d_effect_properties_cleanup(), and d2d_effect_properties_Release().
| struct d2d_effect_property * d2d_effect_properties_get_property_by_name | ( | const struct d2d_effect_properties * | properties, |
| const WCHAR * | name | ||
| ) |
Definition at line 1345 of file effect.c.
Referenced by d2d_effect_properties_GetPropertyIndex(), d2d_effect_properties_GetValueByName(), d2d_effect_properties_SetValueByName(), and parse_effect_inputs().
| HRESULT d2d_effect_property_get_uint32_value | ( | const struct d2d_effect_properties * | properties, |
| const struct d2d_effect_property * | prop, | ||
| UINT32 * | value | ||
| ) |
Definition at line 1422 of file effect.c.
Referenced by parse_effect_inputs().
| HRESULT d2d_effect_subproperties_add | ( | struct d2d_effect_properties * | props, |
| const WCHAR * | name, | ||
| UINT32 | index, | ||
| D2D1_PROPERTY_TYPE | type, | ||
| const WCHAR * | value | ||
| ) |
Definition at line 1287 of file effect.c.
Referenced by parse_effect_inputs().
| void d2d_effects_init_builtins | ( | struct d2d_factory * | factory | ) |
Definition at line 1074 of file effect.c.
Referenced by d2d_factory_builtins_initonce().
| HRESULT d2d_ellipse_geometry_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory, | ||
| const D2D1_ELLIPSE * | ellipse | ||
| ) |
Definition at line 4185 of file geometry.c.
Referenced by d2d_factory_CreateEllipseGeometry().
| HRESULT d2d_factory_create_device | ( | ID2D1Factory1 * | factory, |
| IDXGIDevice * | dxgi_device, | ||
| bool | allow_get_dxgi_device, | ||
| REFIID | iid, | ||
| void ** | device | ||
| ) |
Definition at line 516 of file factory.c.
Referenced by d2d_dc_render_target_init(), d2d_factory_CreateDevice(), d2d_factory_ID2D1Factory2_CreateDevice(), d2d_factory_ID2D1Factory3_CreateDevice(), d2d_factory_ID2D1Factory4_CreateDevice(), d2d_factory_ID2D1Factory5_CreateDevice(), d2d_factory_ID2D1Factory6_CreateDevice(), d2d_factory_ID2D1Factory7_CreateDevice(), d2d_hwnd_render_target_init(), and d2d_wic_render_target_init().
| struct d2d_effect_registration * d2d_factory_get_registered_effect | ( | ID2D1Factory * | factory, |
| const GUID * | effect_id | ||
| ) |
Definition at line 66 of file factory.c.
Referenced by d2d_effect_create(), and d2d_factory_GetEffectProperties().
| HRESULT d2d_factory_register_builtin_effect | ( | struct d2d_factory * | factory, |
| REFCLSID | effect_id, | ||
| const WCHAR * | property_xml, | ||
| const D2D1_PROPERTY_BINDING * | bindings, | ||
| UINT32 | binding_count, | ||
| PD2D1_EFFECT_FACTORY | effect_factory | ||
| ) |
Definition at line 1081 of file factory.c.
Referenced by d2d_effects_init_builtins().
| void d2d_factory_register_effect | ( | struct d2d_factory * | factory, |
| struct d2d_effect_registration * | effect | ||
| ) |
Definition at line 61 of file factory.c.
Referenced by d2d_factory_register_effect_from_stream().
| HRESULT d2d_geometry_group_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory, | ||
| D2D1_FILL_MODE | fill_mode, | ||
| ID2D1Geometry ** | src_geometries, | ||
| unsigned int | geometry_count | ||
| ) |
Definition at line 5497 of file geometry.c.
Referenced by d2d_factory_CreateGeometryGroup().
| unsigned int d2d_get_bitmap_options_for_surface | ( | IDXGISurface * | surface | ) |
Definition at line 498 of file bitmap.c.
Referenced by d2d_bitmap_create_shared(), d2d_device_context_CreateBitmapFromDxgiSurface(), and d2d_device_context_CreateSharedBitmap().
| HRESULT d2d_gradient_create | ( | ID2D1Factory * | factory, |
| ID3D11Device1 * | device, | ||
| const D2D1_GRADIENT_STOP * | stops, | ||
| UINT32 | stop_count, | ||
| D2D1_GAMMA | gamma, | ||
| D2D1_EXTEND_MODE | extend_mode, | ||
| struct d2d_gradient ** | gradient | ||
| ) |
Definition at line 130 of file brush.c.
Referenced by d2d_device_context_CreateGradientStopCollection().
| HRESULT d2d_hwnd_render_target_init | ( | struct d2d_hwnd_render_target * | render_target, |
| ID2D1Factory1 * | factory, | ||
| ID3D10Device1 * | d3d_device, | ||
| const D2D1_RENDER_TARGET_PROPERTIES * | desc, | ||
| const D2D1_HWND_RENDER_TARGET_PROPERTIES * | hwnd_desc | ||
| ) |
Definition at line 813 of file hwnd_render_target.c.
Referenced by d2d_factory_CreateHwndRenderTarget().
| HRESULT d2d_image_brush_create | ( | ID2D1Factory * | factory, |
| ID2D1Image * | image, | ||
| const D2D1_IMAGE_BRUSH_PROPERTIES * | image_brush_desc, | ||
| const D2D1_BRUSH_PROPERTIES * | brush_desc, | ||
| struct d2d_brush ** | brush | ||
| ) |
Definition at line 1323 of file brush.c.
Referenced by d2d_device_context_CreateImageBrush().
| HRESULT d2d_layer_create | ( | ID2D1Factory * | factory, |
| const D2D1_SIZE_F * | size, | ||
| struct d2d_layer ** | layer | ||
| ) |
Definition at line 101 of file layer.c.
Referenced by d2d_device_context_CreateLayer().
| HRESULT d2d_linear_gradient_brush_create | ( | ID2D1Factory * | factory, |
| const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES * | gradient_desc, | ||
| const D2D1_BRUSH_PROPERTIES * | brush_desc, | ||
| ID2D1GradientStopCollection * | gradient, | ||
| struct d2d_brush ** | brush | ||
| ) |
Definition at line 572 of file brush.c.
Referenced by d2d_device_context_CreateLinearGradientBrush().
|
inlinestatic |
Definition at line 936 of file d2d1_private.h.
Referenced by D2D1InvertMatrix(), d2d_path_geometry_FillContainsPoint(), and d2d_rectangle_geometry_FillContainsPoint().
|
inlinestatic |
Definition at line 923 of file d2d1_private.h.
Referenced by d2d_transformed_geometry_FillContainsPoint(), d2d_transformed_geometry_GetBounds(), d2d_transformed_geometry_init(), d2d_transformed_geometry_Simplify(), and d2d_transformed_geometry_StrokeContainsPoint().
| HRESULT d2d_mesh_create | ( | ID2D1Factory * | factory, |
| struct d2d_mesh ** | mesh | ||
| ) |
Definition at line 98 of file mesh.c.
Referenced by d2d_device_context_CreateMesh().
| void d2d_path_geometry_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory | ||
| ) |
Definition at line 3965 of file geometry.c.
Referenced by d2d_factory_CreatePathGeometry(), and d2d_factory_CreatePathGeometry1().
|
inlinestatic |
Definition at line 958 of file d2d1_private.h.
Referenced by d2d_brush_fill_cb(), d2d_point_length(), d2d_point_on_bezier_segment(), d2d_point_on_line_segment(), and d2d_rectangle_geometry_StrokeContainsPoint().
|
inlinestatic |
Definition at line 952 of file d2d1_private.h.
Referenced by d2d_brush_fill_cb(), d2d_curve_outline_vertex_set(), d2d_device_context_DrawText(), d2d_ellipse_geometry_init(), d2d_outline_vertex_set(), d2d_point_on_line_segment(), d2d_rectangle_geometry_init(), d2d_rectangle_geometry_Simplify(), d2d_rectangle_geometry_StrokeContainsPoint(), and d2d_rounded_rectangle_geometry_init().
|
inlinestatic |
Definition at line 963 of file d2d1_private.h.
Referenced by d2d_brush_fill_cb(), d2d_device_context_PushAxisAlignedClip(), d2d_path_geometry_FillContainsPoint(), d2d_path_geometry_GetBounds(), d2d_path_geometry_Simplify(), d2d_point_on_bezier_segment(), d2d_point_on_line_segment(), d2d_rectangle_geometry_FillContainsPoint(), d2d_rectangle_geometry_GetBounds(), and d2d_rectangle_geometry_Simplify().
| HRESULT d2d_radial_gradient_brush_create | ( | ID2D1Factory * | factory, |
| const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES * | gradient_desc, | ||
| const D2D1_BRUSH_PROPERTIES * | brush_desc, | ||
| ID2D1GradientStopCollection * | gradient, | ||
| struct d2d_brush ** | brush | ||
| ) |
Definition at line 799 of file brush.c.
Referenced by d2d_device_context_CreateRadialGradientBrush().
|
inlinestatic |
Definition at line 969 of file d2d1_private.h.
Referenced by d2d_device_context_PushAxisAlignedClip(), d2d_figure_add_vertex(), d2d_figure_insert_vertex(), d2d_path_geometry_GetBounds(), d2d_rect_get_bezier_bounds(), and d2d_rectangle_geometry_GetBounds().
| HRESULT d2d_rectangle_geometry_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory, | ||
| const D2D1_RECT_F * | rect | ||
| ) |
Definition at line 4591 of file geometry.c.
Referenced by d2d_factory_CreateRectangleGeometry().
| HRESULT d2d_rounded_rectangle_geometry_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory, | ||
| const D2D1_ROUNDED_RECT * | rounded_rect | ||
| ) |
Definition at line 4876 of file geometry.c.
Referenced by d2d_factory_CreateRoundedRectangleGeometry().
| HRESULT d2d_solid_color_brush_create | ( | ID2D1Factory * | factory, |
| const D2D1_COLOR_F * | color, | ||
| const D2D1_BRUSH_PROPERTIES * | desc, | ||
| struct d2d_brush ** | brush | ||
| ) |
Definition at line 389 of file brush.c.
Referenced by d2d_device_context_CreateSolidColorBrush().
| void d2d_state_block_init | ( | struct d2d_state_block * | state_block, |
| ID2D1Factory * | factory, | ||
| const D2D1_DRAWING_STATE_DESCRIPTION1 * | desc, | ||
| IDWriteRenderingParams * | text_rendering_params | ||
| ) |
Definition at line 164 of file state_block.c.
Referenced by d2d_factory_CreateDrawingStateBlock(), and d2d_factory_CreateDrawingStateBlock1().
| HRESULT d2d_stroke_style_init | ( | struct d2d_stroke_style * | style, |
| ID2D1Factory * | factory, | ||
| const D2D1_STROKE_STYLE_PROPERTIES1 * | desc, | ||
| const float * | dashes, | ||
| UINT32 | dash_count | ||
| ) |
Definition at line 202 of file stroke.c.
Referenced by d2d_factory_CreateStrokeStyle(), and d2d_factory_CreateStrokeStyle1().
| void d2d_transformed_geometry_init | ( | struct d2d_geometry * | geometry, |
| ID2D1Factory * | factory, | ||
| ID2D1Geometry * | src_geometry, | ||
| const D2D_MATRIX_3X2_F * | transform | ||
| ) |
Definition at line 5226 of file geometry.c.
Referenced by d2d_factory_CreateTransformedGeometry().
| HRESULT d2d_wic_render_target_init | ( | struct d2d_wic_render_target * | render_target, |
| ID2D1Factory1 * | factory, | ||
| ID3D10Device1 * | d3d_device, | ||
| IWICBitmap * | bitmap, | ||
| const D2D1_RENDER_TARGET_PROPERTIES * | desc | ||
| ) |
Definition at line 152 of file wic_render_target.c.
Referenced by d2d_factory_CreateWicBitmapRenderTarget().
|
inlinestatic |
Definition at line 986 of file d2d1_private.h.
Referenced by D2D1ConvertColorSpace().
|
inlinestatic |
Definition at line 1029 of file d2d1_private.h.
Referenced by d2d_factory_CreateEllipseGeometry().
|
inlinestatic |
Definition at line 993 of file d2d1_private.h.
Referenced by D2D1MakeRotateMatrix(), D2D1MakeSkewMatrix(), d2d_bitmap_render_target_DrawGlyphRun(), d2d_bitmap_render_target_DrawLine(), d2d_bitmap_render_target_DrawTextLayout(), d2d_dc_render_target_DrawGlyphRun(), d2d_dc_render_target_DrawLine(), d2d_dc_render_target_DrawTextLayout(), d2d_device_context_BlendImage(), d2d_device_context_DrawColorBitmapGlyphRun(), d2d_device_context_DrawGdiMetafile(), d2d_device_context_DrawGlyphRun(), d2d_device_context_DrawImage(), d2d_device_context_DrawLine(), d2d_device_context_DrawSvgGlyphRun(), d2d_device_context_DrawTextLayout(), d2d_device_context_GetColorBitmapGlyphImage(), d2d_device_context_GetGlyphRunWorldBounds(), d2d_device_context_GetSvgGlyphImage(), d2d_device_context_ID2D1DeviceContext4_DrawTextLayout(), d2d_device_context_ID2D1DeviceContext_DrawGlyphRun(), d2d_ellipse_geometry_FillContainsPoint(), d2d_ellipse_geometry_StrokeContainsPoint(), d2d_geometry_group_FillContainsPoint(), d2d_geometry_group_StrokeContainsPoint(), d2d_geometry_sink_AddLine(), d2d_geometry_sink_BeginFigure(), d2d_hwnd_render_target_DrawGlyphRun(), d2d_hwnd_render_target_DrawLine(), d2d_hwnd_render_target_DrawTextLayout(), d2d_linear_gradient_brush_SetEndPoint(), d2d_linear_gradient_brush_SetStartPoint(), d2d_path_geometry_FillContainsPoint(), d2d_path_geometry_StrokeContainsPoint(), d2d_radial_gradient_brush_SetCenter(), d2d_radial_gradient_brush_SetGradientOriginOffset(), d2d_rectangle_geometry_FillContainsPoint(), d2d_rectangle_geometry_StrokeContainsPoint(), d2d_rounded_rectangle_geometry_FillContainsPoint(), d2d_rounded_rectangle_geometry_StrokeContainsPoint(), d2d_transformed_geometry_FillContainsPoint(), and d2d_transformed_geometry_StrokeContainsPoint().
|
inlinestatic |
Definition at line 1000 of file d2d1_private.h.
Referenced by d2d_effect_context_CreateOffsetTransform(), and d2d_offset_transform_SetOffset().
|
inlinestatic |
Definition at line 1007 of file d2d1_private.h.
Referenced by d2d_bitmap_render_target_DrawBitmap(), d2d_bitmap_render_target_DrawRectangle(), d2d_bitmap_render_target_DrawText(), d2d_bitmap_render_target_FillOpacityMask(), d2d_bitmap_render_target_FillRectangle(), d2d_bitmap_render_target_PushAxisAlignedClip(), d2d_dc_render_target_DrawBitmap(), d2d_dc_render_target_DrawRectangle(), d2d_dc_render_target_DrawText(), d2d_dc_render_target_FillOpacityMask(), d2d_dc_render_target_FillRectangle(), d2d_dc_render_target_PushAxisAlignedClip(), d2d_device_context_BlendImage(), d2d_device_context_DrawBitmap(), d2d_device_context_DrawImage(), d2d_device_context_DrawRectangle(), d2d_device_context_DrawText(), d2d_device_context_FillOpacityMask(), d2d_device_context_FillRectangle(), d2d_device_context_GetEffectRequiredInputRectangles(), d2d_device_context_ID2D1DeviceContext2_DrawGdiMetafile(), d2d_device_context_ID2D1DeviceContext4_DrawText(), d2d_device_context_ID2D1DeviceContext_DrawBitmap(), d2d_device_context_ID2D1DeviceContext_FillOpacityMask(), d2d_device_context_InvalidateEffectInputRectangle(), d2d_device_context_PushAxisAlignedClip(), d2d_factory_CreateRectangleGeometry(), d2d_hwnd_render_target_DrawBitmap(), d2d_hwnd_render_target_DrawRectangle(), d2d_hwnd_render_target_DrawText(), d2d_hwnd_render_target_FillOpacityMask(), d2d_hwnd_render_target_FillRectangle(), d2d_hwnd_render_target_PushAxisAlignedClip(), and d2d_image_brush_SetSourceRectangle().
|
inlinestatic |
Definition at line 1014 of file d2d1_private.h.
Referenced by d2d_effect_context_CreateBoundsAdjustmentTransform().
|
inlinestatic |
Definition at line 1021 of file d2d1_private.h.
Referenced by d2d_factory_CreateRoundedRectangleGeometry().
| struct d2d_bitmap * unsafe_impl_from_ID2D1Bitmap | ( | ID2D1Bitmap * | iface | ) |
Definition at line 769 of file bitmap.c.
Referenced by d2d_bitmap_brush_create(), d2d_bitmap_brush_SetBitmap(), d2d_bitmap_CopyFromBitmap(), d2d_bitmap_create_shared(), d2d_brush_bind_image(), d2d_brush_fill_cb(), d2d_dc_render_target_BindDC(), and d2d_device_context_SetTarget().
| struct d2d_brush * unsafe_impl_from_ID2D1Brush | ( | ID2D1Brush * | iface | ) |
Definition at line 1344 of file brush.c.
Referenced by d2d_command_list_create_brush(), d2d_device_context_draw_glyph_run_bitmap(), d2d_device_context_draw_glyph_run_outline(), d2d_device_context_DrawGeometry(), and d2d_device_context_FillGeometry().
| struct d2d_command_list * unsafe_impl_from_ID2D1CommandList | ( | ID2D1CommandList * | iface | ) |
Definition at line 512 of file command_list.c.
Referenced by d2d_device_context_SetTarget().
| struct d2d_device * unsafe_impl_from_ID2D1Device | ( | ID2D1Device1 * | iface | ) |
Definition at line 4522 of file device.c.
Referenced by d2d_dc_render_target_init(), d2d_factory_CreateDxgiSurfaceRenderTarget(), d2d_hwnd_render_target_init(), and d2d_wic_render_target_init().
| struct d2d_state_block * unsafe_impl_from_ID2D1DrawingStateBlock | ( | ID2D1DrawingStateBlock * | iface | ) |
Definition at line 185 of file state_block.c.
Referenced by d2d_device_context_RestoreDrawingState(), and d2d_device_context_SaveDrawingState().
|
inlinestatic |
Definition at line 704 of file d2d1_private.h.
Referenced by d2d_device_context_init(), and d2d_factory_get_registered_effect().
| struct d2d_geometry * unsafe_impl_from_ID2D1Geometry | ( | ID2D1Geometry * | iface | ) |
Definition at line 5520 of file geometry.c.
Referenced by d2d_device_context_draw_glyph_run_bitmap(), d2d_device_context_draw_glyph_run_outline(), d2d_device_context_DrawGeometry(), d2d_device_context_FillGeometry(), and d2d_transformed_geometry_init().
| struct d2d_stroke_style * unsafe_impl_from_ID2D1StrokeStyle | ( | ID2D1StrokeStyle * | iface | ) |
Definition at line 194 of file stroke.c.
Referenced by d2d_device_context_DrawGeometry().
|
extern |