Lines Matching refs:platformCALayer
30 #import "PlatformCALayer.h"
58 PlatformCALayer* m_owner;
62 - (void)setOwner:(PlatformCALayer*)owner;
85 - (void)setOwner:(PlatformCALayer*)owner
102 bool PlatformCALayer::isValueFunctionSupported()
108 void PlatformCALayer::setOwner(PlatformCALayerClient* owner)
137 static NSString* toCAFilterType(PlatformCALayer::FilterType type)
140 case PlatformCALayer::Linear: return kCAFilterLinear;
141 case PlatformCALayer::Nearest: return kCAFilterNearest;
142 case PlatformCALayer::Trilinear: return kCAFilterTrilinear;
148 PassRefPtr<PlatformCALayer> PlatformCALayer::create(LayerType layerType, PlatformCALayerClient* owner)
150 return adoptRef(new PlatformCALayer(layerType, 0, owner));
153 PassRefPtr<PlatformCALayer> PlatformCALayer::create(void* platformLayer, PlatformCALayerClient* owner)
155 return adoptRef(new PlatformCALayer(LayerTypeCustom, static_cast<PlatformLayer*>(platformLayer), owner));
158 PlatformCALayer::PlatformCALayer(LayerType layerType, PlatformLayer* layer, PlatformCALayerClient* owner)
209 PlatformCALayer::~PlatformCALayer()
221 PlatformCALayer* PlatformCALayer::platformCALayer(void* platformLayer)
226 // Pointer to PlatformCALayer is kept in a key of the CALayer
227 PlatformCALayer* platformCALayer = nil;
229 platformCALayer = static_cast<PlatformCALayer*>([[static_cast<CALayer*>(platformLayer) valueForKey:platformCALayerPointer] pointerValue]);
231 return platformCALayer;
234 PlatformLayer* PlatformCALayer::platformLayer() const
239 void PlatformCALayer::setNeedsDisplay(const FloatRect* dirtyRect)
249 void PlatformCALayer::setContentsChanged()
256 PlatformCALayer* PlatformCALayer::superlayer() const
258 return platformCALayer([m_layer.get() superlayer]);
261 void PlatformCALayer::removeFromSuperlayer()
268 void PlatformCALayer::setSublayers(const PlatformCALayerList& list)
286 void PlatformCALayer::removeAllSublayers()
298 void PlatformCALayer::appendSublayer(PlatformCALayer* layer)
305 void PlatformCALayer::insertSublayer(PlatformCALayer* layer, size_t index)
312 void PlatformCALayer::replaceSublayer(PlatformCALayer* reference, PlatformCALayer* layer)
319 size_t PlatformCALayer::sublayerCount() const
324 void PlatformCALayer::adoptSublayers(PlatformCALayer* source)
342 void PlatformCALayer::addAnimationForKey(const String& key, PlatformCAAnimation* animation)
361 void PlatformCALayer::removeAnimationForKey(const String& key)
368 PassRefPtr<PlatformCAAnimation> PlatformCALayer::animationForKey(const String& key)
376 PlatformCALayer* PlatformCALayer::mask() const
378 return platformCALayer([m_layer.get() mask]);
381 void PlatformCALayer::setMask(PlatformCALayer* layer)
388 bool PlatformCALayer::isOpaque() const
393 void PlatformCALayer::setOpaque(bool value)
400 FloatRect PlatformCALayer::bounds() const
405 void PlatformCALayer::setBounds(const FloatRect& value)
412 FloatPoint3D PlatformCALayer::position() const
418 void PlatformCALayer::setPosition(const FloatPoint3D& value)
426 FloatPoint3D PlatformCALayer::anchorPoint() const
436 void PlatformCALayer::setAnchorPoint(const FloatPoint3D& value)
446 TransformationMatrix PlatformCALayer::transform() const
451 void PlatformCALayer::setTransform(const TransformationMatrix& value)
458 TransformationMatrix PlatformCALayer::sublayerTransform() const
463 void PlatformCALayer::setSublayerTransform(const TransformationMatrix& value)
470 TransformationMatrix PlatformCALayer::contentsTransform() const
482 void PlatformCALayer::setContentsTransform(const TransformationMatrix& value)
496 bool PlatformCALayer::isHidden() const
501 void PlatformCALayer::setHidden(bool value)
508 bool PlatformCALayer::isGeometryFlipped() const
517 void PlatformCALayer::setGeometryFlipped(bool value)
528 bool PlatformCALayer::isDoubleSided() const
533 void PlatformCALayer::setDoubleSided(bool value)
540 bool PlatformCALayer::masksToBounds() const
545 PlatformCALayer::setMasksToBounds(bool value)
552 bool PlatformCALayer::acceleratesDrawing() const
561 void PlatformCALayer::setAcceleratesDrawing(bool acceleratesDrawing)
572 CFTypeRef PlatformCALayer::contents() const
577 void PlatformCALayer::setContents(CFTypeRef value)
584 FloatRect PlatformCALayer::contentsRect() const
589 void PlatformCALayer::setContentsRect(const FloatRect& value)
596 void PlatformCALayer::setMinificationFilter(FilterType value)
607 void PlatformCALayer::setMagnificationFilter(FilterType value)
618 Color PlatformCALayer::backgroundColor() const
623 void PlatformCALayer::setBackgroundColor(const Color& value)
636 float PlatformCALayer::borderWidth() const
641 void PlatformCALayer::setBorderWidth(float value)
648 Color PlatformCALayer::borderColor() const
653 void PlatformCALayer::setBorderColor(const Color& value)
666 float PlatformCALayer::opacity() const
671 void PlatformCALayer::setOpacity(float value)
678 String PlatformCALayer::name() const
683 void PlatformCALayer::setName(const String& value)
690 FloatRect PlatformCALayer::frame() const
695 void PlatformCALayer::setFrame(const FloatRect& value)
702 float PlatformCALayer::speed() const
707 void PlatformCALayer::setSpeed(float value)
714 CFTimeInterval PlatformCALayer::timeOffset() const
719 void PlatformCALayer::setTimeOffset(CFTimeInterval value)
726 float PlatformCALayer::contentsScale() const
735 void PlatformCALayer::setContentsScale(float value)