108 {
111 if (fUseDFT) {
112
125
127 }
129
131
134
135 int rowCount = 0;
139
141 if (!fUseDFT) {
143 }
144 paint.setAntiAlias(
false);
145
147
148
152
153 for (int i = 0; i < 4; i++) {
155 switch (i % 2) {
156 case 0:
158 break;
159 case 1:
161 break;
162 }
163 if (!fUseDFT) {
165 }
169 ++rowCount;
170 if ((
bounds.width() + 2 * kPadX) * rowCount > kWidth) {
174 rowCount = 0;
175 }
176 }
178
179
182
185 }
186 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kNormal_SkBlurStyle
fuzzy inside and outside
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorWHITE
#define SkScalarFloorToInt(x)
static SkScalar SK_SPI ConvertRadiusToSigma(SkScalar radius)
bool getProps(SkSurfaceProps *props) const
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
virtual GrRecordingContext * recordingContext() const
void rotate(SkScalar degrees)
SkMatrix getTotalMatrix() const
void setMatrix(const SkM44 &matrix)
SkImageInfo imageInfo() const
void drawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
@ kUseDeviceIndependentFonts_Flag
SkPixelGeometry pixelGeometry() const
const SkRect & bounds() const
SkISize getISize() override
Optional< SkRect > bounds
SK_API sk_sp< SkSurface > RenderTarget(GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo, int sampleCount, GrSurfaceOrigin surfaceOrigin, const SkSurfaceProps *surfaceProps, bool shouldCreateWithMips=false, bool isProtected=false)
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
sk_sp< SkColorSpace > refColorSpace() const
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)