Last change
on this file since 13834 was
12762,
checked in by aballeit, 9 years ago
|
#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)
|
File size:
602 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Text;
|
---|
3 | using System.Windows;
|
---|
4 | using System.Windows.Media;
|
---|
5 | using System.Windows.Markup;
|
---|
6 | using System.Collections.Generic;
|
---|
7 |
|
---|
8 | namespace SharpVectors.Runtime
|
---|
9 | {
|
---|
10 | public sealed class SvgFontUriExtension : MarkupExtension
|
---|
11 | {
|
---|
12 | private string _inputUri;
|
---|
13 |
|
---|
14 | public SvgFontUriExtension(string inputUri)
|
---|
15 | {
|
---|
16 | _inputUri = Environment.ExpandEnvironmentVariables(inputUri);
|
---|
17 | }
|
---|
18 |
|
---|
19 | public override object ProvideValue(IServiceProvider serviceProvider)
|
---|
20 | {
|
---|
21 | return new Uri(_inputUri);
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.