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

Side by Side Diff: third_party/freetype/include/freetype/fttrigon.h

Issue 1413673003: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS for corpus Created 5 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 unified diff | Download patch
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* fttrigon.h */ 3 /* fttrigon.h */
4 /* */ 4 /* */
5 /* FreeType trigonometric functions (specification). */ 5 /* FreeType trigonometric functions (specification). */
6 /* */ 6 /* */
7 /* Copyright 2001, 2003, 2005, 2007, 2013 by */ 7 /* Copyright 2001-2015 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */ 11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */ 13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */ 14 /* understand and accept it fully. */
15 /* */ 15 /* */
16 /***************************************************************************/ 16 /***************************************************************************/
17 17
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 FT_Angle angle2 ); 218 FT_Angle angle2 );
219 219
220 220
221 /************************************************************************* 221 /*************************************************************************
222 * 222 *
223 * @function: 223 * @function:
224 * FT_Vector_Unit 224 * FT_Vector_Unit
225 * 225 *
226 * @description: 226 * @description:
227 * Return the unit vector corresponding to a given angle. After the 227 * Return the unit vector corresponding to a given angle. After the
228 * call, the value of `vec.x' will be `sin(angle)', and the value of 228 * call, the value of `vec.x' will be `cos(angle)', and the value of
229 * `vec.y' will be `cos(angle)'. 229 * `vec.y' will be `sin(angle)'.
230 * 230 *
231 * This function is useful to retrieve both the sinus and cosinus of a 231 * This function is useful to retrieve both the sinus and cosinus of a
232 * given angle quickly. 232 * given angle quickly.
233 * 233 *
234 * @output: 234 * @output:
235 * vec :: 235 * vec ::
236 * The address of target vector. 236 * The address of target vector.
237 * 237 *
238 * @input: 238 * @input:
239 * angle :: 239 * angle ::
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 /* */ 342 /* */
343 343
344 344
345 FT_END_HEADER 345 FT_END_HEADER
346 346
347 #endif /* __FTTRIGON_H__ */ 347 #endif /* __FTTRIGON_H__ */
348 348
349 349
350 /* END */ 350 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/include/freetype/ftsystem.h ('k') | third_party/freetype/include/freetype/ftttdrv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698