File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ namespace winrt::RCTPdf::implementation
6868 double currentRenderScale = renderScale;
6969 return currentRenderScale < imageScale || currentRenderScale > imageScale * m_downscaleTreshold;
7070 }
71- winrt::IAsyncAction PDFPageInfo::render () {
71+ winrt::Windows::Foundation:: IAsyncAction PDFPageInfo::render () {
7272 return render (imageScale);
7373 }
74- winrt::IAsyncAction PDFPageInfo::render (double useScale) {
74+ winrt::Windows::Foundation:: IAsyncAction PDFPageInfo::render (double useScale) {
7575 double currentRenderScale;
7676 while (true ) {
7777 currentRenderScale = renderScale;
@@ -565,7 +565,7 @@ namespace winrt::RCTPdf::implementation
565565 }
566566 }
567567
568- winrt::IAsyncAction RCTPdfControl::RenderVisiblePages (int page) {
568+ winrt::Windows::Foundation:: IAsyncAction RCTPdfControl::RenderVisiblePages (int page) {
569569 auto lifetime = get_strong ();
570570 auto container = PagesContainer ();
571571 auto currentHorizontalOffset = container.HorizontalOffset ();
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ namespace winrt::RCTPdf::implementation
1818 unsigned pageVisiblePixels (bool horizontal, double viewportStart, double viewportEnd) const ;
1919 unsigned pageSize (bool horizontal) const ;
2020 bool needsRender () const ;
21- winrt::IAsyncAction render ();
22- winrt::IAsyncAction render (double useScale);
21+ winrt::Windows::Foundation:: IAsyncAction render ();
22+ winrt::Windows::Foundation:: IAsyncAction render (double useScale);
2323 unsigned height, width;
2424 unsigned scaledHeight, scaledWidth;
2525 unsigned scaledTopOffset, scaledLeftOffset;
@@ -96,7 +96,7 @@ namespace winrt::RCTPdf::implementation
9696 void GoToPage (int page);
9797 void Rescale (double newScale, double newMargin, bool goToNewPosition);
9898 void SetOrientation (bool horizontal);
99- winrt::IAsyncAction RenderVisiblePages (int page);
99+ winrt::Windows::Foundation:: IAsyncAction RenderVisiblePages (int page);
100100 void SignalError (const std::string& error);
101101 void SignalLoadComplete (int totalPages, int width, int height);
102102 void SignalPageChange (int page, int totalPages);
You can’t perform that action at this time.
0 commit comments