111 {
114 if (fUseDFT) {
115
117#if defined(SK_GRAPHITE)
118 auto recorder = inputCanvas->
recorder();
119#endif
123 }
132#if defined(SK_GRAPHITE)
133 if (recorder) {
135 } else
136#endif
137 {
139 }
141
143 }
145
147
150
151 int rowCount = 0;
155
157 if (!fUseDFT) {
159 }
160 paint.setAntiAlias(
false);
161
163
164
168
169 for (
int i = 0;
i < 4;
i++) {
172 case 0:
174 break;
175 case 1:
177 break;
178 }
179 if (!fUseDFT) {
181 }
185 ++rowCount;
186 if ((
bounds.width() + 2 * kPadX) * rowCount > kWidth) {
190 rowCount = 0;
191 }
192 }
194
195
198
201 }
202 }
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
virtual skgpu::graphite::Recorder * recorder() const
virtual SkISize getBaseLayerSize() 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)