attributableshape.hxx (aaef562f) | attributableshape.hxx (56b8eddc) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 51 unchanged lines hidden (view full) --- 60 is most typically used when a new SMIL animation 61 starts (which according to the spec always lies atop 62 of all previous animations). Thus, subsequent calls to 63 this method generate a sandwich of attribute layers, 64 which in total define the shape's attributes. 65 66 Please note that the attribute layers do <em>not</em> 67 contain the underlying XShape's attributes as | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 51 unchanged lines hidden (view full) --- 60 is most typically used when a new SMIL animation 61 starts (which according to the spec always lies atop 62 of all previous animations). Thus, subsequent calls to 63 this method generate a sandwich of attribute layers, 64 which in total define the shape's attributes. 65 66 Please note that the attribute layers do <em>not</em> 67 contain the underlying XShape's attributes as |
68 default. Instead, attributes not explicitely set by | 68 default. Instead, attributes not explicitly set by |
69 animations remain in invalid state, allowing the 70 shape's paint method to determine whether they have to 71 override the underlying graphical shape 72 representation. XShape attributes must be passed | 69 animations remain in invalid state, allowing the 70 shape's paint method to determine whether they have to 71 override the underlying graphical shape 72 representation. XShape attributes must be passed |
73 explicitely to animations which need them (e.g. 'by' | 73 explicitly to animations which need them (e.g. 'by' |
74 animations). 75 76 @return the new layer 77 */ 78 virtual ShapeAttributeLayerSharedPtr createAttributeLayer() = 0; 79 80 /** Revoke a previously generated attribute layer. 81 --- 15 unchanged lines hidden (view full) --- 97 /** Get the topmost shape attribute layer (if any). 98 99 This method returns the topmost layer for shape 100 attributes, i.e. the one which ultimately determines 101 the shape's look. 102 103 Please note that the attribute layers do <em>not</em> 104 contain the underlying XShape's attributes as | 74 animations). 75 76 @return the new layer 77 */ 78 virtual ShapeAttributeLayerSharedPtr createAttributeLayer() = 0; 79 80 /** Revoke a previously generated attribute layer. 81 --- 15 unchanged lines hidden (view full) --- 97 /** Get the topmost shape attribute layer (if any). 98 99 This method returns the topmost layer for shape 100 attributes, i.e. the one which ultimately determines 101 the shape's look. 102 103 Please note that the attribute layers do <em>not</em> 104 contain the underlying XShape's attributes as |
105 default. Instead, attributes not explicitely set by | 105 default. Instead, attributes not explicitly set by |
106 animations remain in invalid state, allowing the 107 shape's paint method to determine whether they have to 108 override the underlying graphical shape 109 representation. XShape attributes must be passed | 106 animations remain in invalid state, allowing the 107 shape's paint method to determine whether they have to 108 override the underlying graphical shape 109 representation. XShape attributes must be passed |
110 explicitely to animations which need them (e.g. 'by' | 110 explicitly to animations which need them (e.g. 'by' |
111 animations). 112 113 @return the topmost layer 114 */ 115 virtual ShapeAttributeLayerSharedPtr getTopmostAttributeLayer() const = 0; 116 117 118 /** Change default shape visibility --- 32 unchanged lines hidden (view full) --- 151 */ 152 virtual DocTreeNode getSubsetNode() const = 0; 153 154 /** Query a subset Shape, if already existent at this 155 object 156 157 This method returns a clone of this Shape, which 158 renders only the selected subset of itself, but only | 111 animations). 112 113 @return the topmost layer 114 */ 115 virtual ShapeAttributeLayerSharedPtr getTopmostAttributeLayer() const = 0; 116 117 118 /** Change default shape visibility --- 32 unchanged lines hidden (view full) --- 151 */ 152 virtual DocTreeNode getSubsetNode() const = 0; 153 154 /** Query a subset Shape, if already existent at this 155 object 156 157 This method returns a clone of this Shape, which 158 renders only the selected subset of itself, but only |
159 if such a subset has been explicitely created before. | 159 if such a subset has been explicitly created before. |
160 161 @param rTreeNode 162 A DocTreeNode instance queried from this Shape, which 163 specifies the subset of the Shape to render. 164 165 @return a NULL Shape pointer, if no subset exists for 166 the given DocTreeNode. 167 */ --- 57 unchanged lines hidden --- | 160 161 @param rTreeNode 162 A DocTreeNode instance queried from this Shape, which 163 specifies the subset of the Shape to render. 164 165 @return a NULL Shape pointer, if no subset exists for 166 the given DocTreeNode. 167 */ --- 57 unchanged lines hidden --- |