Lines Matching refs:properties

128     const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties;
129 bool setFillPath = properties.getFillGradient() != nullptr ||
130 properties.getFillColor() != SK_ColorTRANSPARENT;
132 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType());
151 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties;
158 if (properties.getFillGradient() != nullptr) {
159 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha()));
160 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getFillGradient())));
162 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) {
163 paint.setColor(applyAlpha(properties.getFillColor(), properties.getFillAlpha()));
175 if (properties.getStrokeGradient() != nullptr) {
176 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getStrokeAlpha()));
177 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getStrokeGradient())));
179 } else if (properties.getStrokeColor() != SK_ColorTRANSPARENT) {
180 paint.setColor(applyAlpha(properties.getStrokeColor(), properties.getStrokeAlpha()));
186 paint.setStrokeJoin(SkPaint::Join(properties.getStrokeLineJoin()));
187 paint.setStrokeCap(SkPaint::Cap(properties.getStrokeLineCap()));
188 paint.setStrokeMiter(properties.getStrokeMiterLimit());
189 paint.setStrokeWidth(properties.getStrokeWidth());
299 // Copy over the dirty staging properties
311 void Group::getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) {
315 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY());
316 outMatrix->postScale(properties.getScaleX(), properties.getScaleY());
317 outMatrix->postRotate(properties.getRotation(), 0, 0);
318 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(),
319 properties.getTranslateY() + properties.getPivotY());
342 // TODO: Consider animating the properties as float pointers