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
Copy file name to clipboardExpand all lines: Samples/DWriteLineSpacingModes/README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ Within the DWriteTextLayoutImplementation project, the following files are signi
51
51
* The TextLayout.h/.cpp files wrap the DirectWrite text layout and related line spacing APIs.
52
52
* The TextLayoutImageSource.h/.cpp files implement a XAML SurfaceImageSource using DirectX APIs for rendering the text layout.
53
53
54
-
### DWriteTextLayoutCloudFont project
55
-
Within the DWriteTextLayoutCloudFont project, the following files are significant:
54
+
### DWriteLineSpacingModes project
55
+
Within the DWriteLineSpacingModes project, the following files are significant:
56
56
57
57
* The Scenario1\_DefaultSpacing.\*, Scenario2\_UniformSpacing.\* and Scenario3\_ProportionalSpacing.\* files each demonstrate a different line spacing method.
58
58
@@ -72,9 +72,7 @@ Other files are boilerplate files used for UWP sample apps.
> or you can download the entire collection as a single
39
39
> [ZIP file](https://github.com/Microsoft/Windows-universal-samples/archive/master.zip), but be
40
40
> sure to unzip everything to access shared dependencies. For more info on working with the ZIP file,
@@ -43,12 +43,12 @@ After obtaining access to the user's location, an app can
43
43
44
44
This sample also shows how to:
45
45
46
-
-**Use a [geofence](http://msdn.microsoft.com/library/windows/apps/dn263744):** Receive notifications when the user's device has entered or left an area of interest.
47
-
-**Handle changes in location permissions**: Register for the Geolocator's StatusChanged event and use the [StatusChangedEventArgs](http://msdn.microsoft.com/library/windows/apps/br225600) to determine the current position status.
46
+
-**Use a [geofence](https://learn.microsoft.com/uwp/api/windows.devices.geolocation.geofencing):** Receive notifications when the user's device has entered or left an area of interest.
47
+
-**Handle changes in location permissions**: Register for the Geolocator's StatusChanged event and use the [StatusChangedEventArgs](https://learn.microsoft.com/uwp/api/windows.devices.geolocation.statuschangedeventargs) to determine the current position status.
48
48
-**Get location from a background task**
49
49
-**Handle geofencing events from a background task**
50
50
-**Handle geovisit events from a background task**
51
-
-**Obtain satellite data:** When available, use the [GeocoordinateSatelliteData](http://msdn.microsoft.com/library/windows/apps/jj635260) class to obtain additional information on the quality of the satellite based location data.
51
+
-**Obtain satellite data:** When available, use the [GeocoordinateSatelliteData](https://learn.microsoft.com/uwp/api/windows.devices.geolocation.geocoordinatesatellitedata) class to obtain additional information on the quality of the satellite based location data.
52
52
-**Display a toast:** Notify the user when a geofencing event has occurred in the background.
53
53
-**Refresh geofence binding:** Refresh the binding on resume and after removal of a geofence. Note that removal requires subscribing to removal events if a geofence is set as single use or a duration is set.
54
54
-**Request access to the user's location:** Request access to the user's location using the RequestAccessAsync method. Important: call the RequestAccessAsync before accessing the user's location. At that time, your app must be in the foreground and RequestAccessAsync must be called from the UI thread. Until the user grants your app permission to their location, your app can't access location data.
@@ -67,13 +67,13 @@ This sample requires that location capability be set in the *Package.appxmanifes
67
67
68
68
### Conceptual
69
69
70
-
-[Get current location](https://msdn.microsoft.com/library/windows/apps/mt219698)
71
-
-[Guidelines for location-aware apps](https://msdn.microsoft.com/library/windows/apps/hh465148)
70
+
-[Get current location](https://learn.microsoft.com/windows/uwp/maps-and-location/get-location)
71
+
-[Guidelines for location-aware apps](https://learn.microsoft.com/windows/uwp/maps-and-location/guidelines-and-checklist-for-detecting-location)
Shows how to use the [Windows.Devices.Radios](https://msdn.microsoft.com/library/windows/apps/windows.devices.radios.aspx) API to enumerate radios on a device,
25
+
Shows how to use the [Windows.Devices.Radios](https://learn.microsoft.com/uwp/api/windows.devices.radios) API to enumerate radios on a device,
26
26
toggle radio state changes, and register for state changes on individual radios.
27
27
28
28
> **Note:** This sample is part of a large collection of UWP feature samples.
29
29
> You can download this sample as a standalone ZIP file
0 commit comments