Lines Matching refs:src
189 _check_toggle: function(src, dst) {
190 if (src == 'toggle') {
193 return src;
198 mergeFrom: function(src) {
201 if (src.typeface && this.typeface !== src.typeface) {
202 this.typeface = src.typeface;
205 if (src.size && this.size !== src.size) {
206 this.size = src.size;
209 if (src.color) {
210 this.color = src.color;
214 if (src.bold) {
215 this.bold = this._check_toggle(src.bold, this.bold);
217 if (src.italic) {
218 this.italic = this._check_toggle(src.italic, this.italic);
220 if (src.wavy) {
221 this.wavy = this._check_toggle(src.wavy, this.wavy);
224 if (src.size_add) {
225 this.size += src.size_add;
229 if ('shaderIndex' in src) {
230 if (src.shaderIndex >= 0) {
231 this.shaderIndex = src.shaderIndex;