Lines Matching refs:properties
131 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; in getUpdatedPath() local
132 bool setFillPath = properties.getFillGradient() != nullptr || in getUpdatedPath()
133 properties.getFillColor() != SK_ColorTRANSPARENT; in getUpdatedPath()
135 outPath->setFillType(static_cast<SkPathFillType>(properties.getFillType())); in getUpdatedPath()
153 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; in draw() local
160 if (properties.getFillGradient() != nullptr) { in draw()
161 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha())); in draw()
162 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getFillGradient()))); in draw()
164 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) { in draw()
165 paint.setColor(applyAlpha(properties.getFillColor(), properties.getFillAlpha())); in draw()
177 if (properties.getStrokeGradient() != nullptr) { in draw()
178 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getStrokeAlpha())); in draw()
179 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getStrokeGradient()))); in draw()
181 } else if (properties.getStrokeColor() != SK_ColorTRANSPARENT) { in draw()
182 paint.setColor(applyAlpha(properties.getStrokeColor(), properties.getStrokeAlpha())); in draw()
188 paint.setStrokeJoin(SkPaint::Join(properties.getStrokeLineJoin())); in draw()
189 paint.setStrokeCap(SkPaint::Cap(properties.getStrokeLineCap())); in draw()
190 paint.setStrokeMiter(properties.getStrokeMiterLimit()); in draw()
191 paint.setStrokeWidth(properties.getStrokeWidth()); in draw()
313 void Group::getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) { in getLocalMatrix() argument
317 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY()); in getLocalMatrix()
318 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
319 outMatrix->postRotate(properties.getRotation(), 0, 0); in getLocalMatrix()
320 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(), in getLocalMatrix()
321 properties.getTranslateY() + properties.getPivotY()); in getLocalMatrix()