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

Unified Diff: site/user/tips.md

Issue 1542853003: Documentation: FAQ TOC (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-12-22 (Tuesday) 10:05:33 EST Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/tips.md
diff --git a/site/user/tips.md b/site/user/tips.md
index e0c1a361e364a725ccd357a48a5be9e5803895ce..e59e16075b8f58a8d12246234cab57273c46fe18 100644
--- a/site/user/tips.md
+++ b/site/user/tips.md
@@ -1,6 +1,15 @@
Tips & FAQ
==========
++ [Gyp Options](#gypdefines)
++ [Bitmap Subsetting](#bitmap-subsetting)
++ [Capture a `.skp` file on a web page in Chromium](#skp-capture)
++ [How to add hardware acceleration in Skia](#hw-acceleration)
++ [Does Skia support Font hinting?](#font-hinting)
++ [Does Skia shape text (kerning)?](#kerning)
+
+* * *
+
<span id="gypdefines"></span>
Gyp Options
@@ -33,8 +42,8 @@ To build with clang and enable a compiler warning for unused parameters in C++
<!--?prettify lang=sh?-->
- CXXFLAGS='-Wunused-parameter'
- CC='clang' CXX='clang++' python bin/sync-and-gyp
+ CXXFLAGS='-Wunused-parameter' \
+ CC='clang' CXX='clang++' python bin/sync-and-gyp
ninja -C out/Debug
@@ -78,6 +87,8 @@ drawBitmapNine():
bitmap.extractSubset(&subset, rect);
canvas->drawBitmapNine(subset, ...);
+[An example](https://fiddle.skia.org/c/c91694020f0810994917b56c323e4559)
+
* * *
<span id="skp-capture"></span>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698