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

Side by Side Diff: include/core/SkMatrix.h

Issue 197763008: Allow toString capability to be toggled independent of developer mode (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: remove gyp changes Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/core/SkPaint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkMatrix_DEFINED 10 #ifndef SkMatrix_DEFINED
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 * Reads data from the buffer parameter 553 * Reads data from the buffer parameter
554 * 554 *
555 * @param buffer Memory to read from 555 * @param buffer Memory to read from
556 * @param length Amount of memory available in the buffer 556 * @param length Amount of memory available in the buffer
557 * @return number of bytes read (must be a multiple of 4) or 557 * @return number of bytes read (must be a multiple of 4) or
558 * 0 if there was not enough memory available 558 * 0 if there was not enough memory available
559 */ 559 */
560 size_t readFromMemory(const void* buffer, size_t length); 560 size_t readFromMemory(const void* buffer, size_t length);
561 561
562 SkDEVCODE(void dump() const;) 562 SkDEVCODE(void dump() const;)
563 SkDEVCODE(void toString(SkString*) const;) 563 SK_TO_STRING_NONVIRT()
564 564
565 /** 565 /**
566 * Calculates the minimum stretching factor of the matrix. If the matrix has 566 * Calculates the minimum stretching factor of the matrix. If the matrix has
567 * perspective -1 is returned. 567 * perspective -1 is returned.
568 * 568 *
569 * @return minumum strecthing factor 569 * @return minumum strecthing factor
570 */ 570 */
571 SkScalar getMinStretch() const; 571 SkScalar getMinStretch() const;
572 572
573 /** 573 /**
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 static void RotTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], 694 static void RotTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[],
695 int count); 695 int count);
696 static void Persp_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int); 696 static void Persp_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
697 697
698 static const MapPtsProc gMapPtsProcs[]; 698 static const MapPtsProc gMapPtsProcs[];
699 699
700 friend class SkPerspIter; 700 friend class SkPerspIter;
701 }; 701 };
702 702
703 #endif 703 #endif
OLDNEW
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/core/SkPaint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698