10 #endif // #ifdef _MSC_VER 17 #endif // #ifndef _D2D1_H_ 18 #ifndef _D2D1_EFFECTS_ 20 #endif // #ifndef _D2D1_EFFECTS_ 43 _Outptr_ IUnknown **effectImpl
46 #ifndef D2D_USE_C_DEFINITIONS 56 #define D2D1_INVALID_PROPERTY_INDEX UINT_MAX 667 #ifndef D2D_USE_C_DEFINITIONS 679 STDMETHOD(ProcessRecord)(
681 _In_opt_
CONST void *recordData,
703 STDMETHOD(GetBounds)(
716 STDMETHOD(BeginDraw)(
722 STDMETHOD(SetAntialiasMode)(
731 STDMETHOD(SetTextAntialiasMode)(
735 STDMETHOD(SetTextRenderingParams)(
739 STDMETHOD(SetTransform)(
743 STDMETHOD(SetPrimitiveBlend)(
747 STDMETHOD(SetUnitMode)(
755 STDMETHOD(DrawGlyphRun)(
771 STDMETHOD(DrawGeometry)(
778 STDMETHOD(DrawRectangle)(
785 STDMETHOD(DrawBitmap)(
794 STDMETHOD(DrawImage)(
802 STDMETHOD(DrawGdiMetafile)(
812 STDMETHOD(FillOpacityMask)(
819 STDMETHOD(FillGeometry)(
825 STDMETHOD(FillRectangle)(
830 STDMETHOD(PushAxisAlignedClip)(
835 STDMETHOD(PushLayer)(
840 STDMETHOD(PopAxisAlignedClip)(
879 _In_opt_ IStream *pagePrintTicketStream,
896 STDMETHOD_(
void, SetImage)(
900 STDMETHOD_(
void, SetExtendModeX)(
904 STDMETHOD_(
void, SetExtendModeY)(
908 STDMETHOD_(
void, SetInterpolationMode)(
912 STDMETHOD_(
void, SetSourceRectangle)(
916 STDMETHOD_(
void, GetImage)(
929 STDMETHOD_(
void, GetSourceRectangle)(
945 STDMETHOD_(
void, SetInterpolationMode1)(
973 STDMETHOD(ComputePointAndSegmentAtLength)(
977 FLOAT flatteningTolerance,
983 ComputePointAndSegmentAtLength(
987 FLOAT flatteningTolerance,
991 return ComputePointAndSegmentAtLength(
length,
startSegment, &worldTransform, flatteningTolerance, pointDescription);
996 ComputePointAndSegmentAtLength(
1006 COM_DECLSPEC_NOTHROW
1008 ComputePointAndSegmentAtLength(
1030 STDMETHOD_(
UINT32, GetPropertyCount)(
1036 STDMETHOD(GetPropertyName)(
1038 _Out_writes_(nameCount) PWSTR
name,
1045 STDMETHOD_(
UINT32, GetPropertyNameLength)(
1059 STDMETHOD_(
UINT32, GetPropertyIndex)(
1066 STDMETHOD(SetValueByName)(
1076 STDMETHOD(SetValue)(
1087 STDMETHOD(GetValueByName)(
1097 STDMETHOD(GetValue)(
1107 STDMETHOD_(
UINT32, GetValueSize)(
1114 STDMETHOD(GetSubProperties)(
1119 COM_DECLSPEC_NOTHROW
1130 COM_DECLSPEC_NOTHROW
1141 COM_DECLSPEC_NOTHROW
1152 COM_DECLSPEC_NOTHROW
1166 template<
typename T>
1168 _In_ PCWSTR propertyName,
1172 return GetValueByName(propertyName, reinterpret_cast<BYTE *>(
value),
sizeof(*
value));
1175 template<
typename T>
1177 _In_ PCWSTR propertyName
1181 HRESULT ignoreHr = GetValueByName(propertyName, reinterpret_cast<BYTE *>(&
value),
sizeof(
value));
1182 UNREFERENCED_PARAMETER(ignoreHr);
1188 template<
typename T>
1190 _In_ PCWSTR propertyName,
1194 return SetValueByName(propertyName, reinterpret_cast<const BYTE *>(&
value),
sizeof(
value));
1197 template<
typename U>
1207 template<
typename T,
typename U>
1213 return GetValue(static_cast<UINT32>(
index), reinterpret_cast<BYTE *>(
value),
sizeof(*
value));
1216 template<
typename T,
typename U>
1222 HRESULT ignoreHr = GetValue(static_cast<UINT32>(
index), reinterpret_cast<BYTE *>(&
value),
sizeof(
value));
1230 template<
typename U>
1240 template<
typename T,
typename U>
1246 return SetValue(static_cast<UINT32>(
index), reinterpret_cast<const BYTE *>(&
value),
sizeof(
value));
1249 template<
typename U>
1252 _Out_writes_(nameCount) PWSTR
name,
1256 return GetPropertyName(static_cast<UINT32>(
index),
name, nameCount);
1259 template<
typename U>
1260 UINT32 GetPropertyNameLength(
1264 return GetPropertyNameLength(static_cast<UINT32>(
index));
1267 template<
typename U>
1272 return GetType(static_cast<UINT32>(
index));
1276 template<
typename U>
1281 return GetValueSize(static_cast<UINT32>(
index));
1284 template<
typename U>
1290 return GetSubProperties(static_cast<UINT32>(
index), subProperties);
1306 STDMETHOD_(
void, SetInput)(
1316 STDMETHOD(SetInputCount)(
1324 STDMETHOD_(
void, GetInput)(
1332 STDMETHOD_(
UINT32, GetInputCount)(
1339 STDMETHOD_(
void, GetOutput)(
1343 COM_DECLSPEC_NOTHROW
1353 if (inputEffect !=
NULL)
1355 inputEffect->GetOutput(&
output);
1376 STDMETHOD_(
void, GetColorContext)(
1390 STDMETHOD(GetSurface)(
1391 _COM_Outptr_result_maybenull_
IDXGISurface **dxgiSurface
1426 STDMETHOD_(
UINT32, GetProfileSize)(
1432 STDMETHOD(GetProfile)(
1433 _Out_writes_(profileSize) BYTE *profile,
1454 STDMETHOD_(
void, GetGradientStops1)(
1455 _Out_writes_to_(gradientStopsCount, _Inexpressible_(
"Retrieved through GetGradientStopCount()") )
D2D1_GRADIENT_STOP *gradientStops,
1456 UINT32 gradientStopsCount
1501 STDMETHOD_(
void, GetDescription)(
1505 using ID2D1DrawingStateBlock::GetDescription;
1510 STDMETHOD_(
void, SetDescription)(
1514 using ID2D1DrawingStateBlock::SetDescription;
1529 STDMETHOD(CreateBitmap)(
1531 _In_opt_
CONST void *sourceData,
1537 using ID2D1RenderTarget::CreateBitmap;
1542 STDMETHOD(CreateBitmapFromWicBitmap)(
1548 using ID2D1RenderTarget::CreateBitmapFromWicBitmap;
1556 STDMETHOD(CreateColorContext)(
1558 _In_reads_opt_(profileSize)
CONST BYTE *profile,
1563 STDMETHOD(CreateColorContextFromFilename)(
1564 _In_ PCWSTR filename,
1568 STDMETHOD(CreateColorContextFromWicColorContext)(
1576 STDMETHOD(CreateBitmapFromDxgiSurface)(
1587 STDMETHOD(CreateEffect)(
1588 _In_ REFCLSID effectId,
1606 STDMETHOD(CreateGradientStopCollection)(
1608 _In_range_(>=,1)
UINT32 straightAlphaGradientStopsCount,
1623 STDMETHOD(CreateImageBrush)(
1630 STDMETHOD(CreateBitmapBrush)(
1642 STDMETHOD(CreateCommandList)(
1649 STDMETHOD_(
BOOL, IsDxgiFormatSupported)(
1656 STDMETHOD_(
BOOL, IsBufferPrecisionSupported)(
1664 STDMETHOD(GetImageLocalBounds)(
1673 STDMETHOD(GetImageWorldBounds)(
1682 STDMETHOD(GetGlyphRunWorldBounds)(
1692 STDMETHOD_(
void, GetDevice)(
1701 STDMETHOD_(
void, SetTarget)(
1708 STDMETHOD_(
void, GetTarget)(
1715 STDMETHOD_(
void, SetRenderingControls)(
1723 STDMETHOD_(
void, GetRenderingControls)(
1730 STDMETHOD_(
void, SetPrimitiveBlend)(
1743 STDMETHOD_(
void, SetUnitMode)(
1756 STDMETHOD_(
void, DrawGlyphRun)(
1770 STDMETHOD_(
void, DrawImage)(
1781 STDMETHOD_(
void, DrawGdiMetafile)(
1786 STDMETHOD_(
void, DrawBitmap)(
1800 STDMETHOD_(
void, PushLayer)(
1811 STDMETHOD(InvalidateEffectInputRectangle)(
1821 STDMETHOD(GetEffectInvalidRectangleCount)(
1823 _Out_
UINT32 *rectangleCount
1829 STDMETHOD(GetEffectInvalidRectangles)(
1831 _Out_writes_(rectanglesCount)
D2D1_RECT_F *rectangles,
1839 STDMETHOD(GetEffectRequiredInputRectangles)(
1843 _Out_writes_(inputCount)
D2D1_RECT_F *requiredInputRects,
1852 STDMETHOD_(
void, FillOpacityMask)(
1861 COM_DECLSPEC_NOTHROW
1865 _In_opt_
CONST void *sourceData,
1871 return CreateBitmap(
size, sourceData, pitch, &bitmapProperties,
bitmap);
1877 COM_DECLSPEC_NOTHROW
1879 CreateBitmapFromWicBitmap(
1885 return CreateBitmapFromWicBitmap(wicBitmapSource, &bitmapProperties,
bitmap);
1891 COM_DECLSPEC_NOTHROW
1893 CreateBitmapFromWicBitmap(
1898 return CreateBitmapFromWicBitmap(wicBitmapSource,
NULL,
bitmap);
1901 COM_DECLSPEC_NOTHROW
1903 CreateBitmapFromDxgiSurface(
1909 return CreateBitmapFromDxgiSurface(surface, &bitmapProperties,
bitmap);
1912 COM_DECLSPEC_NOTHROW
1921 return CreateImageBrush(
image, &imageBrushProperties, &brushProperties, imageBrush);
1924 COM_DECLSPEC_NOTHROW
1932 return CreateImageBrush(
image,&imageBrushProperties,
NULL, imageBrush);
1935 COM_DECLSPEC_NOTHROW
1945 COM_DECLSPEC_NOTHROW
1953 return CreateBitmapBrush(
bitmap, &bitmapBrushProperties,
NULL, bitmapBrush);
1956 COM_DECLSPEC_NOTHROW
1965 return CreateBitmapBrush(
bitmap, &bitmapBrushProperties, &brushProperties, bitmapBrush);
1971 COM_DECLSPEC_NOTHROW
1983 effect->GetOutput(&
output);
1984 DrawImage(
output, targetOffset, imageRectangle, interpolationMode, compositeMode);
1988 COM_DECLSPEC_NOTHROW
1996 DrawImage(
image,
NULL,
NULL, interpolationMode, compositeMode);
1999 COM_DECLSPEC_NOTHROW
2007 DrawImage(effect,
NULL,
NULL, interpolationMode, compositeMode);
2010 COM_DECLSPEC_NOTHROW
2019 DrawImage(
image, &targetOffset,
NULL, interpolationMode, compositeMode);
2022 COM_DECLSPEC_NOTHROW
2031 DrawImage(effect, &targetOffset,
NULL, interpolationMode, compositeMode);
2034 COM_DECLSPEC_NOTHROW
2044 DrawImage(
image, &targetOffset, &imageRectangle, interpolationMode, compositeMode);
2047 COM_DECLSPEC_NOTHROW
2057 DrawImage(effect, &targetOffset, &imageRectangle, interpolationMode, compositeMode);
2060 COM_DECLSPEC_NOTHROW
2067 PushLayer(&layerParameters,
layer);
2070 COM_DECLSPEC_NOTHROW
2077 DrawGdiMetafile(gdiMetafile, &targetOffset);
2080 COM_DECLSPEC_NOTHROW
2091 DrawBitmap(
bitmap, &destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
2094 COM_DECLSPEC_NOTHROW
2105 DrawBitmap(
bitmap, &destinationRectangle, opacity, interpolationMode, &sourceRectangle, perspectiveTransform);
2108 COM_DECLSPEC_NOTHROW
2119 DrawBitmap(
bitmap, &destinationRectangle, opacity, interpolationMode, &sourceRectangle, &perspectiveTransform);
2122 COM_DECLSPEC_NOTHROW
2131 FillOpacityMask(opacityMask, brush, &destinationRectangle, sourceRectangle);
2134 COM_DECLSPEC_NOTHROW
2143 FillOpacityMask(opacityMask, brush, &destinationRectangle, &sourceRectangle);
2149 COM_DECLSPEC_NOTHROW
2151 SetRenderingControls(
2155 return SetRenderingControls(&renderingControls);
2170 STDMETHOD(CreateDeviceContext)(
2178 STDMETHOD(CreatePrintControl)(
2188 STDMETHOD_(
void, SetMaximumTextureMemory)(
2195 STDMETHOD_(
UINT64, GetMaximumTextureMemory)(
2202 STDMETHOD_(
void, ClearResources)(
2203 UINT32 millisecondsSinceUse = 0
2206 COM_DECLSPEC_NOTHROW
2215 return CreatePrintControl(wicFactory, documentTarget, &printControlProperties, printControl);
2229 STDMETHOD(CreateDevice)(
2238 STDMETHOD(CreateStrokeStyle)(
2240 _In_reads_opt_(dashesCount)
CONST FLOAT *dashes,
2245 using ID2D1Factory::CreateStrokeStyle;
2250 STDMETHOD(CreatePathGeometry)(
2254 using ID2D1Factory::CreatePathGeometry;
2260 STDMETHOD(CreateDrawingStateBlock)(
2266 using ID2D1Factory::CreateDrawingStateBlock;
2271 STDMETHOD(CreateGdiMetafile)(
2272 _In_ IStream *metafileStream,
2280 STDMETHOD(RegisterEffectFromStream)(
2281 _In_ REFCLSID classId,
2282 _In_ IStream *propertyXml,
2292 STDMETHOD(RegisterEffectFromString)(
2293 _In_ REFCLSID classId,
2294 _In_ PCWSTR propertyXml,
2305 STDMETHOD(UnregisterEffect)(
2306 _In_ REFCLSID classId
2317 STDMETHOD(GetRegisteredEffects)(
2318 _Out_writes_to_opt_(effectsCount, *effectsReturned) CLSID *effects,
2320 _Out_opt_
UINT32 *effectsReturned,
2321 _Out_opt_
UINT32 *effectsRegistered
2329 STDMETHOD(GetEffectProperties)(
2330 _In_ REFCLSID effectId,
2334 COM_DECLSPEC_NOTHROW
2338 _In_reads_opt_(dashesCount)
CONST FLOAT *dashes,
2343 return CreateStrokeStyle(&strokeStyleProperties, dashes, dashesCount, strokeStyle);
2346 COM_DECLSPEC_NOTHROW
2348 CreateDrawingStateBlock(
2353 return CreateDrawingStateBlock(&drawingStateDescription,
NULL, drawingStateBlock);
2356 COM_DECLSPEC_NOTHROW
2358 CreateDrawingStateBlock(
2362 return CreateDrawingStateBlock(
NULL,
NULL, drawingStateBlock);
2378 STDMETHOD_(
BOOL, GetMultithreadProtected)(
2384 STDMETHOD_(
void, Enter)(
2390 STDMETHOD_(
void, Leave)(
2399 #ifdef D2D_USE_C_DEFINITIONS 2495 #ifndef D2D_USE_C_DEFINITIONS 2508 &creationProperties,
2522 &creationProperties,
2526 #endif // #ifndef D2D_USE_C_DEFINITIONS 2530 #endif // #ifndef _D2D1_1_H_
D2D1_POINT_2F point
Definition: d2d1_1.h:481
#define DX_DECLARE_INTERFACE(x)
Definition: dcommon.h:17
Describes a point along a path.
Definition: d2d1_1.h:479
interface ID2D1Layer ID2D1Layer
Definition: d2d1.h:3618
FLOAT WINAPI D2D1Tan(_In_ FLOAT angle)
GLuint const GLchar * name
Definition: glext.h:6671
D2D1_COMPOSITE_MODE
Specifies the composite mode that will be applied.
Definition: d2d1_1.h:170
EXTERN_C CONST IID IID_ID2D1DeviceContext
Definition: d2d1_1.h:661
D2D_MATRIX_5X4_F D2D1_MATRIX_5X4_F
Definition: d2d1_1.h:474
struct D2D1_MAPPED_RECT D2D1_MAPPED_RECT
Describes mapped memory from the ID2D1Bitmap1::Map API.
GLenum GLuint GLint GLint layer
Definition: glext.h:7674
interface ID2D1CommandList ID2D1CommandList
Definition: d2d1_1.h:2408
D2D1_CAP_STYLE
Enum which describes the drawing of the ends of a line.
Definition: d2d1.h:380
Defines a property binding to a function. The name must match the property defined in the registratio...
Definition: d2d1effectauthor.h:252
FLOAT rasterDPI
DPI for rasterization of all unsupported D2D commands or options, defaults to 150....
Definition: d2d1_1.h:619
D2D1_TAG tag1
Definition: d2d1_1.h:599
EXTERN_C CONST IID IID_ID2D1ImageBrush
Definition: d2d1_1.h:651
D2D1_BUFFER_PRECISION bufferPrecision
The default buffer precision, used if the precision isn't otherwise specified.
Definition: d2d1_1.h:438
interface ID2D1BitmapBrush1 ID2D1BitmapBrush1
Definition: d2d1_1.h:2414
D2D1_CAP_STYLE endCap
Definition: d2d1_1.h:521
The bitmap cannot be used as an input to DrawBitmap, DrawImage, in a bitmap brush or as an input to a...
Definition: d2d1_1.h:149
Definition: glslang_tab.cpp:129
This describes the drawing state.
Definition: d2d1_1.h:595
Describes the opacity and transformation of a brush.
Definition: d2d1.h:318
interface IWICBitmapSource IWICBitmapSource
Definition: d2d1.h:55
D2D1_PIXEL_FORMAT pixelFormat
Definition: d2d1_1.h:405
D2D1_COLOR_INTERPOLATION_MODE
This specifies how colors are interpolated.
Definition: d2d1_1.h:380
struct D2D1_BITMAP_BRUSH_PROPERTIES1 D2D1_BITMAP_BRUSH_PROPERTIES1
Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush.
GLsizei startSegment
Definition: glext.h:12661
HRESULT WINAPI D2D1CreateDevice(_In_ IDXGIDevice *dxgiDevice, _In_opt_ CONST D2D1_CREATION_PROPERTIES *creationProperties, _Outptr_ ID2D1Device **d2dDevice)
D2D1_TEXT_ANTIALIAS_MODE
Describes the antialiasing mode used for drawing text.
Definition: d2d1.h:199
interface ID2D1GradientStopCollection ID2D1GradientStopCollection
Definition: d2d1.h:3582
D2D1_ANTIALIAS_MODE antialiasMode
Definition: d2d1_1.h:597
interface ID2D1Factory1 ID2D1Factory1
Definition: d2d1_1.h:2436
EXTERN_C CONST IID IID_ID2D1GradientStopCollection1
Definition: d2d1_1.h:659
interface ID2D1StrokeStyle ID2D1StrokeStyle
Definition: d2d1.h:3594
D2D1_DEVICE_CONTEXT_OPTIONS
This specifies options that apply to the device context for its lifetime.
Definition: d2d1_1.h:295
EXTERN_C CONST IID IID_ID2D1BitmapBrush1
Definition: d2d1_1.h:652
The mapped pointer can be read from.
Definition: d2d1_1.h:220
D2D1_CAP_STYLE dashCap
Definition: d2d1_1.h:522
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
Definition: glsym_gl.h:1002
EXTERN_C CONST IID IID_ID2D1ColorContext
Definition: d2d1_1.h:658
uint64_t UINT64
Definition: coretypes.h:8
D2D_POINT_2L D2D1_POINT_2L
Definition: d2d1_1.h:58
GLsizeiptr size
Definition: glext.h:6559
D2D1_CAP_STYLE startCap
Definition: d2d1_1.h:520
struct D2D1_DRAWING_STATE_DESCRIPTION1 D2D1_DRAWING_STATE_DESCRIPTION1
This describes the drawing state.
EXTERN_C CONST IID IID_ID2D1CommandList
Definition: d2d1_1.h:649
D2D1_PRIMITIVE_BLEND primitiveBlend
Definition: d2d1_1.h:602
GLfloat f
Definition: glext.h:8207
HRESULT(CALLBACK * PD2D1_EFFECT_FACTORY)(_Outptr_ IUnknown **effectImpl)
Function pointer to construct a new effect once registered.
Definition: d2d1_1.h:42
GLfloat angle
Definition: glext.h:11760
The mapped pointer has undefined behavior.
Definition: d2d1_1.h:215
D2D1_EXTEND_MODE extendModeY
Definition: d2d1_1.h:497
interface ID2D1BitmapBrush ID2D1BitmapBrush
Definition: d2d1.h:3586
EXTERN_C CONST IID IID_ID2D1GdiMetafile
Definition: d2d1_1.h:647
The stroke is forced to one pixel wide.
Definition: d2d1_1.h:332
Resources may only be invoked serially. Reference counts on resources are interlocked,...
Definition: d2d1_1.h:365
interface ID2D1PathGeometry ID2D1PathGeometry
Definition: d2d1.h:3614
The bitmap can be read from the CPU.
Definition: d2d1_1.h:154
Colors will be interpolated in straight alpha space.
Definition: d2d1_1.h:386
D2D1_DASH_STYLE
Describes the sequence of dashes and gaps in a stroke.
Definition: d2d1.h:410
D2D1_UNIT_MODE unitMode
Definition: d2d1_1.h:603
GLdouble s
Definition: glext.h:6390
UINT32 endFigure
Definition: d2d1_1.h:484
GLdouble GLdouble z
Definition: glext.h:6514
Represents a rectangle defined by the coordinates of the upper-left corner (left, top) and the coordi...
Definition: dcommon.h:224
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
D2D1_LINE_JOIN lineJoin
Definition: d2d1_1.h:523
D2D1_RECT_F sourceRectangle
Definition: d2d1_1.h:495
EXTERN_C CONST IID IID_ID2D1Factory1
Definition: d2d1_1.h:663
Subset for used glyphs, send and discard font resource after each page
Definition: d2d1_1.h:581
Colors will be interpolated in premultiplied alpha space.
Definition: d2d1_1.h:391
GLenum GLenum GLenum input
Definition: glext.h:9938
interface ID2D1PrintControl ID2D1PrintControl
Definition: d2d1_1.h:2410
interface IDXGIDevice IDXGIDevice
Definition: dxgi.h:114
FLOAT lengthToEndSegment
Definition: d2d1_1.h:485
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
const GLubyte * c
Definition: glext.h:9812
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
FLOAT dpiX
Definition: d2d1_1.h:406
Subset for used glyphs, send and discard font resource after every five pages
Definition: d2d1_1.h:576
struct D2D1_POINT_DESCRIPTION D2D1_POINT_DESCRIPTION
Describes a point along a path.
interface ID2D1Mesh ID2D1Mesh
Definition: d2d1.h:3616
The bitmap is created with default properties.
Definition: d2d1_1.h:138
The sRGB color space.
Definition: d2d1_1.h:281
D2D1_DEBUG_LEVEL
Indicates the debug level to be output by the debug layer.
Definition: d2d1.h:971
interface ID2D1GdiMetafile ID2D1GdiMetafile
Definition: d2d1_1.h:2404
#define D2D1_DEFAULT_FLATTENING_TOLERANCE
Definition: d2d1.h:82
The DWRITE_GLYPH_RUN_DESCRIPTION structure contains additional properties related to those in DWRITE_...
Definition: dwrite.h:3075
D2D_VECTOR_2F D2D1_VECTOR_2F
Definition: d2d1_1.h:396
Represents a 5-by-4 matrix.
Definition: dcommon.h:371
D2D1_PRIMITIVE_BLEND
A blend mode that applies to all primitives drawn on the context.
Definition: d2d1_1.h:341
interface ID2D1DrawingStateBlock1 ID2D1DrawingStateBlock1
Definition: d2d1_1.h:2430
D2D1_COLOR_SPACE
Defines a color space.
Definition: d2d1_1.h:270
DEFINE_ENUM_FLAG_OPERATORS(D2D1_BITMAP_OPTIONS)
D2D1_DEBUG_LEVEL debugLevel
Definition: d2d1_1.h:640
GLsizei GLenum GLboolean sink
Definition: glext.h:6324
D2D1_INTERPOLATION_MODE interpolationMode
Definition: d2d1_1.h:510
#define NULL
Pointer to 0.
Definition: gctypes.h:65
interface ID2D1Effect ID2D1Effect
Definition: d2d1_1.h:53
GLenum type
Definition: glext.h:6233
D2D1_LINE_JOIN
Enum which describes the drawing of the corners on the line.
Definition: d2d1.h:426
interface ID2D1ImageBrush ID2D1ImageBrush
Definition: d2d1_1.h:2412
DXGI_FORMAT
Definition: dxgiformat.h:10
D2D_VECTOR_3F D2D1_VECTOR_3F
Definition: d2d1_1.h:397
D2D1_INTERPOLATION_MODE
This is used to specify the quality of image scaling with ID2D1DeviceContext::DrawImage and with the ...
Definition: d2d1_1.h:242
void WINAPI D2D1SinCos(_In_ FLOAT angle, _Out_ FLOAT *s, _Out_ FLOAT *c)
interface IDXGISurface IDXGISurface
Definition: d2d1.h:53
Geometry rendering will be performed on many threads in parallel, a single thread is the default.
Definition: d2d1_1.h:303
D2D1_INTERPOLATION_MODE interpolationMode
Definition: d2d1_1.h:498
D2D1_STROKE_TRANSFORM_TYPE
Defines how the world transform, dots per inch (dpi), and stroke width affect the shape of the pen us...
Definition: d2d1_1.h:315
A vector of 2 FLOAT values (x, y).
Definition: dcommon.h:187
interface ID2D1Multithread ID2D1Multithread
Definition: d2d1_1.h:2438
ID2D1Effect * effect
The effect whose input connection is being specified.
Definition: d2d1_1.h:457
interface IWICImagingFactory IWICImagingFactory
Definition: d2d1_1.h:33
interface ID2D1DeviceContext ID2D1DeviceContext
Definition: d2d1_1.h:2432
interface ID2D1CommandSink ID2D1CommandSink
Definition: d2d1_1.h:2406
struct D2D1_PRINT_CONTROL_PROPERTIES D2D1_PRINT_CONTROL_PROPERTIES
The creation properties for a ID2D1PrintControl object.
Description of a pixel format.
Definition: dcommon.h:155
interface ID2D1RenderTarget ID2D1RenderTarget
Definition: d2d1.h:72
D2D1_THREADING_MODE threadingMode
Describes locking behavior of D2D resources
Definition: d2d1_1.h:639
interface ID2D1DrawingStateBlock ID2D1DrawingStateBlock
Definition: d2d1.h:3620
interface ID2D1Geometry ID2D1Geometry
Definition: d2d1.h:76
D2D1_POINT_2F unitTangentVector
Definition: d2d1_1.h:482
Describes mapped memory from the ID2D1Bitmap1::Map API.
Definition: d2d1_1.h:421
The mapped pointer can be written to.
Definition: d2d1_1.h:225
D2D1_EXTEND_MODE
Enum which describes how to sample from a source outside its base tile.
Definition: d2d1.h:151
The interface implemented by the text analyzer's client to provide text to the analyzer....
Definition: dwrite.h:3021
D2D1_ANTIALIAS_MODE
Enum which describes the manner in which we render edges of non-text primitives.
Definition: d2d1.h:179
D2D1_DASH_STYLE dashStyle
Definition: d2d1_1.h:525
D2D1_BITMAP_OPTIONS bitmapOptions
Specifies how the bitmap can be used.
Definition: d2d1_1.h:412
D2D1_BITMAP_OPTIONS
Specifies how the bitmap can be used.
Definition: d2d1_1.h:132
struct D2D1_STROKE_STYLE_PROPERTIES1 D2D1_STROKE_STYLE_PROPERTIES1
This defines how geometries should be drawn and widened.
EXTERN_C CONST IID IID_ID2D1DrawingStateBlock1
Definition: d2d1_1.h:660
D2D1_RECT_F contentBounds
Definition: d2d1_1.h:556
EXTERN_C CONST IID IID_ID2D1Properties
Definition: d2d1_1.h:655
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glext.h:6305
RECT D2D_RECT_L
Definition: dcommon.h:247
Stores an ordered pair of floats, typically the width and height of a rectangle.
Definition: dcommon.h:252
D2D1_UNIT_MODE
This specifies what units should be accepted by the D2D API.
Definition: d2d1_1.h:258
EXTERN_C CONST IID IID_ID2D1Multithread
Definition: d2d1_1.h:664
UINT64 D2D1_TAG
Definition: d2d1.h:290
struct D2D1_IMAGE_BRUSH_PROPERTIES D2D1_IMAGE_BRUSH_PROPERTIES
Creation properties for an image brush.
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:6295
HRESULT WINAPI D2D1CreateDeviceContext(_In_ IDXGISurface *dxgiSurface, _In_opt_ CONST D2D1_CREATION_PROPERTIES *creationProperties, _Outptr_ ID2D1DeviceContext **d2dDeviceContext)
The bitmap can be specified as a target in ID2D1DeviceContext::SetTarget
Definition: d2d1_1.h:143
A vector of 4 FLOAT values (x, y, z, w).
Definition: dcommon.h:210
D2D1_PRINT_FONT_SUBSET_MODE
Defines when font resources should be subset during printing.
Definition: d2d1_1.h:570
interface ID2D1Factory ID2D1Factory
Definition: d2d1.h:71
UINT32 pitch
Definition: d2d1_1.h:423
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
Represents an x-coordinate and y-coordinate pair in two-dimensional space.
Definition: dcommon.h:175
f32 a2
Definition: gx_regdef.h:5096
Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush.
Definition: d2d1_1.h:506
struct D2D1_RENDERING_CONTROLS D2D1_RENDERING_CONTROLS
This controls advanced settings of the Direct2D imaging pipeline.
FLOAT dashOffset
Definition: d2d1_1.h:526
D2D1_BUFFER_PRECISION
This specifies the precision that should be used in buffers allocated by D2D.
Definition: d2d1_1.h:193
D2D1_LAYER_OPTIONS1
Specifies how the layer contents should be prepared.
Definition: d2d1_1.h:539
D2D1_MATRIX_3X2_F transform
Definition: d2d1_1.h:601
The stroke respects the world transform, the DPI, and the stroke width.
Definition: d2d1_1.h:321
D2D1_THREADING_MODE
This specifies the threading mode used while simultaneously creating the device, factory,...
Definition: d2d1_1.h:357
EXTERN_C CONST IID IID_ID2D1CommandSink
Definition: d2d1_1.h:648
GLenum GLsizei dataSize
Definition: glext.h:12030
D2D1_PROPERTY
This defines the list of system properties present on the root effect property interface.
Definition: d2d1_1.h:94
EXTERN_C CONST IID IID_ID2D1Device
Definition: d2d1_1.h:662
struct D2D1_EFFECT_INPUT_DESCRIPTION D2D1_EFFECT_INPUT_DESCRIPTION
This identifies a certain input connection of a certain effect.
FLOAT dpiY
Definition: d2d1_1.h:407
interface ID2D1PathGeometry1 ID2D1PathGeometry1
Definition: d2d1_1.h:2418
Represents a 3-by-2 matrix.
Definition: dcommon.h:275
GLuint index
Definition: glext.h:6671
interface ID2D1ColorContext ID2D1ColorContext
Definition: d2d1_1.h:31
D2D1_EXTEND_MODE extendModeX
Definition: d2d1_1.h:496
D2D1_SIZE_U tileSize
The size of allocated tiles used to render imaging effects.
Definition: d2d1_1.h:443
D2D_MATRIX_4X3_F D2D1_MATRIX_4X3_F
Definition: d2d1_1.h:472
interface IPrintDocumentPackageTarget IPrintDocumentPackageTarget
Definition: d2d1_1.h:34
This specifies the options while simultaneously creating the device, factory, and device context.
Definition: d2d1_1.h:633
interface ID2D1Device ID2D1Device
Definition: d2d1_1.h:52
A vector of 3 FLOAT values (x, y, z).
Definition: dcommon.h:198
interface ID2D1GdiMetafileSink ID2D1GdiMetafileSink
Definition: d2d1_1.h:2402
EXTERN_C CONST IID IID_ID2D1PathGeometry1
Definition: d2d1_1.h:654
unsigned int BOOL
Definition: gctypes.h:51
interface ID2D1Bitmap ID2D1Bitmap
Definition: d2d1.h:3580
Text is measured using glyph ideal metrics whose values are independent to the current display resolu...
Definition: dcommon.h:40
uint32_t UINT32
Definition: coretypes.h:10
EXTERN_C CONST IID IID_ID2D1Effect
Definition: d2d1_1.h:656
std::string output
Definition: Config.FromFile.cpp:44
_Field_size_opt_(1) ID2D1ColorContext *colorContext
interface ID2D1Resource ID2D1Resource
Definition: d2d1.h:3576
interface IWICColorContext IWICColorContext
Definition: d2d1_1.h:32
GLuint color
Definition: glext.h:6883
interface ID2D1Brush ID2D1Brush
Definition: d2d1.h:77
The previous contents of the bitmap are discarded when it is mapped.
Definition: d2d1_1.h:230
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
D2D1_COLOR_SPACE colorSpace
Color space for vector graphics in XPS package
Definition: d2d1_1.h:624
This identifies a certain input connection of a certain effect.
Definition: d2d1_1.h:451
D2D1_EXTEND_MODE extendModeX
Definition: d2d1_1.h:508
FLOAT WINAPI D2D1Vec3Length(_In_ FLOAT x, _In_ FLOAT y, _In_ FLOAT z)
Extended bitmap properties.
Definition: d2d1_1.h:403
def cd(new_dir)
Definition: build.py:40
Stores an ordered pair of integers, typically the width and height of a rectangle.
Definition: dcommon.h:264
D2D1_RECT_F inputRectangle
The rectangle which would be available on the specified input connection during render operations.
Definition: d2d1_1.h:468
D2D1_SUBPROPERTY
This defines the indices of sub-properties that may be present on any parent property.
Definition: d2d1_1.h:115
D2D1_PRINT_FONT_SUBSET_MODE fontSubset
Definition: d2d1_1.h:613
interface IDWriteRenderingParams IDWriteRenderingParams
Definition: d2d1.h:52
GLuint GLenum GLenum transform
Definition: glext.h:10314
The scRGB color space.
Definition: d2d1_1.h:286
Definition: glslang_tab.cpp:133
The bitmap works with the ID2D1GdiInteropRenderTarget::GetDC API.
Definition: d2d1_1.h:159
GLsizei const GLfloat * value
Definition: glext.h:6709
UINT32 endSegment
Definition: d2d1_1.h:483
EXTERN_C CONST IID IID_ID2D1Bitmap1
Definition: d2d1_1.h:657
interface IDWriteFactory IDWriteFactory
Definition: d2d1_1.h:35
The stroke does not respect the world transform, but it does respect the DPI and the stroke width.
Definition: d2d1_1.h:327
The color space is described by accompanying data, such as a color profile.
Definition: d2d1_1.h:276
interface ID2D1GradientStopCollection1 ID2D1GradientStopCollection1
Definition: d2d1_1.h:2428
D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode
Definition: d2d1_1.h:598
D2D1_EXTEND_MODE extendModeY
Definition: d2d1_1.h:509
All parameters related to pushing a layer.
Definition: d2d1_1.h:554
Represents a 4-by-4 matrix.
Definition: dcommon.h:350
Contains the position and color of a gradient stop.
Definition: d2d1.h:307
D2D1_PROPERTY_TYPE
This defines the valid property types that can be used in an effect property interface.
Definition: d2d1_1.h:64
D2D1_COLOR_F WINAPI D2D1ConvertColorSpace(D2D1_COLOR_SPACE sourceColorSpace, D2D1_COLOR_SPACE destinationColorSpace, _In_ CONST D2D1_COLOR_F *color)
BYTE * bits
Definition: d2d1_1.h:424
EXTERN_C CONST IID IID_ID2D1PrintControl
Definition: d2d1_1.h:650
UINT32 inputIndex
The index of the input connection into the specified effect.
Definition: d2d1_1.h:462
Creation properties for an image brush.
Definition: d2d1_1.h:493
D2D1_TAG tag2
Definition: d2d1_1.h:600
Represents a 4-by-3 matrix.
Definition: dcommon.h:329
#define TRUE
Definition: stb_vorbis.h:231
This controls advanced settings of the Direct2D imaging pipeline.
Definition: d2d1_1.h:432
POINT D2D_POINT_2L
Definition: dcommon.h:182
struct D2D1_CREATION_PROPERTIES D2D1_CREATION_PROPERTIES
This specifies the options while simultaneously creating the device, factory, and device context.
interface ID2D1Properties ID2D1Properties
Definition: d2d1_1.h:2420
D2D_RECT_L D2D1_RECT_L
Definition: d2d1_1.h:57
Resources may be invoked from multiple threads. Resources use interlocked reference counting and thei...
Definition: d2d1_1.h:371
D2D1_DEVICE_CONTEXT_OPTIONS options
Definition: d2d1_1.h:641
struct nk_device device
Definition: nk_common.c:44
interface ID2D1Bitmap1 ID2D1Bitmap1
Definition: d2d1_1.h:2424
The resulting factory and derived resources may only be invoked serially. Reference counts on resourc...
Definition: d2d1.h:994
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233
bf_uint8_t options
Definition: connect_ps4.c:78
The resulting factory may be invoked from multiple threads. Returned resources use interlocked refere...
Definition: d2d1.h:1000
interface ID2D1StrokeStyle1 ID2D1StrokeStyle1
Definition: d2d1_1.h:2416
FLOAT miterLimit
Definition: d2d1_1.h:524
The text renderer interface represents a set of application-defined callbacks that perform rendering ...
Definition: d3d8types.h:57
D2D_MATRIX_4X4_F D2D1_MATRIX_4X4_F
Definition: d2d1_1.h:473
EXTERN_C CONST IID IID_ID2D1StrokeStyle1
Definition: d2d1_1.h:653
D2D_VECTOR_4F D2D1_VECTOR_4F
Definition: d2d1_1.h:398
D2D1_MAP_OPTIONS
This describes how the individual mapping operation should be performed.
Definition: d2d1_1.h:209
D2D1_STROKE_TRANSFORM_TYPE transformType
How the nib of the stroke is influenced by the context properties.
Definition: d2d1_1.h:531
Do not subset, reuse font for all pages, send it after first page
Definition: d2d1_1.h:586
interface ID2D1Image ID2D1Image
Definition: d2d1.h:3578
The creation properties for a ID2D1PrintControl object.
Definition: d2d1_1.h:611
DWRITE_MEASURING_MODE
The measuring method used for text layout.
Definition: dcommon.h:35
This defines how geometries should be drawn and widened.
Definition: d2d1_1.h:518
EXTERN_C CONST IID IID_ID2D1GdiMetafileSink
Definition: d2d1_1.h:646