1 # external references that will be documented eventually ... 2 #External 3 DirectWrite TrueType Windows Linux Android iOS __ANDROID_API__ AHardwareBuffer 4 FreeType FreeType-based Harfbuzz 5 LCD RGB sRGB BGR RGBA ARGB YUV YUVA HSV SDTV HDTV 6 Unicode Unicode5 UTF-8 UTF-16 UTF-32 ASCII Unichar 7 API 8 BMP GIF HEIF ICO JPEG PNG WBMP WebP 9 CPU 10 GPU GPU-backed OpenGL Vulkan VkDevice I/O MSAA 11 PDF XPS 12 RFC 13 NaN NaNs 14 bool U16CPU int int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t size_t 15 nullptr 16 malloc() calloc() assert() std::move() 17 C C++ SIZE_MAX C_FILE FILE 18 CSS HTML 19 20 affine destructor multitexturing representable subclasses descender descenders grayscale kerning 21 unhinted no-parameter 22 23 Sa Da Sc Dc 0xAARRGGBB # temporary until figure out what to do 24 25 SkUserConfig.h # not external, but still thinking about how markup refers to this 26 SkXXX.h # ditto 27 SkXXX_Reference # ditto 28 Skia # ditto 29 SK_ABORT # ditto 30 SK_DEBUG # ditto 31 SK_RELEASE # ditto 32 SK_USE_FREETYPE_EMBOLDEN # ditto 33 SK_BUILD_FOR_ANDROID_FRAMEWORK # ditto 34 SK_BUILD_FOR_MAC # ditto 35 SK_BUILD_FOR_IOS # ditto 36 SK_SUPPORT_GPU # ditto 37 SK_HAS_JPEG_LIBRARY # ditto 38 SK_HAS_PNG_LIBRARY # ditto 39 SK_HAS_WEBP_LIBRARY # ditto 40 SK_IGNORE_GPU_DITHER # ditto 41 SK_PMCOLOR_BYTE_ORDER # ditto 42 43 # FreeType related 44 FT_LOAD_TARGET_LIGHT 45 FT_LOAD_TARGET_NORMAL 46 FT_LOAD_TARGET_LCD 47 FT_LOAD_TARGET_LCD_V 48 FT_LOAD_NO_HINTING 49 FT_Load_Glyph 50 51 #External ## 52 53 # this jargon requires a substitute to space the phrase. 54 #Topic Little_Endian 55 #Substitute little endian 56 ## 57 58 #Topic Big_Endian 59 #Substitute big endian 60 ## 61 62 #Topic YUV_Component_Y 63 #Substitute YUV component y 64 ## 65 66 #Topic YUV_Component_U 67 #Substitute YUV component u 68 ## 69 70 #Topic YUV_Component_V 71 #Substitute YUV component v 72 ## 73 74 #Topic UV_Mapping 75 #Substitute UV mapping 76 ## 77 78 #Topic Multi_Sample_Anti_Aliasing 79 #Substitute multi-sample anti-aliasing 80 ## 81 82 #Topic GPU_Share_Group 83 #Substitute GPU share group 84 ## 85 86 #Topic Bezier_Curve 87 #Substitute Bezier cruve 88 ## 89 90 #Topic Coons_Patch 91 #Substitute Coons patch 92 ## 93 94 #Topic Cartesian_Coordinate 95 #Substitute Cartesian coordinate 96 ## 97 98 #Topic Euclidean_Distance 99 #Substitute Euclidean distance 100 ## 101 102 #Topic Euclidean_Space 103 #Substitute Euclidean space 104 ## 105 106 #Topic HTML_Gray 107 #Substitute HTML gray 108 ## 109 110 #Topic HTML_Silver 111 #Substitute HTML silver 112 ## 113 114 #Topic HTML_Lime 115 #Substitute HTML lime 116 ## 117 118 #Topic HTML_Green 119 #Substitute HTML green 120 ## 121 122 #Topic HTML_Aqua 123 #Substitute HTML aqua 124 ## 125 126 #Topic HTML_Fuchsia 127 #Substitute HTML fuchsia 128 ## 129 130 #Topic SVG_lightgray 131 #Substitute SVG light gray 132 ## 133 134 #Topic SVG_darkgray 135 #Substitute SVG dark gray 136 ## 137 138 # start of topics to be documented in the future 139 140 #Topic Alias 141 #Alias Aliased ## 142 #Alias Aliasing ## 143 ## 144 145 #Topic Arc 146 #Alias Arcs ## 147 #Topic ## 148 149 #Topic Backend_Semaphore 150 #Alias Backend_Semaphores ## 151 #Class GrBackendSemaphore 152 ## 153 ## 154 155 #Topic BBH_Factory 156 #Class SkBBHFactory 157 ## 158 ## 159 160 161 #Topic Circle 162 #Alias Circles ## 163 #Topic ## 164 165 #Topic Clip_Op 166 #EnumClass SkClipOp 167 #Const kDifference 0 168 ## 169 #Const kIntersect 1 170 ## 171 ## 172 ## 173 174 #Topic Color_Filter 175 #Class SkColorFilter 176 #Class ## 177 ## 178 179 #Topic Color_Space 180 #Class SkColorSpace 181 #Method static sk_sp<SkColorSpace> MakeSRGBLinear() 182 ## 183 #Method bool gammaCloseToSRGB() const 184 ## 185 #Method static bool Equals(const SkColorSpace* src, const SkColorSpace* dst) 186 ## 187 ## 188 ## 189 190 #Topic Create_Color_Space_Xform_Canvas 191 #Method std::unique_ptr<SkCanvas> SkCreateColorSpaceXformCanvas(SkCanvas* target, 192 sk_sp<SkColorSpace> targetCS) 193 ## 194 ## 195 196 #Topic Core_Graphics 197 #Substitute Core Graphics 198 ## 199 200 #Topic Core_Text 201 #Substitute Core Text 202 ## 203 204 #Topic Curve 205 #Alias Curves ## 206 ## 207 208 #Topic Data 209 #Class SkData 210 ## 211 ## 212 213 #Topic Debug_Canvas 214 #Class SkDebugCanvas 215 ## 216 ## 217 218 #Topic Debugging 219 #Method void SkDebugf(const char format[], ...) 220 ## 221 ## 222 223 #Topic Deferred_Display_List 224 #Class SkDeferredDisplayList 225 ## 226 #Subtopic Recorder 227 #Class SkDeferredDisplayListRecorder 228 ## 229 ## 230 ## 231 232 #Topic Deserial_Procs 233 #Struct SkDeserialProcs 234 #Member SkDeserialPictureProc fPictureProc 235 ## 236 #Member void* fPictureCtx 237 ## 238 #Member SkDeserialTypefaceProc fTypefaceProc 239 ## 240 #Member void* fTypefaceCtx 241 ## 242 ## 243 ## 244 245 #Topic Device 246 #Class SkBaseDevice 247 ## 248 ## 249 250 #Topic Document 251 #Class SkDocument 252 #Method SkCanvas* beginPage(SkScalar width, SkScalar height, 253 const SkRect* content = NULL) 254 ## 255 ## 256 #Subtopic PDF 257 ## 258 ## 259 260 #Topic Draw_Layer 261 ## 262 263 #Topic Draw_Looper 264 #Class SkDrawLooper 265 #Class ## 266 ## 267 268 #Topic Drawable 269 #Class SkDrawable 270 #Method void draw(SkCanvas*, const SkMatrix* = NULL) 271 ## 272 ## 273 ## 274 275 # to be in topic Encoded_Image_Format 276 #EnumClass SkEncodedImageFormat 277 #Const kUnknown 0 278 ## 279 #Const kBMP 1 280 ## 281 #Const kGIF 2 282 ## 283 #Const kICO 3 284 ## 285 #Const kJPEG 4 286 ## 287 #Const kPNG 5 288 ## 289 #Const kWBMP 6 290 ## 291 #Const kWEBP 7 292 ## 293 #Const kPKM 8 294 ## 295 #Const kKTX 9 296 ## 297 #Const kASTC 10 298 ## 299 #Const kDNG 11 300 ## 301 #Const kHEIF 12 302 ## 303 ## 304 # end of topic Encoded_Image_Format 305 306 #Topic Filter_Quality 307 #Enum SkFilterQuality 308 #Const kNone_SkFilterQuality 0 309 ## 310 #Const kLow_SkFilterQuality 1 311 ## 312 #Const kMedium_SkFilterQuality 2 313 ## 314 #Const kHigh_SkFilterQuality 3 315 ## 316 #Enum ## 317 #Subtopic Nearest_Neighbor 318 #Substitute nearest neighbor filter 319 ## 320 #Subtopic Bilerp 321 #Substitute bilerp filter 322 ## 323 #Subtopic MipMap 324 #Substitute mip-map filter 325 ## 326 #Subtopic BiCubic 327 #Substitute bicubic filter 328 ## 329 #Topic ## 330 331 #Topic Text_Encoding 332 #Enum SkTextEncoding 333 #Const kUTF8_SkTextEncoding 0 334 ## 335 #Const kUTF16_SkTextEncoding 1 336 ## 337 #Const kUTF32_SkTextEncoding 2 338 ## 339 #Const kGlyphID_SkTextEncoding 3 340 ## 341 TextEncoding determines whether text specifies character codes and their encoded 342 size, or glyph indices. Characters are encoded as specified by the 343 #A Unicode standard # https://unicode.org/standard/standard.html ## 344 . 345 346 Character codes encoded size are specified by UTF-8, UTF-16, or UTF-32. 347 All character code formats are able to represent all of Unicode, differing only 348 in the total storage required. 349 350 #A UTF-8 (RFC 3629) # https://tools.ietf.org/html/rfc3629 ## 351 encodes each character as one or more 8-bit bytes. 352 353 #A UTF-16 (RFC 2781) # https://tools.ietf.org/html/rfc2781 ## 354 encodes each character as one or two 16-bit words. 355 356 #A UTF-32 # https://www.unicode.org/versions/Unicode5.0.0/ch03.pdf ## 357 encodes each character as one 32-bit word. 358 359 Font_Manager uses font data to convert character code points into glyph indices. 360 A glyph index is a 16-bit word. 361 #Enum SkTextEncoding ## 362 #Topic Text_Encoding ## 363 364 #Topic Font_Hinting 365 #Line # glyph outline adjustment ## 366 #EnumClass SkFontHinting 367 #Const kNone 0 368 #Line # glyph outlines unchanged ## 369 Leaves glyph outlines unchanged from their native representation. 370 With FreeType, this is equivalent to the FT_LOAD_NO_HINTING 371 bit-field constant supplied to FT_Load_Glyph, which indicates that the vector 372 outline being loaded should not be fitted to the pixel grid but simply scaled 373 to 26.6 fractional pixels. 374 ## 375 #Const kSlight 1 376 #Line # minimal modification to improve contrast ## 377 Modifies glyph outlines minimally to improve contrast. 378 With FreeType, this is equivalent in spirit to the 379 FT_LOAD_TARGET_LIGHT value supplied to FT_Load_Glyph. It chooses a 380 lighter hinting algorithm for non-monochrome modes. 381 Generated Glyphs may be fuzzy but better resemble their original shape. 382 ## 383 #Const kNormal 2 384 #Line # glyph outlines modified to improve contrast ## 385 Modifies glyph outlines to improve contrast. This is the default. 386 With FreeType, this supplies FT_LOAD_TARGET_NORMAL to FT_Load_Glyph, 387 choosing the default hinting algorithm, which is optimized for standard 388 gray-level rendering. 389 ## 390 #Const kFull 3 391 #Line # modifies glyph outlines for maximum contrast ## 392 Modifies glyph outlines for maximum contrast. With FreeType, this selects 393 FT_LOAD_TARGET_LCD or FT_LOAD_TARGET_LCD_V if kLCDRenderText_Flag is set. 394 FT_LOAD_TARGET_LCD is a variant of FT_LOAD_TARGET_NORMAL optimized for 395 horizontally decimated LCD displays; FT_LOAD_TARGET_LCD_V is a 396 variant of FT_LOAD_TARGET_NORMAL optimized for vertically decimated LCD displays. 397 ## 398 #EnumClass SkFontHinting ## 399 #Topic Font_Hinting ## 400 401 #Topic Font_Metrics 402 #Struct SkFontMetrics 403 #Line # values computed by Font_Manager using Typeface ## 404 405 SkFontMetrics is filled out by SkPaint::getFontMetrics. SkFontMetrics contents 406 reflect the values 407 computed by Font_Manager using Typeface. Values are set to zero if they are 408 not available. 409 410 All vertical values are relative to the baseline, on a y-axis pointing down. 411 Zero is on the baseline, negative values are above the baseline, and positive 412 values are below the baseline. 413 414 fUnderlineThickness and fUnderlinePosition have a bit set in fFlags if their values 415 are valid, since their value may be zero. 416 417 fStrikeoutThickness and fStrikeoutPosition have a bit set in fFlags if their values 418 are valid, since their value may be zero. 419 420 #Enum FontMetricsFlags 421 #Line # valid Font_Metrics ## 422 423 FontMetricsFlags are set in fFlags when underline and strikeout metrics are valid; 424 the underline or strikeout metric may be valid and zero. 425 Fonts with embedded bitmaps may not have valid underline or strikeout metrics. 426 427 #Const kUnderlineThicknessIsValid_Flag 0x0001 428 #Line # set if fUnderlineThickness is valid ## 429 ## 430 #Const kUnderlinePositionIsValid_Flag 0x0002 431 #Line # set if fUnderlinePosition is valid ## 432 ## 433 #Const kStrikeoutThicknessIsValid_Flag 0x0004 434 #Line # set if fStrikeoutThickness is valid ## 435 ## 436 #Const kStrikeoutPositionIsValid_Flag 0x0008 437 #Line # set if fStrikeoutPosition is valid ## 438 ## 439 440 #Enum ## 441 442 #Member uint32_t fFlags 443 #Line # is set to FontMetricsFlags when metrics are valid ## 444 ## 445 446 #Member SkScalar fTop 447 #Line # extent above baseline ## 448 Greatest extent above the baseline for any glyph. 449 Typically less than zero. 450 ## 451 452 #Member SkScalar fAscent 453 #Line # distance to reserve above baseline ## 454 Recommended distance above the baseline to reserve for a line of text. 455 Typically less than zero. 456 ## 457 458 #Member SkScalar fDescent 459 #Line # distance to reserve below baseline ## 460 Recommended distance below the baseline to reserve for a line of text. 461 Typically greater than zero. 462 ## 463 464 #Member SkScalar fBottom 465 #Line # extent below baseline ## 466 Greatest extent below the baseline for any glyph. 467 Typically greater than zero. 468 ## 469 470 #Member SkScalar fLeading 471 #Line # distance to add between lines ## 472 Recommended distance to add between lines of text. 473 Typically greater than or equal to zero. 474 ## 475 476 #Member SkScalar fAvgCharWidth 477 #Line # average character width ## 478 Average character width, if it is available. 479 Zero if no average width is stored in the font. 480 ## 481 482 #Member SkScalar fMaxCharWidth 483 #Line # maximum character width ## 484 ## 485 486 #Member SkScalar fXMin 487 #Line # minimum x ## 488 Minimum bounding box x-axis value for all Glyphs. 489 Typically less than zero. 490 ## 491 492 #Member SkScalar fXMax 493 #Line # maximum x ## 494 Maximum bounding box x-axis value for all Glyphs. 495 Typically greater than zero. 496 ## 497 498 #Member SkScalar fXHeight 499 #Line # height of lower-case 'x' ## 500 May be zero if no lower-case height is stored in the font. 501 ## 502 503 #Member SkScalar fCapHeight 504 #Line # height of an upper-case letter ## 505 May be zero if no upper-case height is stored in the font. 506 ## 507 508 #Member SkScalar fUnderlineThickness 509 #Line # underline thickness ## 510 If the metric is valid, the kUnderlineThicknessIsValid_Flag is set in fFlags. 511 If kUnderlineThicknessIsValid_Flag is clear, fUnderlineThickness is zero. 512 ## 513 514 #Member SkScalar fUnderlinePosition 515 #Line # underline position relative to baseline ## 516 Position of the top of the underline stroke relative to the baseline. 517 Typically positive when valid. 518 519 If the metric is valid, the kUnderlinePositionIsValid_Flag is set in fFlags. 520 If kUnderlinePositionIsValid_Flag is clear, fUnderlinePosition is zero. 521 ## 522 523 #Member SkScalar fStrikeoutThickness 524 #Line # strikeout thickness ## 525 526 If the metric is valid, the kStrikeoutThicknessIsValid_Flag is set in fFlags. 527 If kStrikeoutThicknessIsValid_Flag is clear, fStrikeoutThickness is zero. 528 ## 529 530 #Member SkScalar fStrikeoutPosition 531 #Line # strikeout position relative to baseline ## 532 Position of the bottom of the strikeout stroke relative to the baseline. 533 Typically negative when valid. 534 535 If the metric is valid, the kStrikeoutPositionIsValid_Flag is set in fFlags. 536 If kStrikeoutPositionIsValid_Flag is clear, fStrikeoutPosition is zero. 537 ## 538 539 #Method bool hasUnderlineThickness(SkScalar* thickness) const 540 #Line # returns underline thickness if set ## 541 542 #NoExample 543 ## 544 ## 545 546 #Method bool hasUnderlinePosition(SkScalar* position) const 547 #Line # returns underline position if set ## 548 549 #NoExample 550 ## 551 ## 552 553 #Method bool hasStrikeoutThickness(SkScalar* thickness) const 554 #Line # returns strikeout thickness if set ## 555 556 #NoExample 557 ## 558 ## 559 560 #Method bool hasStrikeoutPosition(SkScalar* position) const 561 #Line # returns strikeout position if set ## 562 563 #NoExample 564 ## 565 ## 566 567 #Struct ## 568 #Topic ## 569 570 #Topic Font_Manager 571 #Topic ## 572 573 #Topic Glyph 574 #Subtopic ID 575 ## 576 #Alias Glyphs ## 577 ## 578 579 #Topic GPU_Context 580 #Substitute GPU context 581 #Class GrContext 582 #Method void abandonContext() 583 ## 584 #Method void flush() 585 ## 586 ## 587 ## 588 589 #Topic GPU_Surface 590 #Substitute GPU surface 591 ## 592 593 #Topic GPU_Texture 594 #Substitute GPU texture 595 ## 596 597 #Topic HTML_Canvas 598 #Substitute HTML Canvas 599 #Subtopic ArcTo 600 #Substitute HTML Canvas arcTo 601 ## 602 ## 603 604 #Topic Image_Filter 605 #Class SkImageFilter 606 #Class ## 607 #Topic ## 608 609 #Class SkImageGenerator 610 ## 611 612 #Topic Image_Scaling 613 ## 614 615 #Topic ISize 616 #Struct SkISize 617 #Method int32_t width() const 618 ## 619 #Method int32_t height() const 620 ## 621 ## 622 ## 623 624 #Topic Left_Side_Bearing 625 ## 626 627 #Topic Line 628 #Alias Lines ## 629 #Topic ## 630 631 # to be in Topic Malloc_Pixel_Ref 632 #Class SkMallocPixelRef 633 #Method static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes) 634 ## 635 #Method static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes) 636 ## 637 ## 638 # end of Topic Malloc_Pixel_Ref 639 640 #Struct SkMask 641 ## 642 643 #Topic Mask_Alpha 644 #Topic ## 645 646 #Topic Mask_Filter 647 #Class SkMaskFilter 648 #Class ## 649 #Topic ## 650 651 # to be in Topic Math 652 #Method Luminosity(dstColor) 653 # this permits using Luminosity() in documentation 654 ## 655 #Method Saturation(dstColor) 656 # this permits using Saturation() in documentation 657 ## 658 #Method SetLuminosity(srcSaturation, dstLuminosity) 659 # this permits using SetLuminosity() in documentation 660 ## 661 #Method SetSaturation(srcSaturation, dstSaturation) 662 # this permits using SetSaturation() in documentation 663 ## 664 #Method SkIntToScalar(x) 665 ## 666 #Method SkScalarRoundToInt(x) 667 ## 668 #Method SkScalarFloorToInt(x) 669 ## 670 #Method SkScalarCeilToInt(x) 671 ## 672 #Method SkScalarFloorToScalar(x) 673 ## 674 #Method SkScalarCeilToScalar(x) 675 ## 676 #Method SkScalarIsFinite(x) 677 ## 678 #Method SkScalarIsNaN(x) 679 ## 680 #Method template <typename D, typename S> inline bool SkTFitsIn(S s) 681 ## 682 #Method float abs(float x) 683 # this permits using abs(x) in documentation 684 ## 685 #Method float max(float x) 686 # this permits using max(x) in documentation 687 ## 688 #Method float min(float x) 689 # this permits using max(x) in documentation 690 ## 691 #Method float sizeof(float x) 692 # this permits using sizeof(x) in documentation 693 ## 694 #Method float sqrt(float x) 695 # this permits using sqrt(x) in documentation 696 ## 697 #Method static inline bool sk_64_isS32(int64_t value) 698 ## 699 # end of Topic Math 700 701 #Topic Meta_Data 702 #Class SkMetaData 703 ## 704 ## 705 706 #Topic Mip_Map 707 #Substitute mip map 708 ## 709 710 #Topic Nine_Patch 711 ## 712 713 # to be in Topic Number_Types ? 714 #Typedef uint16_t SkGlyphID 715 #Typedef ## 716 #Topic Scalar 717 #Alias Scalars ## 718 #Typedef float SkScalar 719 #Typedef ## 720 ## 721 #Const SK_MinS32FitsInFloat 722 to be written 723 ## 724 #Const SK_MaxS32FitsInFloat 725 to be written 726 ## 727 #Const SK_ScalarMin 728 to be written 729 ## 730 #Const SK_ScalarMax 731 to be written 732 ## 733 #Const SK_ScalarInfinity 734 to be written 735 ## 736 #Const SK_ScalarNegativeInfinity 737 to be written 738 ## 739 #Const SK_ScalarNaN 740 to be written 741 ## 742 #Const SK_ScalarNearlyZero 743 to be written 744 ## 745 #Const SK_MinS32 746 to be written 747 ## 748 #Const SK_MaxS32 749 to be written 750 ## 751 #Typedef int32_t SkUnichar 752 #Typedef ## 753 #Typedef unsigned U8CPU 754 #Typedef ## 755 # end of Topic Number_Types 756 757 #Topic OS_X 758 #Substitute OS X 759 ## 760 761 #Topic Oval 762 #Alias Ovals ## 763 #Topic ## 764 765 #Topic Paint_Defaults 766 #Const SkPaintDefaults_Flags 0 767 ## 768 #Const SkPaintDefaults_Hinting 2 769 ## 770 #Const SkPaintDefaults_TextSize 12 771 ## 772 #Const SkPaintDefaults_MiterLimit 4 773 ## 774 #Topic ## 775 776 #Topic Patch 777 #Alias Patches ## 778 #Topic ## 779 780 #Topic Path_Effect 781 #Class SkPathEffect 782 #Class ## 783 #Topic ## 784 785 # to be in Topic Path_Measure 786 #Class SkPathMeasure 787 #Method void dump() const 788 ## 789 ## 790 # end of Topic Path_Measure 791 792 #Topic PathOps 793 #Enum SkPathOp 794 ## 795 #Method bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) 796 ## 797 #Topic ## 798 799 #Topic Picture_Recorder 800 #Class SkPictureRecorder 801 #Method SkCanvas* beginRecording(const SkRect& bounds, 802 SkBBHFactory* bbhFactory = NULL, 803 uint32_t recordFlags = 0) 804 ## 805 ## 806 ## 807 808 #Topic Pixel 809 #Subtopic Storage 810 ## 811 ## 812 813 #Topic Pixel_Ref 814 #Class SkPixelRef 815 #Method int width() const 816 ## 817 #Method int height() const 818 ## 819 #Method bool isImmutable() const 820 ## 821 #Method void setImmutable() 822 ## 823 ## 824 ## 825 826 #Enum SkPixelGeometry 827 ## 828 829 #Topic Point3 830 #Struct SkPoint3 831 ## 832 #Topic ## 833 834 #Topic PostScript 835 #Substitute PostScript 836 #Subtopic Arct 837 #Substitute PostScript arct 838 ## 839 ## 840 841 #Topic Premultiply 842 #Alias Premultiplied ## 843 #Alias Premultiplies ## 844 ## 845 846 #Topic Raster_Engine 847 ## 848 849 #Topic Raster_Handle_Allocator 850 #Class SkRasterHandleAllocator 851 #Typedef void* Handle 852 ## 853 #Struct Rec 854 ## 855 #Method static std::unique_ptr<SkCanvas> MakeCanvas(std::unique_ptr<SkRasterHandleAllocator>, const SkImageInfo&, const Rec* rec = nullptr) 856 ## 857 ## 858 ## 859 860 #Topic Raster_Bitmap 861 ## 862 863 #Topic Raster_Surface 864 ## 865 866 # to be in Topic Rasterizer 867 #Class SkRasterizer 868 #Class ## 869 # end of Topic Rasterizer 870 871 #Topic Reference_Count 872 #Class SkRefCnt 873 #Class ## 874 875 #Template SkNVRefCnt 876 ## 877 ## 878 879 #Topic Smart_Pointer 880 #Class sk_sp 881 #Class ## 882 #Topic ## 883 884 #Topic Render_Target 885 #Class GrRenderTarget 886 ## 887 ## 888 889 #Topic Right_Side_Bearing 890 ## 891 892 #Topic RSXform 893 #Struct SkRSXform 894 #Member SkScalar fSCos 895 ## 896 #Member SkScalar fSSin 897 ## 898 #Member SkScalar fTx 899 ## 900 #Member SkScalar fTy 901 ## 902 ## 903 ## 904 905 #Topic Serial_Procs 906 #Struct SkSerialProcs 907 #Member SkSerialPictureProc fPictureProc 908 ## 909 #Member void* fPictureCtx 910 ## 911 #Member SkSerialTypefaceProc fTypefaceProc 912 ## 913 #Member void* fTypefaceCtx 914 ## 915 ## 916 ## 917 918 #Topic Shader 919 #Class SkShader 920 #Enum TileMode 921 #Const kClamp_TileMode 0 922 ## 923 #Const kRepeat_TileMode 1 924 ## 925 #Const kMirror_TileMode 2 926 ## 927 ## 928 #Method static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 929 const SkMatrix* localMatrix = nullptr) 930 ## 931 #Method static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src, 932 SkBlendMode mode, float lerp = 1) 933 ## 934 #Class ## 935 #Topic ## 936 937 #Topic Size 938 #Struct SkSize 939 #Method int32_t width() const 940 ## 941 #Method int32_t height() const 942 ## 943 ## 944 ## 945 946 #Topic Sprite 947 #Alias Sprites ## 948 #Topic ## 949 950 #Topic Stream_Asset 951 #Class SkStreamAsset 952 ## 953 #Topic ## 954 955 #Topic String 956 #Class SkString 957 #Class ## 958 #Topic ## 959 960 #Topic Supersampling 961 ## 962 963 #Topic Surface_Characterization 964 #Class SkSurfaceCharacterization 965 ## 966 ## 967 968 #Topic Surface_Properties 969 #Class SkSurfaceProps 970 #Subtopic Legacy_Font_Host 971 #Enum InitType 972 #Const kLegacyFontHost_InitType 0 973 ## 974 ## 975 #Topic ## 976 ## 977 ## 978 979 #Topic SVG 980 #Subtopic Canvas 981 ## 982 #Subtopic Arc 983 ## 984 #Subtopic Sweep_Flag 985 #Substitute SVG sweep-flag 986 ## 987 ## 988 989 #Topic Text 990 #Topic ## 991 992 #Topic Texture 993 #Class GrBackendTexture 994 #Method bool isValid() const 995 ## 996 ## 997 ## 998 999 #Topic YUV_Planes 1000 #Class SkYUVAIndex 1001 ## 1002 ## 1003 1004 #Topic RenderTarget 1005 #Class GrBackendRenderTarget 1006 #Method bool isValid() const 1007 ## 1008 ## 1009 ## 1010 1011 #Topic Transfer_Mode 1012 ## 1013 1014 #Topic Typeface 1015 #Subtopic ID 1016 #Typedef uint32_t SkFontID 1017 ## 1018 ## 1019 #Class SkTypeface 1020 #Method SkFontID uniqueID() const 1021 ## 1022 #Class ## 1023 #Topic ## 1024 1025 # to be defined in types 1026 #Typedef intptr_t GrBackendObject 1027 #Typedef ## 1028 1029 #EnumClass GrMipMapped 1030 #Const kNo 0 1031 ## 1032 #Const kYes 1 1033 ## 1034 #EnumClass ## 1035 1036 #Enum GrSurfaceOrigin 1037 #Const kBottomLeft_GrSurfaceOrigin 0 1038 ## 1039 #Const kTopLeft_GrSurfaceOrigin 1 1040 ## 1041 #Enum ## 1042 1043 #EnumClass SkBudgeted 1044 #Const kNo 0 1045 ## 1046 #Const kYes 1 1047 ## 1048 #EnumClass ## 1049 1050 #EnumClass GrSemaphoresSubmitted 1051 #Const kNo 0 1052 ## 1053 #Const kYes 1 1054 ## 1055 #EnumClass ## 1056 # end of defined in types 1057 1058 #Topic Unpremultiply 1059 #Alias Unpremultiplied ## 1060 ## 1061 1062 #Topic Vertices 1063 #Class SkVertices 1064 #Class Bone 1065 ## 1066 ## 1067 #Subtopic Colors 1068 ## 1069 #Subtopic Texs 1070 ## 1071 #Topic ## 1072 1073 #Topic Xfermode_Image_Filter 1074 #Class SkXfermodeImageFilter 1075 ## 1076 ## 1077