• Home
  • Raw
  • Download

Lines Matching full:a

5 <a name='SkPixmap'></a>
10 class <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> {
12 <a href='#SkPixmap_empty_constructor'>SkPixmap()</a>;
13a href='#SkPixmap_const_SkImageInfo_const_star'>SkPixmap</a>(const <a href='SkImageInfo_Reference#…
14 void <a href='#SkPixmap_reset'>reset()</a>;
15a href='#SkPixmap_reset'>reset</a>(const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</
16a href='#SkPixmap_setColorSpace'>setColorSpace</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href=…
17a href='#SkPixmap_extractSubset'>extractSubset</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap<…
18 …const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& <a href='#SkPixmap_info'>info()…
19 size_t <a href='#SkPixmap_rowBytes'>rowBytes</a>() const;
20 const void* <a href='#SkPixmap_addr'>addr()</a> const;
21 int <a href='#SkPixmap_width'>width()</a> const;
22 int <a href='#SkPixmap_height'>height()</a> const;
23 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkPixmap_colorType'>colorTyp…
24 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkPixmap_alphaType'>alphaTyp…
25 …<a href='undocumented#SkColorSpace'>SkColorSpace</a>* <a href='#SkPixmap_colorSpace'>colorSpace</a
26 bool <a href='#SkPixmap_isOpaque'>isOpaque</a>() const;
27 <a href='SkIRect_Reference#SkIRect'>SkIRect</a> <a href='#SkPixmap_bounds'>bounds()</a> const;
28 int <a href='#SkPixmap_rowBytesAsPixels'>rowBytesAsPixels</a>() const;
29 int <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a>() const;
30 size_t <a href='#SkPixmap_computeByteSize'>computeByteSize</a>() const;
31 bool <a href='#SkPixmap_computeIsOpaque'>computeIsOpaque</a>() const;
32 …<a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPixmap_getColor'>getColor</a>(int x, i…
33 float <a href='#SkPixmap_getAlphaf'>getAlphaf</a>(int x, int y) const;
34 const void* <a href='#SkPixmap_addr'>addr</a>(int x, int y) const;
35 const uint8_t* <a href='#SkPixmap_addr8'>addr8</a>() const;
36 const uint16_t* <a href='#SkPixmap_addr16'>addr16</a>() const;
37 const uint32_t* <a href='#SkPixmap_addr32'>addr32</a>() const;
38 const uint64_t* <a href='#SkPixmap_addr64'>addr64</a>() const;
39 const uint16_t* <a href='#SkPixmap_addrF16'>addrF16</a>() const;
40 const uint8_t* <a href='#SkPixmap_addr8'>addr8</a>(int x, int y) const;
41 const uint16_t* <a href='#SkPixmap_addr16'>addr16</a>(int x, int y) const;
42 const uint32_t* <a href='#SkPixmap_addr32'>addr32</a>(int x, int y) const;
43 const uint64_t* <a href='#SkPixmap_addr64'>addr64</a>(int x, int y) const;
44 const uint16_t* <a href='#SkPixmap_addrF16'>addrF16</a>(int x, int y) const;
45 void* <a href='#SkPixmap_writable_addr'>writable_addr</a>() const;
46 void* <a href='#SkPixmap_writable_addr'>writable_addr</a>(int x, int y) const;
47 uint8_t* <a href='#SkPixmap_writable_addr8'>writable_addr8</a>(int x, int y) const;
48 uint16_t* <a href='#SkPixmap_writable_addr16'>writable_addr16</a>(int x, int y) const;
49 uint32_t* <a href='#SkPixmap_writable_addr32'>writable_addr32</a>(int x, int y) const;
50 uint64_t* <a href='#SkPixmap_writable_addr64'>writable_addr64</a>(int x, int y) const;
51 uint16_t* <a href='#SkPixmap_writable_addrF16'>writable_addrF16</a>(int x, int y) const;
52 …bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInf…
53 …bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInf…
55 …bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkP…
56 …bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkP…
57a href='#SkPixmap_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixma…
58a href='#SkPixmap_erase'>erase</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a href='SkColo…
59 …bool <a href='#SkPixmap_erase'>erase</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a href='…
60a href='#SkPixmap_erase'>erase</a>(const <a href='SkColor4f_Reference#SkColor4f'>SkColor4f</a>& <a
65 <a href='SkPixmap_Reference#Pixmap'>Pixmap</a> provides a utility to pair <a href='SkImageInfo_Refe…
66 <a href='SkPixmap_Reference#Pixmap'>Pixmap</a> is a low level class which provides convenience func…
67a href='SkCanvas_Reference#Canvas'>Canvas</a> can not draw <a href='SkPixmap_Reference#Pixmap'>Pix…
68 a direct drawing destination.
70a href='SkBitmap_Reference#Bitmap'>Bitmap</a> to draw pixels referenced by <a href='SkPixmap_Refer…
71 pixels referenced by <a href='SkPixmap_Reference#Pixmap'>Pixmap</a>.
73a href='SkPixmap_Reference#Pixmap'>Pixmap</a> does not try to manage the lifetime of the <a href='…
74 to manage <a href='undocumented#Pixel'>pixel</a> memory; <a href='#Pixel_Ref'>Pixel_Ref</a> is safe…
76 <a name='Initialization'></a>
78 <a name='SkPixmap_empty_constructor'></a>
83 <a href='#SkPixmap_empty_constructor'>SkPixmap()</a>
86 …y <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> without pixels, with <a href='SkImageInfo_Ref…
87 <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, and with a width and…
88a href='#SkPixmap_reset'>reset()</a> to associate pixels, <a href='SkImageInfo_Reference#SkColorTy…
89 after <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> has been created.
93 empty <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a>
110a href='#SkPixmap_const_SkImageInfo_const_star'>SkPixmap</a>(const <a href='SkImageInfo_Reference#…
112 <a name='SkPixmap_const_SkImageInfo_const_star'></a>
117a href='#SkPixmap_const_SkImageInfo_const_star'>SkPixmap</a>(const <a href='SkImageInfo_Reference#…
120a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> from <a href='#SkPixmap_const_SkImageInfo_const_…
121a href='#SkPixmap_const_SkImageInfo_const_star_addr'>addr</a> <a href='SkPoint_Reference#Point'>po…
122 <a href='#SkPixmap_const_SkImageInfo_const_star_info'>info</a>.<a href='#SkImageInfo_bytesPerPixel'…
125a href='#SkPixmap_const_SkImageInfo_const_star_addr'>addr</a> and <a href='#SkPixmap_const_SkImage…
127 … lifetime of pixels is managed by the caller. When <a href='SkPixmap_Reference#SkPixmap'>SkPixmap<…
128 out of scope, <a href='#SkPixmap_const_SkImageInfo_const_star_addr'>addr</a> is unaffected.
130a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> may be later modified by <a href='#SkPixmap_rese…
135 <table> <tr> <td><a name='SkPixmap_const_SkImageInfo_const_star_info'><code><strong>info</stron…
136a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, <a href='SkImageInfo_Reference#SkColor…
138 …<tr> <td><a name='SkPixmap_const_SkImageInfo_const_star_addr'><code><strong>addr</strong></code…
141 …<tr> <td><a name='SkPixmap_const_SkImageInfo_const_star_rowBytes'><code><strong>rowBytes</stron…
142a href='undocumented#Size'>size</a> of one row of <a href='#SkPixmap_const_SkImageInfo_const_star_…
148 initialized <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a>
152a href='SkImage_Reference#SkImage'>SkImage</a>::<a href='#SkImage_MakeRasterCopy'>MakeRasterCopy</
153 constructs a <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> from the brace-delimited parameters.
167a href='#SkPixmap_empty_constructor'>SkPixmap()</a> <a href='#SkPixmap_reset'>reset()</a> <a href=…
169 <a name='SkPixmap_reset'></a>
174 void <a href='#SkPixmap_reset'>reset()</a>
177 …w bytes to zero; <a href='undocumented#Pixel'>pixel</a> address to nullptr; <a href='SkImageInfo_R…
178a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>; and <a href='SkImage…
198a href='#SkPixmap_empty_constructor'>SkPixmap()</a> <a href='SkImageInfo_Reference#SkAlphaType'>Sk…
200 <a name='SkPixmap_reset_2'></a>
205 …set(const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& info, const void* addr, siz…
208a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, and <a href='SkImageInfo_Reference#SkC…
209 Sets <a href='undocumented#Pixel'>pixel</a> address from <a href='#SkPixmap_reset_2_addr'>addr</a>,…
210 …m <a href='#SkPixmap_reset_2_rowBytes'>rowBytes</a>, which should be <a href='#SkPixmap_reset_2_in…
211 <a href='#SkPixmap_reset_2_info'>info</a>.<a href='#SkImageInfo_bytesPerPixel'>bytesPerPixel</a>(),…
213 … check <a href='#SkPixmap_reset_2_addr'>addr</a>. Asserts if built with SK_DEBUG defined and if <a
216 …ry lifetime pixels are managed by the caller. When <a href='SkPixmap_Reference#SkPixmap'>SkPixmap<…
217 out of scope, <a href='#SkPixmap_reset_2_addr'>addr</a> is unaffected.
221 <table> <tr> <td><a name='SkPixmap_reset_2_info'><code><strong>info</strong></code></a></td>
222a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, <a href='SkImageInfo_Reference#SkColor…
224 <tr> <td><a name='SkPixmap_reset_2_addr'><code><strong>addr</strong></code></a></td>
227 <tr> <td><a name='SkPixmap_reset_2_rowBytes'><code><strong>rowBytes</strong></code></a></td>
228a href='undocumented#Size'>size</a> of one row of <a href='#SkPixmap_reset_2_addr'>addr</a>; width…
238a href='#SkPixmap_const_SkImageInfo_const_star'>SkPixmap</a>(const <a href='SkImageInfo_Reference#…
240 <a name='SkPixmap_setColorSpace'></a>
245a href='#SkPixmap_setColorSpace'>setColorSpace</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a hr…
248a href='undocumented#SkColorSpace'>SkColorSpace</a> in <a href='SkImageInfo_Reference#SkImageInfo'…
249a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> in <a href='SkImage_Reference#SkImage'>…
250 <a href='undocumented#SkColorSpace'>SkColorSpace</a> <a href='undocumented#Reference_Count'>refere…
254 <table> <tr> <td><a name='SkPixmap_setColorSpace_colorSpace'><code><strong>colorSpace</strong><…
255 …<td><a href='undocumented#SkColorSpace'>SkColorSpace</a> moved to <a href='SkImageInfo_Reference#S…
274a href='#Color_Space'>Color_Space</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>:…
276 <a name='SkPixmap_extractSubset'></a>
281a href='#SkPixmap_extractSubset'>extractSubset</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap<…
284a href='#SkPixmap_extractSubset_subset'>subset</a> width, height, <a href='undocumented#Pixel'>pix…
285 …on is not empty; and return true. Otherwise, leave <a href='#SkPixmap_extractSubset_subset'>subset…
288 Failing to read the return value generates a compile time warning.
292 <table> <tr> <td><a name='SkPixmap_extractSubset_subset'><code><strong>subset</strong></code></
293 … <td>storage for width, height, <a href='undocumented#Pixel'>pixel</a> address of intersection</td>
295 <tr> <td><a name='SkPixmap_extractSubset_area'><code><strong>area</strong></code></a></td>
296 <td>bounds to intersect with <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a></td>
302 true if intersection of <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> and <a href='#SkPixmap_e…
310 <a href='#SkPixmap_reset'>reset()</a> <a href='SkIRect_Reference#SkIRect'>SkIRect</a>::<a href='#Sk…
312 <a name='Image_Info_Access'></a>
314 <a name='SkPixmap_info'></a>
319 const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& <a href='#SkPixmap_info'>info()<…
322a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, <a href='SkImageInfo_Reference#SkColor…
326 reference to <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>
342 <a href='#Image_Info'>Image_Info</a>
344 <a name='SkPixmap_rowBytes'></a>
349 size_t <a href='#SkPixmap_rowBytes'>rowBytes</a>()const
352 Returns row bytes, the interval from one <a href='undocumented#Pixel'>pixel</a> row to the next. Ro…
353 … as: <code><a href='#SkPixmap_width'>width()</a> * <a href='#SkPixmap_info'>info()</a>.<a href='#S…
355 …turns zero if <a href='#SkPixmap_colorType'>colorType</a> is <a href='SkImageInfo_Reference#kUnkno…
356 It is up to the <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> creator to ensure that row bytes is
360 byte length of <a href='undocumented#Pixel'>pixel</a> row
377a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_info'>info()</a> <a href='SkImageInfo_Refere…
379 <a name='SkPixmap_addr'></a>
384 const void* <a href='#SkPixmap_addr'>addr()</a>const
387 Returns <a href='undocumented#Pixel'>pixel</a> address, the base address corresponding to the <a hr…
389 …is up to the <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> creator to ensure that <a href='un…
393 <a href='undocumented#Pixel'>pixel</a> address
411a href='#SkPixmap_addr_2'>addr(int x, int y)</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkP…
413 <a name='SkPixmap_width'></a>
418 int <a href='#SkPixmap_width'>width()</a>const
421 Returns <a href='undocumented#Pixel'>pixel</a> count in each <a href='undocumented#Pixel'>pixel</a>…
423 <code><a href='#SkPixmap_rowBytes'>rowBytes</a>() / <a href='#SkPixmap_info'>info()</a>.<a href='#S…
427 <a href='undocumented#Pixel'>pixel</a> width in <a href='#Image_Info'>Image_Info</a>
443 <a href='#SkPixmap_height'>height()</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>…
445 <a name='SkPixmap_height'></a>
450 int <a href='#SkPixmap_height'>height()</a>const
453 Returns <a href='undocumented#Pixel'>pixel</a> row count.
457 <a href='undocumented#Pixel'>pixel</a> height in <a href='SkImageInfo_Reference#SkImageInfo'>SkImag…
473 <a href='#SkPixmap_width'>width</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>::<a
475 <a name='SkPixmap_colorType'></a>
480 <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkPixmap_colorType'>colorType…
483a href='#Image_Info_Color_Type'>Color_Type</a>, one of: <a href='SkImageInfo_Reference#kUnknown_Sk…
484a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, <a href='SkImage…
485a href='SkImageInfo_Reference#kBGRA_8888_SkColorType'>kBGRA_8888_SkColorType</a>, <a href='SkImage…
486a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, <a href='SkImageInfo_R…
491 <a href='#Image_Info_Color_Type'>Color_Type</a> in <a href='#Image_Info'>Image_Info</a>
507 <a href='#SkPixmap_alphaType'>alphaType</a>() <a href='SkImageInfo_Reference#SkImageInfo'>SkImageIn…
509 <a name='SkPixmap_alphaType'></a>
514 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkPixmap_alphaType'>alphaType…
517a href='#Image_Info_Alpha_Type'>Alpha_Type</a>, one of: <a href='SkImageInfo_Reference#kUnknown_Sk…
518 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
523 <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> in <a href='#Image_Info'>Image_Info</a>
539 <a href='#SkPixmap_colorType'>colorType</a>() <a href='SkImageInfo_Reference#SkImageInfo'>SkImageIn…
541 <a name='SkPixmap_colorSpace'></a>
546 <a href='undocumented#SkColorSpace'>SkColorSpace</a>* <a href='#SkPixmap_colorSpace'>colorSpace</a>…
549 … <a href='undocumented#SkColorSpace'>SkColorSpace</a>, the range of colors, associated with <a hre…
550 … count of <a href='undocumented#SkColorSpace'>SkColorSpace</a> is unchanged. The returned <a href=…
555 <a href='undocumented#SkColorSpace'>SkColorSpace</a> in <a href='SkImageInfo_Reference#SkImageInfo'…
559a href='undocumented#SkColorSpace'>SkColorSpace</a>::<a href='#SkColorSpace_MakeSRGBLinear'>MakeSR…
560 and an sRGB gamut. This <a href='#Color_Space'>Color_Space</a> gamma is not close to sRGB gamma.
573 <a href='#Color_Space'>Color_Space</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>:…
575 <a name='SkPixmap_isOpaque'></a>
580 bool <a href='#SkPixmap_isOpaque'>isOpaque</a>()const
583 …rue if <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> is <a href='SkImageInfo_Referen…
584a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> allows <a href='SkColor_Reference#Alpha…
589 true if <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a> has opaque <a href='SkImageInfo…
593 …ddle-embed name="efd083f121e888a523455ea8a49e50d1"><div><a href='#SkPixmap_isOpaque'>isOpaque</a> …
609a href='#SkPixmap_computeIsOpaque'>computeIsOpaque</a> <a href='SkImageInfo_Reference#SkImageInfo'…
611 <a name='SkPixmap_bounds'></a>
616 <a href='SkIRect_Reference#SkIRect'>SkIRect</a> <a href='#SkPixmap_bounds'>bounds()</a>const
619 Returns <a href='SkIRect_Reference#SkIRect'>SkIRect</a> { 0, 0, <a href='#SkPixmap_width'>width()</
623 integral rectangle from origin to <a href='#SkPixmap_width'>width()</a> and <a href='#SkPixmap_heig…
642 <a href='#SkPixmap_height'>height()</a> <a href='#SkPixmap_width'>width()</a> <a href='SkIRect_Refe…
644 <a name='SkPixmap_rowBytesAsPixels'></a>
649 int <a href='#SkPixmap_rowBytesAsPixels'>rowBytesAsPixels</a>()const
653 <a href='#SkPixmap_width'>width()</a>.
677a href='#SkPixmap_rowBytes'>rowBytes</a> <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a> <a hr…
679 <a name='SkPixmap_shiftPerPixel'></a>
684 int <a href='#SkPixmap_shiftPerPixel'>shiftPerPixel</a>()const
688 Returns zero for <a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>.
715a href='#SkPixmap_rowBytes'>rowBytes</a> <a href='#SkPixmap_rowBytesAsPixels'>rowBytesAsPixels</a>…
717 <a name='SkPixmap_computeByteSize'></a>
722 size_t <a href='#SkPixmap_computeByteSize'>computeByteSize</a>()const
725 Returns minimum memory required for <a href='undocumented#Pixel'>pixel</a> storage.
726 …memory on last row when <a href='#SkPixmap_rowBytesAsPixels'>rowBytesAsPixels</a>() exceeds <a hre…
728 Returns zero if <a href='#SkPixmap_height'>height()</a> or <a href='#SkPixmap_width'>width()</a> is…
729a href='#SkPixmap_height'>height()</a> times <a href='#SkPixmap_rowBytes'>rowBytes</a>() if <a hre…
733 <a href='undocumented#Size'>size</a> in bytes of <a href='SkImage_Reference#Image'>image</a> buffer
757 <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>::<a href='#SkImageInfo_computeByteSize'…
759 <a name='Reader'></a>
761 <a name='SkPixmap_computeIsOpaque'></a>
766 bool <a href='#SkPixmap_computeIsOpaque'>computeIsOpaque</a>()const
769 Returns true if all pixels are opaque. <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> …
770a href='undocumented#Pixel'>pixel</a> describes <a href='SkColor_Reference#Alpha'>alpha</a>. Retur…
771a href='SkColor_Reference#Alpha'>alpha</a> in each <a href='undocumented#Pixel'>pixel</a>; for oth…
772 pixels have <a href='SkColor_Reference#Alpha'>alpha</a> values equivalent to 1.0 or greater.
774a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='SkImageInfo_Reference#kRGB_565…
775a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='SkImageInfo_Reference#kAlpha_8…
776a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a>: returns true if …
777a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='SkImageInfo_Reference#kARGB_44…
778a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a>: returns true if al…
781 Returns false for <a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>.
785 true if all pixels have opaque values or <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a
804 <a href='#SkPixmap_isOpaque'>isOpaque</a> <a href='#Image_Info_Color_Type'>Color_Type</a> <a href='…
806 <a name='SkPixmap_getColor'></a>
811 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPixmap_getColor'>getColor</a>(int x, in…
814a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_getColor_x'>x</a>, <a href='#SkPixmap…
815a href='SkColor_Reference#Alpha'>alpha</a> if <a href='SkImageInfo_Reference#SkColorType'>SkColorT…
817 …ot validated: out of bounds values of <a href='#SkPixmap_getColor_x'>x</a> or <a href='#SkPixmap_g…
819 …ls if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is <a href='SkImageInfo_Referenc…
820 <a href='undocumented#Pixel'>pixel</a> address is nullptr.
822a href='undocumented#SkColorSpace'>SkColorSpace</a> in <a href='SkImageInfo_Reference#SkImageInfo'…
823a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='SkColor_Reference#Color'>color</a
828 <table> <tr> <td><a name='SkPixmap_getColor_x'><code><strong>x</strong></code></a></td>
829 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
831 <tr> <td><a name='SkPixmap_getColor_y'><code><strong>y</strong></code></a></td>
832 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
838 <a href='undocumented#Pixel'>pixel</a> converted to <a href='undocumented#Unpremultiply'>unpremulti…
863 <a href='#SkPixmap_getAlphaf'>getAlphaf</a> <a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_…
865 <a name='SkPixmap_getAlphaf'></a>
870 float <a href='#SkPixmap_getAlphaf'>getAlphaf</a>(int x, int y)const
873a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_getAlphaf_x'>x</a>,<a href='#SkPixmap…
874 This is roughly equivalent to <code>SkGetColorA(<a href='#SkPixmap_getColor'>getColor</a>())</code>…
879 <table> <tr> <td><a name='SkPixmap_getAlphaf_x'><code><strong>x</strong></code></a></td>
880 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
882 <tr> <td><a name='SkPixmap_getAlphaf_y'><code><strong>y</strong></code></a></td>
883 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
889 <a href='SkColor_Reference#Alpha'>alpha</a> converted to normalized float
893 <a href='#SkPixmap_getColor'>getColor</a>
895 <a name='Readable_Address'></a>
897 <a name='SkPixmap_addr_2'></a>
902 const void* <a href='#SkPixmap_addr'>addr</a>(int x, int y)const
905a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addr_2_x'>x</a>, <a href='#Sk…
907 … not validated: out of bounds values of <a href='#SkPixmap_addr_2_x'>x</a> or <a href='#SkPixmap_a…
908 …tr if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is <a href='SkImageInfo_Referenc…
910 Performs a lookup of <a href='undocumented#Pixel'>pixel</a> <a href='undocumented#Size'>size</a>; f…
911a href='#SkPixmap_addr8'>addr8</a>, <a href='#SkPixmap_addr16'>addr16</a>, <a href='#SkPixmap_addr…
915 <table> <tr> <td><a name='SkPixmap_addr_2_x'><code><strong>x</strong></code></a></td>
916 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
918 <tr> <td><a name='SkPixmap_addr_2_y'><code><strong>y</strong></code></a></td>
919 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
925 readable generic pointer to <a href='undocumented#Pixel'>pixel</a>
941a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>addr16</a> <a href='#SkPixmap_addr32…
943 <a name='SkPixmap_addr8'></a>
948 const uint8_t* <a href='#SkPixmap_addr8'>addr8</a>()const
951 Returns readable base <a href='undocumented#Pixel'>pixel</a> address. Result is addressable as unsi…
952 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
953 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, and is built with SK_D…
955 One byte corresponds to one <a href='undocumented#Pixel'>pixel</a>.
975a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr16'>addr16</a> <a href='#SkPixmap_addr32…
977 <a name='SkPixmap_addr16'></a>
982 const uint16_t* <a href='#SkPixmap_addr16'>addr16</a>()const
985 Returns readable base <a href='undocumented#Pixel'>pixel</a> address. Result is addressable as unsi…
986 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
987 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, and is built wit…
989 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1009a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr32'>…
1011 <a name='SkPixmap_addr32'></a>
1016 const uint32_t* <a href='#SkPixmap_addr32'>addr32</a>()const
1019 Returns readable base <a href='undocumented#Pixel'>pixel</a> address. Result is addressable as unsi…
1020 …f <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referenc…
1021 <a href='SkImageInfo_Reference#kBGRA_8888_SkColorType'>kBGRA_8888_SkColorType</a>, and is built wit…
1023 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1043a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1045 <a name='SkPixmap_addr64'></a>
1050 const uint64_t* <a href='#SkPixmap_addr64'>addr64</a>()const
1053 Returns readable base <a href='undocumented#Pixel'>pixel</a> address. Result is addressable as unsi…
1054 …if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referen…
1057 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1077a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1079 <a name='SkPixmap_addrF16'></a>
1084 const uint16_t* <a href='#SkPixmap_addrF16'>addrF16</a>()const
1087 Returns readable base <a href='undocumented#Pixel'>pixel</a> address. Result is addressable as unsi…
1088 …if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referen…
1091 Each word represents one <a href='SkColor_Reference#Color'>color</a> component encoded as a half fl…
1092 Four words correspond to one <a href='undocumented#Pixel'>pixel</a>.
1112a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1114 <a name='SkPixmap_addr8_2'></a>
1119 const uint8_t* <a href='#SkPixmap_addr8'>addr8</a>(int x, int y)const
1122 …turns readable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addr8_2_x'>x<…
1124 …not validated: out of bounds values of <a href='#SkPixmap_addr8_2_x'>x</a> or <a href='#SkPixmap_a…
1127 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
1128 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, and is built with SK_D…
1132 <table> <tr> <td><a name='SkPixmap_addr8_2_x'><code><strong>x</strong></code></a></td>
1133 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1135 <tr> <td><a name='SkPixmap_addr8_2_y'><code><strong>y</strong></code></a></td>
1136 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1142 …d 8-bit pointer to <a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_addr8_2_x'>x</a>,…
1158a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr16'>addr16</a> <a href='#SkPixmap_addr32…
1160 <a name='SkPixmap_addr16_2'></a>
1165 const uint16_t* <a href='#SkPixmap_addr16'>addr16</a>(int x, int y)const
1168 …urns readable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addr16_2_x'>x<…
1170 …ot validated: out of bounds values of <a href='#SkPixmap_addr16_2_x'>x</a> or <a href='#SkPixmap_a…
1173 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
1174 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, and is built wit…
1178 <table> <tr> <td><a name='SkPixmap_addr16_2_x'><code><strong>x</strong></code></a></td>
1179 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1181 <tr> <td><a name='SkPixmap_addr16_2_y'><code><strong>y</strong></code></a></td>
1182 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1188 …16-bit pointer to <a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_addr16_2_x'>x</a>,…
1204a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr32'>…
1206 <a name='SkPixmap_addr32_2'></a>
1211 const uint32_t* <a href='#SkPixmap_addr32'>addr32</a>(int x, int y)const
1214 …urns readable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addr32_2_x'>x<…
1216 …ot validated: out of bounds values of <a href='#SkPixmap_addr32_2_x'>x</a> or <a href='#SkPixmap_a…
1219 …f <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referenc…
1220 <a href='SkImageInfo_Reference#kBGRA_8888_SkColorType'>kBGRA_8888_SkColorType</a>, and is built wit…
1224 <table> <tr> <td><a name='SkPixmap_addr32_2_x'><code><strong>x</strong></code></a></td>
1225 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1227 <tr> <td><a name='SkPixmap_addr32_2_y'><code><strong>y</strong></code></a></td>
1228 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1234 …32-bit pointer to <a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_addr32_2_x'>x</a>,…
1250a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1252 <a name='SkPixmap_addr64_2'></a>
1257 const uint64_t* <a href='#SkPixmap_addr64'>addr64</a>(int x, int y)const
1260 …urns readable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addr64_2_x'>x<…
1262 …ot validated: out of bounds values of <a href='#SkPixmap_addr64_2_x'>x</a> or <a href='#SkPixmap_a…
1265 …if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referen…
1270 <table> <tr> <td><a name='SkPixmap_addr64_2_x'><code><strong>x</strong></code></a></td>
1271 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1273 <tr> <td><a name='SkPixmap_addr64_2_y'><code><strong>y</strong></code></a></td>
1274 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1280 …64-bit pointer to <a href='undocumented#Pixel'>pixel</a> at (<a href='#SkPixmap_addr64_2_x'>x</a>,…
1296a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1298 <a name='SkPixmap_addrF16_2'></a>
1303 const uint16_t* <a href='#SkPixmap_addrF16'>addrF16</a>(int x, int y)const
1306 …rns readable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_addrF16_2_x'>x<…
1308 …t validated: out of bounds values of <a href='#SkPixmap_addrF16_2_x'>x</a> or <a href='#SkPixmap_a…
1311 …if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Referen…
1314 Each unsigned 16-bit word represents one <a href='SkColor_Reference#Color'>color</a> component enco…
1315 Four words correspond to one <a href='undocumented#Pixel'>pixel</a>.
1319 <table> <tr> <td><a name='SkPixmap_addrF16_2_x'><code><strong>x</strong></code></a></td>
1320 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1322 <tr> <td><a name='SkPixmap_addrF16_2_y'><code><strong>y</strong></code></a></td>
1323 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1329 … pointer to <a href='undocumented#Pixel'>pixel</a> component at (<a href='#SkPixmap_addrF16_2_x'>x…
1345a href='#SkPixmap_addr'>addr()</a> <a href='#SkPixmap_addr8'>addr8</a> <a href='#SkPixmap_addr16'>…
1347 <a name='Writable_Address'></a>
1349 <a name='SkPixmap_writable_addr'></a>
1354 void* <a href='#SkPixmap_writable_addr'>writable_addr</a>()const
1357 Returns writable base <a href='undocumented#Pixel'>pixel</a> address.
1379a href='#SkPixmap_writable_addr8'>writable_addr8</a> <a href='#SkPixmap_writable_addr16'>writable_…
1381 <a name='SkPixmap_writable_addr_2'></a>
1386 void* <a href='#SkPixmap_writable_addr'>writable_addr</a>(int x, int y)const
1389 …itable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_writable_addr_2_x'>x<…
1391 …dated: out of bounds values of <a href='#SkPixmap_writable_addr_2_x'>x</a> or <a href='#SkPixmap_w…
1392 …ro if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is <a href='SkImageInfo_Referenc…
1396 <table> <tr> <td><a name='SkPixmap_writable_addr_2_x'><code><strong>x</strong></code></a></td>
1397 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1399 <tr> <td><a name='SkPixmap_writable_addr_2_y'><code><strong>y</strong></code></a></td>
1400 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1406 writable generic pointer to <a href='undocumented#Pixel'>pixel</a>
1424a href='#SkPixmap_writable_addr8'>writable_addr8</a> <a href='#SkPixmap_writable_addr16'>writable_…
1426 <a name='SkPixmap_writable_addr8'></a>
1431 uint8_t* <a href='#SkPixmap_writable_addr8'>writable_addr8</a>(int x, int y)const
1434 …ritable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_writable_addr8_x'>x<…
1435 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
1436 or <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, and is built with S…
1438 One byte corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1442 <table> <tr> <td><a name='SkPixmap_writable_addr8_x'><code><strong>x</strong></code></a></td>
1443 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1445 <tr> <td><a name='SkPixmap_writable_addr8_y'><code><strong>y</strong></code></a></td>
1446 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1456 …8b3efc31cd89de29"><div>Altering pixels after drawing <a href='SkBitmap_Reference#Bitmap'>Bitmap</a
1457 …ll platforms. Adding a second <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#SkBitm…
1458 <a href='undocumented#Pixel'>pixel</a> memory is safer.
1463a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='#SkPixmap_writable_addr16'>writable_ad…
1465 <a name='SkPixmap_writable_addr16'></a>
1470 uint16_t* <a href='#SkPixmap_writable_addr16'>writable_addr16</a>(int x, int y)const
1473a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='undocumented#Pixel'>pixel</a> address …
1474 … if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> is not <a href='SkImageInfo_Refere…
1475 or <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, and is built …
1477 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1481 <table> <tr> <td><a name='SkPixmap_writable_addr16_x'><code><strong>x</strong></code></a></td>
1482 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1484 <tr> <td><a name='SkPixmap_writable_addr16_y'><code><strong>y</strong></code></a></td>
1485 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1491 writable unsigned 16-bit pointer to <a href='undocumented#Pixel'>pixel</a>
1495 …v>Draw a five by five <a href='SkBitmap_Reference#Bitmap'>bitmap</a>, and draw it again with a cen…
1496 The low nibble of the 16-bit word is <a href='SkColor_Reference#Alpha'>Alpha</a>.
1501a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='#SkPixmap_writable_addr8'>writable_add…
1503 <a name='SkPixmap_writable_addr32'></a>
1508 uint32_t* <a href='#SkPixmap_writable_addr32'>writable_addr32</a>(int x, int y)const
1511 …itable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_writable_addr32_x'>x<…
1512 32-bit words. Will trigger an assert() if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</
1513a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a> or <a href='SkIma…
1516 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1520 <table> <tr> <td><a name='SkPixmap_writable_addr32_x'><code><strong>x</strong></code></a></td>
1521 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1523 <tr> <td><a name='SkPixmap_writable_addr32_y'><code><strong>y</strong></code></a></td>
1524 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1530 writable unsigned 32-bit pointer to <a href='undocumented#Pixel'>pixel</a>
1538a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='#SkPixmap_writable_addr8'>writable_add…
1540 <a name='SkPixmap_writable_addr64'></a>
1545 uint64_t* <a href='#SkPixmap_writable_addr64'>writable_addr64</a>(int x, int y)const
1548 …itable <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_writable_addr64_x'>x<…
1549 64-bit words. Will trigger an assert() if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</
1550 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a> and is built with S…
1552 One word corresponds to one <a href='undocumented#Pixel'>pixel</a>.
1556 <table> <tr> <td><a name='SkPixmap_writable_addr64_x'><code><strong>x</strong></code></a></td>
1557 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1559 <tr> <td><a name='SkPixmap_writable_addr64_y'><code><strong>y</strong></code></a></td>
1560 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1566 writable unsigned 64-bit pointer to <a href='undocumented#Pixel'>pixel</a>
1574a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='#SkPixmap_writable_addr8'>writable_add…
1576 <a name='SkPixmap_writable_addrF16'></a>
1581 uint16_t* <a href='#SkPixmap_writable_addrF16'>writable_addrF16</a>(int x, int y)const
1584 …table <a href='undocumented#Pixel'>pixel</a> address at (<a href='#SkPixmap_writable_addrF16_x'>x<…
1585 16-bit words. Will trigger an assert() if <a href='SkImageInfo_Reference#SkColorType'>SkColorType</
1586 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a> and is built with S…
1588 Each word represents one <a href='SkColor_Reference#Color'>color</a> component encoded as a half fl…
1589 Four words correspond to one <a href='undocumented#Pixel'>pixel</a>.
1593 <table> <tr> <td><a name='SkPixmap_writable_addrF16_x'><code><strong>x</strong></code></a></td>
1594 <td>column index, zero or greater, and less than <a href='#SkPixmap_width'>width()</a></td>
1596 <tr> <td><a name='SkPixmap_writable_addrF16_y'><code><strong>y</strong></code></a></td>
1597 <td>row index, zero or greater, and less than <a href='#SkPixmap_height'>height()</a></td>
1603 writable unsigned 16-bit pointer to first component of <a href='undocumented#Pixel'>pixel</a>
1607a href='SkBitmap_Reference#Bitmap'>bitmap</a> is drawn with two pixels defined in half float forma…
1608 …ting bottom half float <a href='SkColor_Reference#Color'>color</a> with top half float <a href='Sk…
1613a href='#SkPixmap_writable_addr'>writable_addr</a> <a href='#SkPixmap_writable_addr8'>writable_add…
1615 <a name='Pixels'></a>
1617 <a name='SkPixmap_readPixels'></a>
1622 bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInfo…
1625 Copies a <a href='SkRect_Reference#SkRect'>SkRect</a> of pixels to <a href='#SkPixmap_readPixels_ds…
1626 exceed <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> (<a href='#SkPixmap_width'>width()</a>, <
1628a href='#SkPixmap_readPixels_dstInfo'>dstInfo</a> specifies width, height, <a href='SkImageInfo_Re…
1629 <a href='undocumented#SkColorSpace'>SkColorSpace</a> of destination. <a href='#SkPixmap_readPixels_…
1631a href='#SkPixmap_readPixels_dstInfo'>dstInfo</a> address equals nullptr, or <a href='#SkPixmap_re…
1633a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkPixmap_Reference#SkPix…
1634a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
1635a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorType'>colorType</a>() is…
1636a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_alphaType'>alphaType</a>() is…
1637a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorSpace'>colorSpace</a>() …
1638 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
1640 …s false if <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_width'>width()</a
1644 <table> <tr> <td><a name='SkPixmap_readPixels_dstInfo'><code><strong>dstInfo</strong></code></a
1645a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Reference#SkAlpha…
1647 …<tr> <td><a name='SkPixmap_readPixels_dstPixels'><code><strong>dstPixels</strong></code></a></t…
1648 <td>destination <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
1650 …<tr> <td><a name='SkPixmap_readPixels_dstRowBytes'><code><strong>dstRowBytes</strong></code></a
1657 true if pixels are copied to <a href='#SkPixmap_readPixels_dstPixels'>dstPixels</a>
1667a href='#SkPixmap_erase'>erase</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#S…
1669 <a name='SkPixmap_readPixels_2'></a>
1674 bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInfo…
1677a <a href='SkRect_Reference#Rect'>Rect</a> of pixels to <a href='#SkPixmap_readPixels_2_dstPixels'…
1678 exceed <a href='SkPixmap_Reference#Pixmap'>Pixmap</a> (<a href='#SkPixmap_width'>width()</a>, <a hr…
1680a href='#SkPixmap_readPixels_2_dstInfo'>dstInfo</a> specifies width, height, <a href='#Image_Info_…
1681 <a href='#Color_Space'>Color_Space</a> of destination. <a href='#SkPixmap_readPixels_2_dstRowBytes'…
1683a href='#SkPixmap_readPixels_2_dstInfo'>dstInfo</a> has no address, or <a href='#SkPixmap_readPixe…
1685a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkPixmap_Reference#Pixma…
1686a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
1687a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_colorType'>colorType</a> is <a hr…
1688a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_alphaType'>alphaType</a> is <a hr…
1689a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_colorSpace'>colorSpace</a> is nul…
1690 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
1692 <a href='#SkPixmap_readPixels_2_srcX'>srcX</a> and <a href='#SkPixmap_readPixels_2_srcY'>srcY</a> m…
1693 false if <a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_width'>width()</a> or <a
1695a href='undocumented#abs()'>abs</a>(<a href='#SkPixmap_readPixels_2_srcX'>srcX</a>) >= <a href='Sk…
1699 <table> <tr> <td><a name='SkPixmap_readPixels_2_dstInfo'><code><strong>dstInfo</strong></code><…
1700 …height, <a href='#Image_Info_Color_Type'>Color_Type</a>, <a href='#Image_Info_Alpha_Type'>Alpha_Ty…
1702 …<tr> <td><a name='SkPixmap_readPixels_2_dstPixels'><code><strong>dstPixels</strong></code></a><…
1703 <td>destination <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
1705 …<tr> <td><a name='SkPixmap_readPixels_2_dstRowBytes'><code><strong>dstRowBytes</strong></code><…
1708 <tr> <td><a name='SkPixmap_readPixels_2_srcX'><code><strong>srcX</strong></code></a></td>
1709 <td>column index whose absolute value is less than <a href='#SkPixmap_width'>width()</a></td>
1711 <tr> <td><a name='SkPixmap_readPixels_2_srcY'><code><strong>srcY</strong></code></a></td>
1712 <td>row index whose absolute value is less than <a href='#SkPixmap_height'>height()</a></td>
1718 true if pixels are copied to <a href='#SkPixmap_readPixels_2_dstPixels'>dstPixels</a>
1726a href='#SkPixmap_erase'>erase</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#S…
1728 <a name='SkPixmap_readPixels_3'></a>
1733 bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPi…
1736a <a href='SkRect_Reference#Rect'>Rect</a> of pixels to <a href='#SkPixmap_readPixels_3_dst'>dst</
1737a href='SkPixmap_Reference#Pixmap'>Pixmap</a> (<a href='#SkPixmap_width'>width()</a>, <a href='#Sk…
1738 <a href='#Image_Info_Alpha_Type'>Alpha_Type</a>, and <a href='#Color_Space'>Color_Space</a> of dest…
1739a href='#SkPixmap_readPixels_3_dst'>dst</a>.<a href='#SkPixmap_addr'>addr()</a> equals nullptr, or…
1740a href='#SkPixmap_readPixels_3_dst'>dst</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInf…
1742a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkPixmap_Reference#Pixma…
1743a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
1744a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_colorType'>colorType</a> is <a hr…
1745a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_alphaType'>alphaType</a> is <a hr…
1746a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_colorSpace'>colorSpace</a> is nul…
1747 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
1749 <a href='#SkPixmap_readPixels_3_srcX'>srcX</a> and <a href='#SkPixmap_readPixels_3_srcY'>srcY</a> m…
1750 false <a href='SkPixmap_Reference#Pixmap'>Pixmap</a> <a href='#SkPixmap_width'>width()</a> or <a hr…
1752a href='undocumented#abs()'>abs</a>(<a href='#SkPixmap_readPixels_3_srcX'>srcX</a>) >= <a href='Sk…
1756 <table> <tr> <td><a name='SkPixmap_readPixels_3_dst'><code><strong>dst</strong></code></a></td>
1757 …<td><a href='#Image_Info'>Image_Info</a> and <a href='undocumented#Pixel'>pixel</a> address to wri…
1759 <tr> <td><a name='SkPixmap_readPixels_3_srcX'><code><strong>srcX</strong></code></a></td>
1760 <td>column index whose absolute value is less than <a href='#SkPixmap_width'>width()</a></td>
1762 <tr> <td><a name='SkPixmap_readPixels_3_srcY'><code><strong>srcY</strong></code></a></td>
1763 <td>row index whose absolute value is less than <a href='#SkPixmap_height'>height()</a></td>
1769 true if pixels are copied to <a href='#SkPixmap_readPixels_3_dst'>dst</a>
1777a href='#SkPixmap_erase'>erase</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#S…
1779 <a name='SkPixmap_readPixels_4'></a>
1784 bool <a href='#SkPixmap_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPi…
1787a href='#SkPixmap_bounds'>bounds()</a> to <a href='#SkPixmap_readPixels_4_dst'>dst</a>. <a href='#…
1788 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, and <a href='undocumented#SkColorSpace…
1789a href='#SkPixmap_readPixels_4_dst'>dst</a> address equals nullptr, or <a href='#SkPixmap_readPixe…
1790a href='#SkPixmap_readPixels_4_dst'>dst</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInf…
1792a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkPixmap_Reference#SkPix…
1793a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
1794a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorType'>colorType</a>() is…
1795a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_alphaType'>alphaType</a>() is…
1796a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorSpace'>colorSpace</a>() …
1797 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
1799 …s false if <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_width'>width()</a
1803 <table> <tr> <td><a name='SkPixmap_readPixels_4_dst'><code><strong>dst</strong></code></a></td>
1804 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a> and <a href='undocumented#Pixel'>p…
1810 true if pixels are copied to <a href='#SkPixmap_readPixels_4_dst'>dst</a>
1818a href='#SkPixmap_erase'>erase</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#S…
1820 <a name='SkPixmap_scalePixels'></a>
1825a href='#SkPixmap_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixma…
1828a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a> to <a href='#SkPixmap_scalePixels_dst'>dst</a>, …
1829a href='#SkPixmap_scalePixels_dst'>dst</a>.<a href='#SkPixmap_colorType'>colorType</a>() and <a hr…
1830 …<a href='#SkPixmap_scalePixels_dst'>dst</a> address is nullptr, or <a href='#SkPixmap_scalePixels_…
1831a href='#SkPixmap_scalePixels_dst'>dst</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo…
1833a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkPixmap_Reference#SkPix…
1834a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
1835a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorType'>colorType</a>() is…
1836a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_alphaType'>alphaType</a>() is…
1837a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> <a href='#SkPixmap_colorSpace'>colorSpace</a>() …
1838 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
1840 …s false if <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a> <a href='#SkPixmap_width'>width()</a
1842a href='SkImage_Reference#Image'>image</a>, with <a href='#SkPixmap_scalePixels_filterQuality'>fil…
1843 <a href='#SkPixmap_scalePixels_filterQuality'>filterQuality</a> <a href='undocumented#kNone_SkFilte…
1844 <a href='undocumented#Nearest_Neighbor'>nearest neighbor filter</a>. <a href='undocumented#kLow_SkF…
1845 <a href='undocumented#Bilerp'>bilerp filter</a>. <a href='undocumented#kMedium_SkFilterQuality'>kMe…
1846 <a href='undocumented#Bilerp'>bilerp filter</a>, and <a href='undocumented#MipMap'>mip-map filter<…
1847a href='undocumented#kHigh_SkFilterQuality'>kHigh_SkFilterQuality</a> is slowest, typically implem…
1851 <table> <tr> <td><a name='SkPixmap_scalePixels_dst'><code><strong>dst</strong></code></a></td>
1852 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a> and <a href='undocumented#Pixel'>p…
1854 …<tr> <td><a name='SkPixmap_scalePixels_filterQuality'><code><strong>filterQuality</strong></cod…
1855 …e of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undocumente…
1859 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
1863 true if pixels are scaled to fit <a href='#SkPixmap_scalePixels_dst'>dst</a>
1871a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawBitmap'>drawBitmap</a> <
1873 <a name='SkPixmap_erase'></a>
1878a href='#SkPixmap_erase'>erase</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a href='SkColo…
1881 Writes <a href='#SkPixmap_erase_color'>color</a> to pixels bounded by <a href='#SkPixmap_erase_subs…
1882a href='#SkPixmap_colorType'>colorType</a>() is <a href='SkImageInfo_Reference#kUnknown_SkColorTyp…
1883 not intersect <a href='#SkPixmap_bounds'>bounds()</a>.
1887 <table> <tr> <td><a name='SkPixmap_erase_color'><code><strong>color</strong></code></a></td>
1888 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_color'>color…
1890 <tr> <td><a name='SkPixmap_erase_subset'><code><strong>subset</strong></code></a></td>
1891 <td>bounding integer <a href='SkRect_Reference#SkRect'>SkRect</a> of written pixels</td>
1905a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#SkBitmap_erase'>erase</a> <a href='Sk…
1907 <a name='SkPixmap_erase_2'></a>
1912 bool <a href='#SkPixmap_erase'>erase</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a href='S…
1915 Writes <a href='#SkPixmap_erase_2_color'>color</a> to pixels inside <a href='#SkPixmap_bounds'>boun…
1916a href='#SkPixmap_colorType'>colorType</a>() is <a href='SkImageInfo_Reference#kUnknown_SkColorTyp…
1921 <table> <tr> <td><a name='SkPixmap_erase_2_color'><code><strong>color</strong></code></a></td>
1922 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_2_color'>col…
1936a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#SkBitmap_erase'>erase</a> <a href='Sk…
1938 <a name='SkPixmap_erase_3'></a>
1943a href='#SkPixmap_erase'>erase</a>(const <a href='SkColor4f_Reference#SkColor4f'>SkColor4f</a>& <a
1946 Writes <a href='#SkPixmap_erase_3_color'>color</a> to pixels bounded by <a href='#SkPixmap_erase_3_…
1947 if <a href='#SkPixmap_erase_3_subset'>subset</a> is nullptr, writes colors pixels inside <a href='#…
1948a href='#SkPixmap_colorType'>colorType</a>() is <a href='SkImageInfo_Reference#kUnknown_SkColorTyp…
1949 …ct <a href='#SkPixmap_bounds'>bounds()</a>, or if <a href='#SkPixmap_erase_3_subset'>subset</a> is…
1953 <table> <tr> <td><a name='SkPixmap_erase_3_color'><code><strong>color</strong></code></a></td>
1954 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_3_color'>col…
1956 <tr> <td><a name='SkPixmap_erase_3_subset'><code><strong>subset</strong></code></a></td>
1957 …<td>bounding integer <a href='SkRect_Reference#SkRect'>SkRect</a> of pixels to write; may be nullp…
1971a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a href='#SkBitmap_erase'>erase</a> <a href='Sk…