Lines Matching defs:properties
129 auto& props = node.properties();
208 const RenderProperties& properties = node.properties();
209 const Outline& outline = properties.getOutline();
210 if (properties.getAlpha() <= 0
212 || properties.getScaleX() == 0
213 || properties.getScaleY() == 0) {
217 if (properties.getLeft() != 0 || properties.getTop() != 0) {
218 mCanvasState.translate(properties.getLeft(), properties.getTop());
220 if (properties.getStaticMatrix()) {
221 mCanvasState.concatMatrix(*properties.getStaticMatrix());
222 } else if (properties.getAnimationMatrix()) {
223 mCanvasState.concatMatrix(*properties.getAnimationMatrix());
225 if (properties.hasTransformMatrix()) {
226 if (properties.isTransformTranslateOnly()) {
227 mCanvasState.translate(properties.getTranslationX(), properties.getTranslationY());
229 mCanvasState.concatMatrix(*properties.getTransformMatrix());
233 const int width = properties.getWidth();
234 const int height = properties.getHeight();
237 const bool isLayer = properties.effectiveLayerType() != LayerType::None;
238 int clipFlags = properties.getClippingFlags();
239 if (properties.getAlpha() < 1) {
243 if (CC_LIKELY(isLayer || !properties.getHasOverlappingRendering())) {
245 mCanvasState.scaleAlpha(properties.getAlpha());
250 properties.getClippingRectForFlags(clipFlags, &saveLayerBounds);
255 if (CC_UNLIKELY(ATRACE_ENABLED() && properties.promotedToLayer())) {
263 properties.getClippingRectForFlags(clipFlags, &clipRect);
268 if (properties.getRevealClip().willClip()) {
270 properties.getRevealClip().getBounds(&bounds);
272 bounds, properties.getRevealClip().getRadius());
273 } else if (properties.getOutline().willClip()) {
274 mCanvasState.setClippingOutline(mAllocator, &(properties.getOutline()));
278 || (properties.getClipToBounds()
294 saveLayerPaint.setAlpha(properties.getAlpha());
318 float childZ = child->properties().getZ();
323 } else if (!child->properties().getProjectBackwards()) {
395 auto& properties = node.properties();
397 if (properties.getAlpha() <= 0.0f
398 || properties.getOutline().getAlpha() <= 0.0f
399 || !properties.getOutline().getPath()
400 || properties.getScaleX() == 0
401 || properties.getScaleY() == 0) {
406 const SkPath* casterOutlinePath = properties.getOutline().getPath();
407 const SkPath* revealClipPath = properties.getRevealClip().getPath();
410 float casterAlpha = properties.getAlpha() * properties.getOutline().getAlpha();
425 if (properties.getClippingFlags() & CLIP_TO_CLIP_BOUNDS) {
430 properties.getClippingRectForFlags(CLIP_TO_CLIP_BOUNDS, &clipBounds);
469 const SkPath* projectionReceiverOutline = renderNode.properties().getOutline().getPath();
545 // then apply state from node properties, and defer ops