Lines Matching refs:g
51 * Wraps all elements of $this in a `<g>` tag
58 $g = $dom->ownerDocument->createElement('g');
62 $g->appendChild($child);
64 $g = $dom->appendChild($g);
66 return simplexml_import_dom($g, get_class($this));
224 $style = 'g rect.' . self::BACKGROUNDCLASS . '{fill:' . $params['b'] . ';}';
227 $style .= 'g:hover rect.' . self::BACKGROUNDCLASS . '{fill:' . $params['bh'] . ';}';
231 $style .= 'g ' . $element . '{';
238 $style .= 'g:hover ' . $element . '{';
265 $g = hexdec($m[2] . $m[2]);
270 $g = hexdec($m[2]);
288 return "rgba($r,$g,$b,$a)";
294 * @param SvgNode $g
297 protected function createBackground(SvgNode $g) {
298 $rect = $g->prependChild('rect');