Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browser/SamplesBrowser/Services/ComponentIconHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal static class ComponentIconHelper
"M 8 0.5 C 3.8637894 0.5 0.5 3.8637894 0.5 8 C 0.5 12.13622 3.8637903 15.5 8 15.5 C 12.136219 15.5 15.5 12.136219 15.5 8 C 15.5 3.8637903 12.13622 0.5 8 0.5 z M 8 1.5 C 11.59578 1.5 14.5 4.4042297 14.5 8 C 14.5 11.595781 11.595781 14.5 8 14.5 C 4.4042297 14.5 1.5 11.59578 1.5 8 C 1.5 4.4042306 4.4042306 1.5 8 1.5 z M 8.4472656 2.3730469 C 5.0992842 2.3730469 2.3730469 5.0973311 2.3730469 8.4453125 A 0.5 0.5 0 0 0 2.8730469 8.9453125 A 0.5 0.5 0 0 0 3.3730469 8.4453125 C 3.3730469 5.6377739 5.639727 3.3730469 8.4472656 3.3730469 A 0.5 0.5 0 0 0 8.9472656 2.8730469 A 0.5 0.5 0 0 0 8.4472656 2.3730469 z M 11.466797 4.5019531 A 0.5 0.5 0 0 0 11.169922 4.625 L 8.6640625 6.8222656 C 8.4449598 6.6979172 8.2675081 6.5 8 6.5 C 7.1774966 6.5 6.5 7.1774966 6.5 8 C 6.5 8.8225034 7.1774966 9.5 8 9.5 C 8.8225034 9.5 9.5 8.8225034 9.5 8 C 9.5 7.8330284 9.3968426 7.7060177 9.3457031 7.5546875 L 11.830078 5.375 A 0.5 0.5 0 0 0 11.875 4.6699219 A 0.5 0.5 0 0 0 11.466797 4.5019531 z M 8 7.5 C 8.1627527 7.5 8.3006052 7.574803 8.3925781 7.6914062 C 8.4600108 7.7768922 8.5 7.880652 8.5 8 C 8.5 8.2820966 8.2820966 8.5 8 8.5 C 7.7179034 8.5 7.5 8.2820966 7.5 8 C 7.5 7.7179034 7.7179034 7.5 8 7.5 z ";

private const string LinearGaugePathData =
"m 4.3085938,0.50195312 c -0.1040644,0.00657 -0.4991932,0.0614195 -0.1484376,0.50390628 0.5517683,0.696069 1.0175782,1.2871094 1.0175782,1.2871094 0,0 0.3138218,0.4612033 0.6894531,-0.00391 L 6.9042969,0.91601562 c 0,0 0.2804816,-0.40925209 -0.2558594,-0.41015624 l -2.3164063,-0.003906 c 0,0 -0.00857,-9.3834e-4 -0.023437,-2.6e-7 z M 3.5273438,1.9921875 A 0.51171875,0.50585938 0 0 0 3.4375,2 H 1.5898438 C 1.0048237,2 0.5195313,2.4872456 0.5195313,3.0722656 v 2.4003906 c 0,0.5850202 0.4852924,1.0722657 1.0703125,1.0722657 H 14.470703 c 0.58502,0 1.070313,-0.4872455 1.070313,-1.0722657 V 3.0722656 C 15.541016,2.4872456 15.055723,2 14.470703,2 H 9.341797 C 9.312787,1.99487 9.282487,1.99219 9.251957,1.99219 H 7.5058594 C 7.2256134,1.992185 7,2.2178008 7,2.4980469 7,2.778293 7.2256134,3.0039062 7.5058594,3.0039062 H 9.251953 c 0.0215,0 0.04172,-0.00133 0.0625,-0.00391 h 0.675781 v 2.4296875 c 0,0.039308 0.0035,0.078474 0.01172,0.1152344 H 6.0097656 V 4.0585938 c 0,-0.2895157 -0.233922,-0.5214844 -0.5234375,-0.5214844 -0.2895155,0 -0.5214844,0.2319688 -0.5214843,0.5214844 v 1.4863281 h -3.375 c -0.048317,0 -0.070312,-0.023948 -0.070313,-0.072266 V 3.0722656 C 1.5195312,3.0239484 1.5415266,3 1.5898438,3 h 1.875 a 0.51171875,0.50585938 0 0 0 0.0625,0.00391 A 0.51171875,0.50585938 0 0 0 3.5898438,3 h 0.042969 C 3.6315228,2.99795 3.6301728,2.99621 3.6289028,2.99414 A 0.51171875,0.50585938 0 0 0 4.0390625,2.4980469 0.51171875,0.50585938 0 0 0 3.5273438,1.9921875 Z M 11.027344,3 h 3.443359 c 0.04832,0 0.07031,0.023948 0.07031,0.072266 v 2.4003906 c 0,0.048317 -0.022,0.072266 -0.07031,0.072266 h -3.457031 c 0.0082,-0.036761 0.01367,-0.075926 0.01367,-0.1152344 z m 0.673828,4.9921875 -2.316406,0.00391 c -0.536341,9.04e-4 -0.25586,0.4101562 -0.25586,0.4101562 l 1.03711,1.3730469 c 0.375631,0.4651094 0.689453,0.00391 0.689453,0.00391 0,0 0.46581,-0.5910404 1.017578,-1.2871093 0.350756,-0.4424873 -0.04437,-0.4973363 -0.148438,-0.5039063 -0.01484,-9.383e-4 -0.02344,0 -0.02344,0 z M 6.78125,9.4824219 c -0.03053,0 -0.060834,0.00268 -0.089844,0.00781 H 1.5625 c -0.58502,0 -1.0703125,0.4872466 -1.0703125,1.0722651 v 2.400391 c 0,0.58502 0.4852925,1.072265 1.0703125,1.072265 h 12.880859 c 0.58502,0 1.070313,-0.487245 1.070313,-1.072265 V 10.5625 c 0,-0.585019 -0.485293,-1.0722631 -1.070313,-1.0722656 h -1.847656 a 0.51171875,0.50585938 0 0 0 -0.08984,-0.00781 0.51171875,0.50585938 0 0 0 -0.511718,0.5058593 0.51171875,0.50585938 0 0 0 0.410156,0.4960943 c -0.0013,0.0021 -0.0026,0.0039 -0.0039,0.0059 h 0.04297 a 0.51171875,0.50585938 0 0 0 0.0625,0.0039 0.51171875,0.50585938 0 0 0 0.0625,-0.0039 h 1.875 c 0.04831,0 0.07031,0.02395 0.07031,0.07227 v 2.400391 c 0,0.04832 -0.02199,0.07226 -0.07031,0.07226 h -3.375 v -1.486328 c 0,-0.289517 -0.231968,-0.521484 -0.521484,-0.521484 -0.289515,0 -0.523437,0.231968 -0.523437,0.521484 v 1.486328 h -3.9922 c 0.00822,-0.03676 0.011719,-0.07592 0.011719,-0.115234 V 10.490234 H 6.71875 c 0.02078,0.0026 0.041,0.0039 0.0625,0.0039 h 1.746094 c 0.280246,0 0.505859,-0.225614 0.505859,-0.5058598 0,-0.2802461 -0.225613,-0.5058618 -0.505859,-0.5058593 z M 1.5625,10.490234 h 3.4433594 v 2.429688 c 0,0.0393 0.00547,0.07847 0.013672,0.115234 H 1.5625 c -0.04831,0 -0.070312,-0.02395 -0.070312,-0.07226 V 10.5625 c 0,-0.04832 0.021993,-0.07227 0.070312,-0.07227 z";
"M 4.46875 0.4453125 A 0.50005 0.50005 0 0 0 4.0625 1.2382812 L 5.5 3.2304688 A 0.50005 0.50005 0 0 0 6.3046875 3.2382812 L 7.8125 1.2460938 A 0.50005 0.50005 0 0 0 7.4140625 0.4453125 L 4.46875 0.4453125 z M 5.4472656 1.4453125 L 6.4101562 1.4453125 L 5.9160156 2.0957031 L 5.4472656 1.4453125 z M 2.40625 2.4453125 C 1.572666 2.4453099 0.84375 3.0847226 0.84375 3.9160156 L 0.84375 5.3886719 C 0.843751 6.2199639 1.572666 6.859375 2.40625 6.859375 L 13.421875 6.859375 C 14.255459 6.859375 14.984375 6.2199639 14.984375 5.3886719 L 14.984375 3.9160156 C 14.984375 3.0847226 14.255459 2.4453125 13.421875 2.4453125 L 8.4414062 2.4453125 A 0.5 0.5 0 0 0 7.9414062 2.9453125 A 0.5 0.5 0 0 0 8.4414062 3.4453125 L 9.8808594 3.4453125 L 9.9121094 5.859375 L 6.4804688 5.859375 L 6.4492188 4.6542969 A 0.5 0.5 0 0 0 5.9355469 4.1679688 A 0.5 0.5 0 0 0 5.4492188 4.6816406 L 5.4804688 5.859375 L 2.40625 5.859375 C 2.062585 5.859375 1.84375 5.6320079 1.84375 5.3886719 L 1.84375 3.9160156 C 1.843751 3.6726776 2.062586 3.4453115 2.40625 3.4453125 L 3.4140625 3.4453125 A 0.5 0.5 0 0 0 3.9140625 2.9453125 A 0.5 0.5 0 0 0 3.4140625 2.4453125 L 2.40625 2.4453125 z M 10.880859 3.4453125 L 13.421875 3.4453125 C 13.765541 3.4453105 13.984375 3.6726776 13.984375 3.9160156 L 13.984375 5.3886719 C 13.984375 5.6320079 13.765541 5.859375 13.421875 5.859375 L 10.912109 5.859375 L 10.880859 3.4453125 z M 8.515625 8.4609375 A 0.50005 0.50005 0 0 0 8.1171875 9.2617188 L 9.625 11.253906 A 0.50005 0.50005 0 0 0 10.429688 11.246094 L 11.867188 9.2539062 A 0.50005 0.50005 0 0 0 11.460938 8.4609375 L 8.515625 8.4609375 z M 9.5195312 9.4609375 L 10.482422 9.4609375 L 10.013672 10.111328 L 9.5195312 9.4609375 z M 2.5078125 10.460938 C 1.6742285 10.460938 0.9453125 11.100348 0.9453125 11.931641 L 0.9453125 13.404297 C 0.9453125 14.235589 1.6742285 14.875 2.5078125 14.875 L 13.523438 14.875 C 14.357022 14.875 15.085936 14.235589 15.085938 13.404297 L 15.085938 11.931641 C 15.085938 11.100348 14.357022 10.460934 13.523438 10.460938 L 12.515625 10.460938 A 0.5 0.5 0 0 0 12.015625 10.960938 A 0.5 0.5 0 0 0 12.515625 11.460938 L 13.523438 11.460938 C 13.867101 11.460936 14.085936 11.688303 14.085938 11.931641 L 14.085938 13.404297 C 14.085938 13.647633 13.867103 13.875 13.523438 13.875 L 10.449219 13.875 L 10.480469 12.697266 A 0.5 0.5 0 0 0 9.9941406 12.183594 A 0.5 0.5 0 0 0 9.4804688 12.669922 L 9.4492188 13.875 L 6.0175781 13.875 L 6.0488281 11.460938 L 7.4882812 11.460938 A 0.5 0.5 0 0 0 7.9882812 10.960938 A 0.5 0.5 0 0 0 7.4882812 10.460938 L 2.5078125 10.460938 z M 2.5078125 11.460938 L 5.0488281 11.460938 L 5.0175781 13.875 L 2.5078125 13.875 C 2.1641465 13.875 1.9453125 13.647633 1.9453125 13.404297 L 1.9453125 11.931641 C 1.9453125 11.688303 2.1641465 11.460935 2.5078125 11.460938 z ";


public static IconElement NavIconForComponent(string name)
Expand Down