Lines Matching refs:properties
135 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; in getUpdatedPath() local
136 bool setFillPath = properties.getFillGradient() != nullptr || in getUpdatedPath()
137 properties.getFillColor() != SK_ColorTRANSPARENT; in getUpdatedPath()
139 outPath->setFillType(static_cast<SkPathFillType>(properties.getFillType())); in getUpdatedPath()
157 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; in draw() local
164 if (properties.getFillGradient() != nullptr) { in draw()
165 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha())); in draw()
166 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getFillGradient()))); in draw()
168 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) { in draw()
169 paint.setColor(applyAlpha(properties.getFillColor(), properties.getFillAlpha())); in draw()
181 if (properties.getStrokeGradient() != nullptr) { in draw()
182 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getStrokeAlpha())); in draw()
183 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getStrokeGradient()))); in draw()
185 } else if (properties.getStrokeColor() != SK_ColorTRANSPARENT) { in draw()
186 paint.setColor(applyAlpha(properties.getStrokeColor(), properties.getStrokeAlpha())); in draw()
192 paint.setStrokeJoin(SkPaint::Join(properties.getStrokeLineJoin())); in draw()
193 paint.setStrokeCap(SkPaint::Cap(properties.getStrokeLineCap())); in draw()
194 paint.setStrokeMiter(properties.getStrokeMiterLimit()); in draw()
195 paint.setStrokeWidth(properties.getStrokeWidth()); in draw()
317 void Group::getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) { in getLocalMatrix() argument
321 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY()); in getLocalMatrix()
322 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
323 outMatrix->postRotate(properties.getRotation(), 0, 0); in getLocalMatrix()
324 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(), in getLocalMatrix()
325 properties.getTranslateY() + properties.getPivotY()); in getLocalMatrix()