36 ID2D1StrokeStyle1_AddRef(iface);
66 ID2D1Factory_Release(
style->factory);
88 TRACE(
"iface %p.\n", iface);
90 return style->desc.startCap;
97 TRACE(
"iface %p.\n", iface);
99 return style->desc.endCap;
106 TRACE(
"iface %p.\n", iface);
108 return style->desc.dashCap;
115 TRACE(
"iface %p.\n", iface);
117 return style->desc.miterLimit;
124 TRACE(
"iface %p.\n", iface);
126 return style->desc.lineJoin;
133 TRACE(
"iface %p.\n", iface);
135 return style->desc.dashOffset;
142 TRACE(
"iface %p.\n", iface);
144 return style->desc.dashStyle;
151 TRACE(
"iface %p.\n", iface);
153 return style->dash_count;
171 TRACE(
"iface %p.\n", iface);
173 return style->desc.transformType;
210 builtin_dash_styles[] =
215 { 4, {2.0f, 2.0f, 0.0f, 2.0f}},
216 { 6, {2.0f, 2.0f, 0.0f, 2.0f, 0.0f, 2.0f}},
223 FIXME(
"transformType %d is not supported\n",
desc->transformType);
243 style->dashes = (
float *)builtin_dash_styles[
desc->dashStyle].dashes;
244 style->dash_count = builtin_dash_styles[
desc->dashStyle].dash_count;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
D2D1_STROKE_TRANSFORM_TYPE
@ D2D1_STROKE_TRANSFORM_TYPE_NORMAL
#define memcpy(s1, s2, n)
D3D11_SHADER_VARIABLE_DESC desc
#define IsEqualGUID(rguid1, rguid2)
HRESULT d2d_stroke_style_init(struct d2d_stroke_style *style, ID2D1Factory *factory, const D2D1_STROKE_STYLE_PROPERTIES1 *desc, const float *dashes, UINT32 dash_count)
static float STDMETHODCALLTYPE d2d_stroke_style_GetMiterLimit(ID2D1StrokeStyle1 *iface)
static ULONG STDMETHODCALLTYPE d2d_stroke_style_Release(ID2D1StrokeStyle1 *iface)
static struct d2d_stroke_style * impl_from_ID2D1StrokeStyle1(ID2D1StrokeStyle1 *iface)
static D2D1_DASH_STYLE STDMETHODCALLTYPE d2d_stroke_style_GetDashStyle(ID2D1StrokeStyle1 *iface)
static D2D1_LINE_JOIN STDMETHODCALLTYPE d2d_stroke_style_GetLineJoin(ID2D1StrokeStyle1 *iface)
static D2D1_CAP_STYLE STDMETHODCALLTYPE d2d_stroke_style_GetDashCap(ID2D1StrokeStyle1 *iface)
static void STDMETHODCALLTYPE d2d_stroke_style_GetFactory(ID2D1StrokeStyle1 *iface, ID2D1Factory **factory)
static D2D1_CAP_STYLE STDMETHODCALLTYPE d2d_stroke_style_GetStartCap(ID2D1StrokeStyle1 *iface)
static ULONG STDMETHODCALLTYPE d2d_stroke_style_AddRef(ID2D1StrokeStyle1 *iface)
static const struct ID2D1StrokeStyle1Vtbl d2d_stroke_style_vtbl
static D2D1_STROKE_TRANSFORM_TYPE STDMETHODCALLTYPE d2d_stroke_style_GetStrokeTransformType(ID2D1StrokeStyle1 *iface)
struct d2d_stroke_style * unsafe_impl_from_ID2D1StrokeStyle(ID2D1StrokeStyle *iface)
static UINT32 STDMETHODCALLTYPE d2d_stroke_style_GetDashesCount(ID2D1StrokeStyle1 *iface)
static void STDMETHODCALLTYPE d2d_stroke_style_GetDashes(ID2D1StrokeStyle1 *iface, float *dashes, UINT32 dash_count)
static float STDMETHODCALLTYPE d2d_stroke_style_GetDashOffset(ID2D1StrokeStyle1 *iface)
static D2D1_CAP_STYLE STDMETHODCALLTYPE d2d_stroke_style_GetEndCap(ID2D1StrokeStyle1 *iface)
static HRESULT STDMETHODCALLTYPE d2d_stroke_style_QueryInterface(ID2D1StrokeStyle1 *iface, REFIID iid, void **out)
ID2D1StrokeStyle1 ID2D1StrokeStyle1_iface
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out