Lines Matching refs:SkLayer
8 #include "SkLayer.h"
20 SkLayer::SkLayer() {
33 SkDebugf("SkLayer new: %d\n", gLayerAllocCount);
37 SkLayer::SkLayer(const SkLayer& src) : INHERITED() {
50 SkDebugf("SkLayer copy: %d\n", gLayerAllocCount);
54 SkLayer::~SkLayer() {
59 SkDebugf("SkLayer delete: %d\n", gLayerAllocCount);
65 bool SkLayer::isInheritFromRootTransform() const {
69 void SkLayer::setInheritFromRootTransform(bool doInherit) {
77 void SkLayer::setMatrix(const SkMatrix& matrix) {
81 void SkLayer::setChildrenMatrix(const SkMatrix& matrix) {
87 int SkLayer::countChildren() const {
91 SkLayer* SkLayer::getChild(int index) const {
99 SkLayer* SkLayer::addChild(SkLayer* child) {
110 void SkLayer::detachFromParent() {
120 void SkLayer::removeChildren() {
123 SkLayer* child = m_children[i];
131 SkLayer* SkLayer::getRootLayer() const {
132 const SkLayer* root = this;
136 return const_cast<SkLayer*>(root);
141 void SkLayer::getLocalTransform(SkMatrix* matrix) const {
151 void SkLayer::localToGlobal(SkMatrix* matrix) const {
159 const SkLayer* layer = this;
172 void SkLayer::onDraw(SkCanvas*, SkScalar opacity) {
178 void SkLayer::draw(SkCanvas* canvas, SkScalar opacity) {