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

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

Issue 319493004: Use the correct homophone of 'there'. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | 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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBitmap_DEFINED 8 #ifndef SkBitmap_DEFINED
9 #define SkBitmap_DEFINED 9 #define SkBitmap_DEFINED
10 10
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 /** Return the bitmap's colortable, if it uses one (i.e. colorType is 493 /** Return the bitmap's colortable, if it uses one (i.e. colorType is
494 Index_8) and the pixels are locked. 494 Index_8) and the pixels are locked.
495 Otherwise returns NULL. Does not affect the colortable's 495 Otherwise returns NULL. Does not affect the colortable's
496 reference count. 496 reference count.
497 */ 497 */
498 SkColorTable* getColorTable() const { return fColorTable; } 498 SkColorTable* getColorTable() const { return fColorTable; }
499 499
500 /** Returns a non-zero, unique value corresponding to the pixels in our 500 /** Returns a non-zero, unique value corresponding to the pixels in our
501 pixelref. Each time the pixels are changed (and notifyPixelsChanged 501 pixelref. Each time the pixels are changed (and notifyPixelsChanged
502 is called), a different generation ID will be returned. Finally, if 502 is called), a different generation ID will be returned. Finally, if
503 their is no pixelRef then zero is returned. 503 there is no pixelRef then zero is returned.
504 */ 504 */
505 uint32_t getGenerationID() const; 505 uint32_t getGenerationID() const;
506 506
507 /** Call this if you have changed the contents of the pixels. This will in- 507 /** Call this if you have changed the contents of the pixels. This will in-
508 turn cause a different generation ID value to be returned from 508 turn cause a different generation ID value to be returned from
509 getGenerationID(). 509 getGenerationID().
510 */ 510 */
511 void notifyPixelsChanged() const; 511 void notifyPixelsChanged() const;
512 512
513 /** 513 /**
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } 912 }
913 913
914 /////////////////////////////////////////////////////////////////////////////// 914 ///////////////////////////////////////////////////////////////////////////////
915 // 915 //
916 // Helpers until we can fully deprecate SkBitmap::Config 916 // Helpers until we can fully deprecate SkBitmap::Config
917 // 917 //
918 extern SkBitmap::Config SkColorTypeToBitmapConfig(SkColorType); 918 extern SkBitmap::Config SkColorTypeToBitmapConfig(SkColorType);
919 extern SkColorType SkBitmapConfigToColorType(SkBitmap::Config); 919 extern SkColorType SkBitmapConfigToColorType(SkBitmap::Config);
920 920
921 #endif 921 #endif
OLDNEW
« 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