mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update to Win32Metadata 38.0.19-preview and FIX struct generation.
This commit is contained in:
@@ -13,5 +13,5 @@ public static unsafe partial class Apis
|
||||
{
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="DWriteCreateFactory"]/*' />
|
||||
[DllImport("DWrite.dll", ExactSpelling = true)]
|
||||
public static extern HResult DWriteCreateFactory(FactoryType factoryType, Guid* iid, IUnknown** factory);
|
||||
public static extern HResult DWriteCreateFactory(FactoryType factoryType, Guid* iid, void** factory);
|
||||
}
|
||||
|
||||
@@ -141,9 +141,9 @@ public unsafe partial struct IDWriteTextAnalyzer1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::GetBaseline"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult GetBaseline(IDWriteFontFace* fontFace, Baseline baseline, Bool32 isVertical, Bool32 isSimulationAllowed, ScriptAnalysis* scriptAnalysis, ushort* localeName, int* baselineCoordinate, Bool32* exists)
|
||||
public HResult GetBaseline(IDWriteFontFace* fontFace, Baseline baseline, Bool32 isVertical, Bool32 isSimulationAllowed, ScriptAnalysis scriptAnalysis, ushort* localeName, int* baselineCoordinate, Bool32* exists)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, Baseline, Bool32, Bool32, ScriptAnalysis*, ushort*, int*, Bool32*, int>)(lpVtbl[11]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, baseline, isVertical, isSimulationAllowed, scriptAnalysis, localeName, baselineCoordinate, exists);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, Baseline, Bool32, Bool32, ScriptAnalysis, ushort*, int*, Bool32*, int>)(lpVtbl[11]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, baseline, isVertical, isSimulationAllowed, scriptAnalysis, localeName, baselineCoordinate, exists);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation"]/*' />
|
||||
@@ -165,9 +165,9 @@ public unsafe partial struct IDWriteTextAnalyzer1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::GetScriptProperties"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(14)]
|
||||
public HResult GetScriptProperties(ScriptAnalysis* scriptAnalysis, ScriptProperties* scriptProperties)
|
||||
public HResult GetScriptProperties(ScriptAnalysis scriptAnalysis, ScriptProperties* scriptProperties)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, ScriptAnalysis*, ScriptProperties*, int>)(lpVtbl[14]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), scriptAnalysis, scriptProperties);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, ScriptAnalysis, ScriptProperties*, int>)(lpVtbl[14]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), scriptAnalysis, scriptProperties);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::GetTextComplexity"]/*' />
|
||||
@@ -181,9 +181,9 @@ public unsafe partial struct IDWriteTextAnalyzer1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::GetJustificationOpportunities"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(16)]
|
||||
public HResult GetJustificationOpportunities(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, ushort* textString, ushort* clusterMap, ShapingGlyphProperties* glyphProperties, JustificationOpportunity* justificationOpportunities)
|
||||
public HResult GetJustificationOpportunities(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis scriptAnalysis, uint textLength, uint glyphCount, ushort* textString, ushort* clusterMap, ShapingGlyphProperties* glyphProperties, JustificationOpportunity* justificationOpportunities)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, float, ScriptAnalysis*, uint, uint, ushort*, ushort*, ShapingGlyphProperties*, JustificationOpportunity*, int>)(lpVtbl[16]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, float, ScriptAnalysis, uint, uint, ushort*, ushort*, ShapingGlyphProperties*, JustificationOpportunity*, int>)(lpVtbl[16]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::JustifyGlyphAdvances"]/*' />
|
||||
@@ -197,9 +197,9 @@ public unsafe partial struct IDWriteTextAnalyzer1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer1::GetJustifiedGlyphs"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult GetJustifiedGlyphs(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, uint maxGlyphCount, ushort* clusterMap, ushort* glyphIndices, float* glyphAdvances, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets, ShapingGlyphProperties* glyphProperties, uint* actualGlyphCount, ushort* modifiedClusterMap, ushort* modifiedGlyphIndices, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets)
|
||||
public HResult GetJustifiedGlyphs(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis scriptAnalysis, uint textLength, uint glyphCount, uint maxGlyphCount, ushort* clusterMap, ushort* glyphIndices, float* glyphAdvances, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets, ShapingGlyphProperties* glyphProperties, uint* actualGlyphCount, ushort* modifiedClusterMap, ushort* modifiedGlyphIndices, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, float, ScriptAnalysis*, uint, uint, uint, ushort*, ushort*, float*, float*, GlyphOffset*, ShapingGlyphProperties*, uint*, ushort*, ushort*, float*, GlyphOffset*, int>)(lpVtbl[18]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, maxGlyphCount, clusterMap, glyphIndices, glyphAdvances, justifiedGlyphAdvances, justifiedGlyphOffsets, glyphProperties, actualGlyphCount, modifiedClusterMap, modifiedGlyphIndices, modifiedGlyphAdvances, modifiedGlyphOffsets);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer1*, IDWriteFontFace*, float, ScriptAnalysis, uint, uint, uint, ushort*, ushort*, float*, float*, GlyphOffset*, ShapingGlyphProperties*, uint*, ushort*, ushort*, float*, GlyphOffset*, int>)(lpVtbl[18]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, maxGlyphCount, clusterMap, glyphIndices, glyphAdvances, justifiedGlyphAdvances, justifiedGlyphOffsets, glyphProperties, actualGlyphCount, modifiedClusterMap, modifiedGlyphIndices, modifiedGlyphAdvances, modifiedGlyphOffsets);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -141,9 +141,9 @@ public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.GetBaseline" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(11)]
|
||||
public HResult GetBaseline(IDWriteFontFace* fontFace, Baseline baseline, Bool32 isVertical, Bool32 isSimulationAllowed, ScriptAnalysis* scriptAnalysis, ushort* localeName, int* baselineCoordinate, Bool32* exists)
|
||||
public HResult GetBaseline(IDWriteFontFace* fontFace, Baseline baseline, Bool32 isVertical, Bool32 isSimulationAllowed, ScriptAnalysis scriptAnalysis, ushort* localeName, int* baselineCoordinate, Bool32* exists)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, Baseline, Bool32, Bool32, ScriptAnalysis*, ushort*, int*, Bool32*, int>)(lpVtbl[11]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, baseline, isVertical, isSimulationAllowed, scriptAnalysis, localeName, baselineCoordinate, exists);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, Baseline, Bool32, Bool32, ScriptAnalysis, ushort*, int*, Bool32*, int>)(lpVtbl[11]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, baseline, isVertical, isSimulationAllowed, scriptAnalysis, localeName, baselineCoordinate, exists);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.AnalyzeVerticalGlyphOrientation" />
|
||||
@@ -165,9 +165,9 @@ public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.GetScriptProperties" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(14)]
|
||||
public HResult GetScriptProperties(ScriptAnalysis* scriptAnalysis, ScriptProperties* scriptProperties)
|
||||
public HResult GetScriptProperties(ScriptAnalysis scriptAnalysis, ScriptProperties* scriptProperties)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, ScriptAnalysis*, ScriptProperties*, int>)(lpVtbl[14]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), scriptAnalysis, scriptProperties);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, ScriptAnalysis, ScriptProperties*, int>)(lpVtbl[14]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), scriptAnalysis, scriptProperties);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.GetTextComplexity" />
|
||||
@@ -181,9 +181,9 @@ public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.GetJustificationOpportunities" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(16)]
|
||||
public HResult GetJustificationOpportunities(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, ushort* textString, ushort* clusterMap, ShapingGlyphProperties* glyphProperties, JustificationOpportunity* justificationOpportunities)
|
||||
public HResult GetJustificationOpportunities(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis scriptAnalysis, uint textLength, uint glyphCount, ushort* textString, ushort* clusterMap, ShapingGlyphProperties* glyphProperties, JustificationOpportunity* justificationOpportunities)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, float, ScriptAnalysis*, uint, uint, ushort*, ushort*, ShapingGlyphProperties*, JustificationOpportunity*, int>)(lpVtbl[16]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, float, ScriptAnalysis, uint, uint, ushort*, ushort*, ShapingGlyphProperties*, JustificationOpportunity*, int>)(lpVtbl[16]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.JustifyGlyphAdvances" />
|
||||
@@ -197,9 +197,9 @@ public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextAnalyzer1.GetJustifiedGlyphs" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(18)]
|
||||
public HResult GetJustifiedGlyphs(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, uint maxGlyphCount, ushort* clusterMap, ushort* glyphIndices, float* glyphAdvances, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets, ShapingGlyphProperties* glyphProperties, uint* actualGlyphCount, ushort* modifiedClusterMap, ushort* modifiedGlyphIndices, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets)
|
||||
public HResult GetJustifiedGlyphs(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis scriptAnalysis, uint textLength, uint glyphCount, uint maxGlyphCount, ushort* clusterMap, ushort* glyphIndices, float* glyphAdvances, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets, ShapingGlyphProperties* glyphProperties, uint* actualGlyphCount, ushort* modifiedClusterMap, ushort* modifiedGlyphIndices, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, float, ScriptAnalysis*, uint, uint, uint, ushort*, ushort*, float*, float*, GlyphOffset*, ShapingGlyphProperties*, uint*, ushort*, ushort*, float*, GlyphOffset*, int>)(lpVtbl[18]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, maxGlyphCount, clusterMap, glyphIndices, glyphAdvances, justifiedGlyphAdvances, justifiedGlyphOffsets, glyphProperties, actualGlyphCount, modifiedClusterMap, modifiedGlyphIndices, modifiedGlyphAdvances, modifiedGlyphOffsets);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, float, ScriptAnalysis, uint, uint, uint, ushort*, ushort*, float*, float*, GlyphOffset*, ShapingGlyphProperties*, uint*, ushort*, ushort*, float*, GlyphOffset*, int>)(lpVtbl[18]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, maxGlyphCount, clusterMap, glyphIndices, glyphAdvances, justifiedGlyphAdvances, justifiedGlyphOffsets, glyphProperties, actualGlyphCount, modifiedClusterMap, modifiedGlyphIndices, modifiedGlyphAdvances, modifiedGlyphOffsets);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer2::GetGlyphOrientationTransform"]/*' />
|
||||
@@ -213,17 +213,17 @@ public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer2::GetTypographicFeatures"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public HResult GetTypographicFeatures(IDWriteFontFace* fontFace, ScriptAnalysis* scriptAnalysis, ushort* localeName, uint maxTagCount, uint* actualTagCount, FontFeatureTag* tags)
|
||||
public HResult GetTypographicFeatures(IDWriteFontFace* fontFace, ScriptAnalysis scriptAnalysis, ushort* localeName, uint maxTagCount, uint* actualTagCount, FontFeatureTag* tags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, ScriptAnalysis*, ushort*, uint, uint*, FontFeatureTag*, int>)(lpVtbl[20]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, scriptAnalysis, localeName, maxTagCount, actualTagCount, tags);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, ScriptAnalysis, ushort*, uint, uint*, FontFeatureTag*, int>)(lpVtbl[20]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, scriptAnalysis, localeName, maxTagCount, actualTagCount, tags);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextAnalyzer2::CheckTypographicFeature"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(21)]
|
||||
public HResult CheckTypographicFeature(IDWriteFontFace* fontFace, ScriptAnalysis* scriptAnalysis, ushort* localeName, FontFeatureTag featureTag, uint glyphCount, ushort* glyphIndices, byte* featureApplies)
|
||||
public HResult CheckTypographicFeature(IDWriteFontFace* fontFace, ScriptAnalysis scriptAnalysis, ushort* localeName, FontFeatureTag featureTag, uint glyphCount, ushort* glyphIndices, byte* featureApplies)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, ScriptAnalysis*, ushort*, FontFeatureTag, uint, ushort*, byte*, int>)(lpVtbl[21]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, scriptAnalysis, localeName, featureTag, glyphCount, glyphIndices, featureApplies);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextAnalyzer2*, IDWriteFontFace*, ScriptAnalysis, ushort*, FontFeatureTag, uint, ushort*, byte*, int>)(lpVtbl[21]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, scriptAnalysis, localeName, featureTag, glyphCount, glyphIndices, featureApplies);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -293,97 +293,97 @@ public unsafe partial struct IDWriteTextLayout : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontCollection"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange)
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteFontCollection*, TextRange*, int>)(lpVtbl[30]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteFontCollection*, TextRange, int>)(lpVtbl[30]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontFamilyName"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange)
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, ushort*, TextRange*, int>)(lpVtbl[31]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, ushort*, TextRange, int>)(lpVtbl[31]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontWeight"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(32)]
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange)
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontWeight, TextRange*, int>)(lpVtbl[32]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontWeight, TextRange, int>)(lpVtbl[32]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontStyle"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(33)]
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange)
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontStyle, TextRange*, int>)(lpVtbl[33]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontStyle, TextRange, int>)(lpVtbl[33]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontStretch"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(34)]
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange)
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontStretch, TextRange*, int>)(lpVtbl[34]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, FontStretch, TextRange, int>)(lpVtbl[34]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetFontSize"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(35)]
|
||||
public HResult SetFontSize(float fontSize, TextRange* textRange)
|
||||
public HResult SetFontSize(float fontSize, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, float, TextRange*, int>)(lpVtbl[35]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, float, TextRange, int>)(lpVtbl[35]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetUnderline"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(36)]
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange)
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, Bool32, TextRange*, int>)(lpVtbl[36]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, Bool32, TextRange, int>)(lpVtbl[36]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetStrikethrough"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(37)]
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange)
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, Bool32, TextRange*, int>)(lpVtbl[37]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, Bool32, TextRange, int>)(lpVtbl[37]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetDrawingEffect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(38)]
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange)
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IUnknown*, TextRange*, int>)(lpVtbl[38]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IUnknown*, TextRange, int>)(lpVtbl[38]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetInlineObject"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(39)]
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange)
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteInlineObject*, TextRange*, int>)(lpVtbl[39]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteInlineObject*, TextRange, int>)(lpVtbl[39]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetTypography"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(40)]
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange)
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteTypography*, TextRange*, int>)(lpVtbl[40]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, IDWriteTypography*, TextRange, int>)(lpVtbl[40]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::SetLocaleName"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(41)]
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange* textRange)
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, ushort*, TextRange*, int>)(lpVtbl[41]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout*, ushort*, TextRange, int>)(lpVtbl[41]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout::GetMaxWidth"]/*' />
|
||||
|
||||
@@ -293,97 +293,97 @@ public unsafe partial struct IDWriteTextLayout1 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontCollection" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange)
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteFontCollection*, TextRange*, int>)(lpVtbl[30]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteFontCollection*, TextRange, int>)(lpVtbl[30]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontFamilyName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange)
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, ushort*, TextRange*, int>)(lpVtbl[31]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, ushort*, TextRange, int>)(lpVtbl[31]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontWeight" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(32)]
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange)
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontWeight, TextRange*, int>)(lpVtbl[32]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontWeight, TextRange, int>)(lpVtbl[32]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStyle" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(33)]
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange)
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontStyle, TextRange*, int>)(lpVtbl[33]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontStyle, TextRange, int>)(lpVtbl[33]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStretch" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(34)]
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange)
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontStretch, TextRange*, int>)(lpVtbl[34]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, FontStretch, TextRange, int>)(lpVtbl[34]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontSize" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(35)]
|
||||
public HResult SetFontSize(float fontSize, TextRange* textRange)
|
||||
public HResult SetFontSize(float fontSize, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, float, TextRange*, int>)(lpVtbl[35]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, float, TextRange, int>)(lpVtbl[35]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetUnderline" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(36)]
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange)
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange*, int>)(lpVtbl[36]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange, int>)(lpVtbl[36]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetStrikethrough" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(37)]
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange)
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange*, int>)(lpVtbl[37]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange, int>)(lpVtbl[37]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetDrawingEffect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(38)]
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange)
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IUnknown*, TextRange*, int>)(lpVtbl[38]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IUnknown*, TextRange, int>)(lpVtbl[38]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetInlineObject" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(39)]
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange)
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteInlineObject*, TextRange*, int>)(lpVtbl[39]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteInlineObject*, TextRange, int>)(lpVtbl[39]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetTypography" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(40)]
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange)
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteTypography*, TextRange*, int>)(lpVtbl[40]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, IDWriteTypography*, TextRange, int>)(lpVtbl[40]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetLocaleName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(41)]
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange* textRange)
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, ushort*, TextRange*, int>)(lpVtbl[41]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, ushort*, TextRange, int>)(lpVtbl[41]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.GetMaxWidth" />
|
||||
@@ -589,9 +589,9 @@ public unsafe partial struct IDWriteTextLayout1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout1::SetPairKerning"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(67)]
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange* textRange)
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange*, int>)(lpVtbl[67]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, Bool32, TextRange, int>)(lpVtbl[67]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout1::GetPairKerning"]/*' />
|
||||
@@ -605,9 +605,9 @@ public unsafe partial struct IDWriteTextLayout1 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout1::SetCharacterSpacing"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(69)]
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange* textRange)
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, float, float, float, TextRange*, int>)(lpVtbl[69]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout1*, float, float, float, TextRange, int>)(lpVtbl[69]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout1::GetCharacterSpacing"]/*' />
|
||||
|
||||
@@ -293,97 +293,97 @@ public unsafe partial struct IDWriteTextLayout2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontCollection" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange)
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteFontCollection*, TextRange*, int>)(lpVtbl[30]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteFontCollection*, TextRange, int>)(lpVtbl[30]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontFamilyName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange)
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, ushort*, TextRange*, int>)(lpVtbl[31]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, ushort*, TextRange, int>)(lpVtbl[31]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontWeight" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(32)]
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange)
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontWeight, TextRange*, int>)(lpVtbl[32]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontWeight, TextRange, int>)(lpVtbl[32]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStyle" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(33)]
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange)
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontStyle, TextRange*, int>)(lpVtbl[33]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontStyle, TextRange, int>)(lpVtbl[33]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStretch" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(34)]
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange)
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontStretch, TextRange*, int>)(lpVtbl[34]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, FontStretch, TextRange, int>)(lpVtbl[34]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontSize" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(35)]
|
||||
public HResult SetFontSize(float fontSize, TextRange* textRange)
|
||||
public HResult SetFontSize(float fontSize, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, float, TextRange*, int>)(lpVtbl[35]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, float, TextRange, int>)(lpVtbl[35]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetUnderline" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(36)]
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange)
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange*, int>)(lpVtbl[36]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange, int>)(lpVtbl[36]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetStrikethrough" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(37)]
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange)
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange*, int>)(lpVtbl[37]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange, int>)(lpVtbl[37]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetDrawingEffect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(38)]
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange)
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IUnknown*, TextRange*, int>)(lpVtbl[38]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IUnknown*, TextRange, int>)(lpVtbl[38]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetInlineObject" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(39)]
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange)
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteInlineObject*, TextRange*, int>)(lpVtbl[39]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteInlineObject*, TextRange, int>)(lpVtbl[39]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetTypography" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(40)]
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange)
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteTypography*, TextRange*, int>)(lpVtbl[40]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, IDWriteTypography*, TextRange, int>)(lpVtbl[40]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetLocaleName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(41)]
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange* textRange)
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, ushort*, TextRange*, int>)(lpVtbl[41]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, ushort*, TextRange, int>)(lpVtbl[41]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.GetMaxWidth" />
|
||||
@@ -589,9 +589,9 @@ public unsafe partial struct IDWriteTextLayout2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetPairKerning" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(67)]
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange* textRange)
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange*, int>)(lpVtbl[67]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, Bool32, TextRange, int>)(lpVtbl[67]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetPairKerning" />
|
||||
@@ -605,9 +605,9 @@ public unsafe partial struct IDWriteTextLayout2 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetCharacterSpacing" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(69)]
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange* textRange)
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, float, float, float, TextRange*, int>)(lpVtbl[69]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout2*, float, float, float, TextRange, int>)(lpVtbl[69]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetCharacterSpacing" />
|
||||
|
||||
@@ -293,97 +293,97 @@ public unsafe partial struct IDWriteTextLayout3 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontCollection" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange)
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteFontCollection*, TextRange*, int>)(lpVtbl[30]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteFontCollection*, TextRange, int>)(lpVtbl[30]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontFamilyName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange)
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, ushort*, TextRange*, int>)(lpVtbl[31]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, ushort*, TextRange, int>)(lpVtbl[31]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontWeight" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(32)]
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange)
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontWeight, TextRange*, int>)(lpVtbl[32]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontWeight, TextRange, int>)(lpVtbl[32]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStyle" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(33)]
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange)
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontStyle, TextRange*, int>)(lpVtbl[33]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontStyle, TextRange, int>)(lpVtbl[33]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStretch" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(34)]
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange)
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontStretch, TextRange*, int>)(lpVtbl[34]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, FontStretch, TextRange, int>)(lpVtbl[34]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontSize" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(35)]
|
||||
public HResult SetFontSize(float fontSize, TextRange* textRange)
|
||||
public HResult SetFontSize(float fontSize, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, float, TextRange*, int>)(lpVtbl[35]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, float, TextRange, int>)(lpVtbl[35]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetUnderline" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(36)]
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange)
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange*, int>)(lpVtbl[36]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange, int>)(lpVtbl[36]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetStrikethrough" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(37)]
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange)
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange*, int>)(lpVtbl[37]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange, int>)(lpVtbl[37]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetDrawingEffect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(38)]
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange)
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IUnknown*, TextRange*, int>)(lpVtbl[38]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IUnknown*, TextRange, int>)(lpVtbl[38]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetInlineObject" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(39)]
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange)
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteInlineObject*, TextRange*, int>)(lpVtbl[39]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteInlineObject*, TextRange, int>)(lpVtbl[39]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetTypography" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(40)]
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange)
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteTypography*, TextRange*, int>)(lpVtbl[40]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, IDWriteTypography*, TextRange, int>)(lpVtbl[40]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetLocaleName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(41)]
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange* textRange)
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, ushort*, TextRange*, int>)(lpVtbl[41]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, ushort*, TextRange, int>)(lpVtbl[41]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.GetMaxWidth" />
|
||||
@@ -589,9 +589,9 @@ public unsafe partial struct IDWriteTextLayout3 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetPairKerning" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(67)]
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange* textRange)
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange*, int>)(lpVtbl[67]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, Bool32, TextRange, int>)(lpVtbl[67]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetPairKerning" />
|
||||
@@ -605,9 +605,9 @@ public unsafe partial struct IDWriteTextLayout3 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetCharacterSpacing" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(69)]
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange* textRange)
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, float, float, float, TextRange*, int>)(lpVtbl[69]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout3*, float, float, float, TextRange, int>)(lpVtbl[69]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetCharacterSpacing" />
|
||||
|
||||
@@ -293,97 +293,97 @@ public unsafe partial struct IDWriteTextLayout4 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontCollection" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange)
|
||||
public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteFontCollection*, TextRange*, int>)(lpVtbl[30]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteFontCollection*, TextRange, int>)(lpVtbl[30]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontCollection, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontFamilyName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange)
|
||||
public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, ushort*, TextRange*, int>)(lpVtbl[31]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, ushort*, TextRange, int>)(lpVtbl[31]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontFamilyName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontWeight" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(32)]
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange)
|
||||
public HResult SetFontWeight(FontWeight fontWeight, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontWeight, TextRange*, int>)(lpVtbl[32]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontWeight, TextRange, int>)(lpVtbl[32]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontWeight, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStyle" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(33)]
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange)
|
||||
public HResult SetFontStyle(FontStyle fontStyle, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontStyle, TextRange*, int>)(lpVtbl[33]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontStyle, TextRange, int>)(lpVtbl[33]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontStyle, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontStretch" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(34)]
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange)
|
||||
public HResult SetFontStretch(FontStretch fontStretch, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontStretch, TextRange*, int>)(lpVtbl[34]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontStretch, TextRange, int>)(lpVtbl[34]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontStretch, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetFontSize" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(35)]
|
||||
public HResult SetFontSize(float fontSize, TextRange* textRange)
|
||||
public HResult SetFontSize(float fontSize, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, float, TextRange*, int>)(lpVtbl[35]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, float, TextRange, int>)(lpVtbl[35]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontSize, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetUnderline" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(36)]
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange)
|
||||
public HResult SetUnderline(Bool32 hasUnderline, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange*, int>)(lpVtbl[36]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange, int>)(lpVtbl[36]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), hasUnderline, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetStrikethrough" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(37)]
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange)
|
||||
public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange*, int>)(lpVtbl[37]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange, int>)(lpVtbl[37]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetDrawingEffect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(38)]
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange)
|
||||
public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IUnknown*, TextRange*, int>)(lpVtbl[38]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IUnknown*, TextRange, int>)(lpVtbl[38]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), drawingEffect, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetInlineObject" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(39)]
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange)
|
||||
public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteInlineObject*, TextRange*, int>)(lpVtbl[39]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteInlineObject*, TextRange, int>)(lpVtbl[39]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), inlineObject, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetTypography" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(40)]
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange)
|
||||
public HResult SetTypography(IDWriteTypography* typography, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteTypography*, TextRange*, int>)(lpVtbl[40]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, IDWriteTypography*, TextRange, int>)(lpVtbl[40]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), typography, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.SetLocaleName" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(41)]
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange* textRange)
|
||||
public HResult SetLocaleName(ushort* localeName, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, ushort*, TextRange*, int>)(lpVtbl[41]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, ushort*, TextRange, int>)(lpVtbl[41]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), localeName, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout.GetMaxWidth" />
|
||||
@@ -589,9 +589,9 @@ public unsafe partial struct IDWriteTextLayout4 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetPairKerning" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(67)]
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange* textRange)
|
||||
public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange*, int>)(lpVtbl[67]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, Bool32, TextRange, int>)(lpVtbl[67]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetPairKerning" />
|
||||
@@ -605,9 +605,9 @@ public unsafe partial struct IDWriteTextLayout4 : INativeGuid
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.SetCharacterSpacing" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(69)]
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange* textRange)
|
||||
public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, float, float, float, TextRange*, int>)(lpVtbl[69]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, float, float, float, TextRange, int>)(lpVtbl[69]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDWriteTextLayout1.GetCharacterSpacing" />
|
||||
@@ -725,9 +725,9 @@ public unsafe partial struct IDWriteTextLayout4 : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout4::SetFontAxisValues"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(84)]
|
||||
public HResult SetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount, TextRange* textRange)
|
||||
public HResult SetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount, TextRange textRange)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontAxisValue*, uint, TextRange*, int>)(lpVtbl[84]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount, textRange);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTextLayout4*, FontAxisValue*, uint, TextRange, int>)(lpVtbl[84]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount, textRange);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTextLayout4::GetFontAxisValueCount"]/*' />
|
||||
|
||||
@@ -77,9 +77,9 @@ public unsafe partial struct IDWriteTypography : INativeGuid
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTypography::AddFontFeature"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(3)]
|
||||
public HResult AddFontFeature(FontFeature* fontFeature)
|
||||
public HResult AddFontFeature(FontFeature fontFeature)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTypography*, FontFeature*, int>)(lpVtbl[3]))((IDWriteTypography*)Unsafe.AsPointer(ref this), fontFeature);
|
||||
return ((delegate* unmanaged[Stdcall]<IDWriteTypography*, FontFeature, int>)(lpVtbl[3]))((IDWriteTypography*)Unsafe.AsPointer(ref this), fontFeature);
|
||||
}
|
||||
|
||||
/// <include file='../DirectWrite.xml' path='doc/member[@name="IDWriteTypography::GetFontFeatureCount"]/*' />
|
||||
|
||||
Reference in New Issue
Block a user