You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// copies of the Software, and to permit persons to whom the Software is
8
+
// furnished to do so, subject to the following conditions:
9
+
//
10
+
// The above copyright notice and this permission notice shall be included in
11
+
// all copies or substantial portions of the Software.
12
+
//
13
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+
// THE SOFTWARE.
20
+
21
+
namespaceSharpDX.DirectWrite
22
+
{
23
+
publicpartialclassFontFallback
24
+
{
25
+
/// <summary>
26
+
/// <p>Determines an appropriate font to use to render the beginning range of text.</p>
27
+
/// </summary>
28
+
/// <param name="analysisSource"><dd> <p>The text source implementation holds the text and locale.</p> </dd></param>
29
+
/// <param name="textPosition"><dd> <p>Starting position to analyze.</p> </dd></param>
30
+
/// <param name="textLength"><dd> <p>Length of the text to analyze.</p> </dd></param>
31
+
/// <param name="baseFontCollection"><dd> <p>Default font collection to use.</p> </dd></param>
32
+
/// <param name="baseFamilyName"><dd> <p>Family name of the base font. If you pass null, no matching will be done against the family.</p> </dd></param>
/// <param name="mappedLength"><dd> <p>Length of text mapped to the mapped font. This will always be less than or equal to the text length and greater than zero (if the text length is non-zero) so the caller advances at least one character.</p> </dd></param>
37
+
/// <param name="mappedFont"><dd> <p>The font that should be used to render the first <em>mappedLength</em> characters of the text. If it returns <c>null</c>, that means that no font can render the text, and <em>mappedLength</em> is the number of characters to skip (rendered with a missing glyph).</p> </dd></param>
38
+
/// <param name="scale"><dd> <p>Scale factor to multiply the em size of the returned font by.</p> </dd></param>
0 commit comments