Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: experimental/PdfViewer/src/SkPdfRenderer.cpp

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/DrawingBoard/SampleDrawingClient.cpp ('k') | gm/blurrect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/src/SkPdfRenderer.cpp
diff --git a/experimental/PdfViewer/src/SkPdfRenderer.cpp b/experimental/PdfViewer/src/SkPdfRenderer.cpp
index 108f936b682edbbb4e86da200a61f328536a6aa2..3adb61c1466f06539b7eeb601fcf63035c9921ac 100644
--- a/experimental/PdfViewer/src/SkPdfRenderer.cpp
+++ b/experimental/PdfViewer/src/SkPdfRenderer.cpp
@@ -490,7 +490,7 @@ static SkPdfResult DrawText(SkPdfContext* pdfContext,
// TODO(edisonn): implement font scaler
// if (fCurFont && fCurFont->GetFontScale() != 0) {
-// paint.setTextScaleX(SkFloatToScalar(fCurFont->GetFontScale() / 100.0));
+// paint.setTextScaleX(fCurFont->GetFontScale() / 100.0);
// }
pdfContext->fGraphicsState.applyGraphicsState(&paint, false);
« no previous file with comments | « experimental/DrawingBoard/SampleDrawingClient.cpp ('k') | gm/blurrect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698