Definition at line 66 of file tallstretchedbitmaps.cpp.
◆ TallStretchedBitmapsGM()
TallStretchedBitmapsGM::TallStretchedBitmapsGM |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize TallStretchedBitmapsGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString TallStretchedBitmapsGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void TallStretchedBitmapsGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 83 of file tallstretchedbitmaps.cpp.
83 {
84 canvas->
scale(1.3f, 1.3f);
88
89 int startItem = fTallBmps[
i].fItemCnt - 10;
90 int itemHeight = bmp.
height() / fTallBmps[
i].fItemCnt;
99 }
100 }
sk_sp< SkImage > asImage() const
void translate(SkScalar dx, SkScalar dy)
@ kStrict_SrcRectConstraint
sample only inside bounds; slower
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
void scale(SkScalar sx, SkScalar sy)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static constexpr SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b)
static SkRect Make(const SkISize &size)
static constexpr SkRect MakeWH(float w, float h)
◆ onOnceBeforeDraw()
void TallStretchedBitmapsGM::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ fBmp
◆ fItemCnt
int TallStretchedBitmapsGM::fItemCnt |
The documentation for this class was generated from the following file: