<gd> (Shape Guide)

This element specifies the precense of a shape guide that will be used to govern the geometry of the specified shape. A shape guide consists of a formula and a name that the result of the formula is assigned to. Recognized formulas are listed with the <fmla> attribute documentation for this element.

Note:

<a:xfrm>
  <a:off x="3200400" y="1600200"/>
  <a:ext cx="1705233" cy="679622"/>
</a:xfrm>
<a:custGeom>
  <a:avLst/> 
  <a:gdLst>
    <a:gd name="myGuide" fmla="*/ h 2 3"/>
  </a:gdLst>
  <a:ahLst/>
  <a:cxnLst/>
  <a:rect l="0" t="0" r="0" b="0"/>
  <a:pathLst>
    <a:path w="1705233" h="679622">
      <a:moveTo>
        <a:pt x="0" y="myGuide"/>
      </a:moveTo>
      <a:lnTo>
        <a:pt x="1705233" y="myGuide"/>
      </a:lnTo>
      <a:lnTo>
        <a:pt x="852616" y="0"/>
      </a:lnTo>
      <a:close/>
    </a:path>
  </a:pathLst>
</a:custGeom>

If however we change the guide to half that, namely 1/3. Then we see the entire bottom edge of the triangle move to now only occupy 1/3 of the toal space within the shape bounding box. This is because both of the bottom points in this triangle depend on this guide for their coordinate positions. The triangle and corresponding DrawingML shown below illustrate this point.

<a:gdLst>
  <a:gd name="myGuide" fmla="*/ h 1 3"/>
</a:gdLst>

Parent Elements

<avLst>5.1.11.5); <gdLst>5.1.11.12)

Attributes

Description

<fmla> (Shape Guide Formula)

Specifies the formula that will be used to calculate the value for a guide. Each formula has a certain number of arguments and a specific set of operations to perform on these arguments in order to generate a value for a guide. There are a total of 17 different formulas available. These are shown below with the usage for each defined.

Note:

The possible values for this attribute are defined by the ST_GeomGuideFormula simple type (§5.1.12.25).

<name> (Shape Guide Name)

Specifies the name that will be used to reference to this guide. This name may be used just as a variable would within an equation. That is this name may be substituted for literal values within other guides or the specification of the shape path.

The possible values for this attribute are defined by the ST_GeomGuideName simple type (§5.1.12.26).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_GeomGuide">
	<attribute name="name" type="ST_GeomGuideName" use="required"/>
	<attribute name="fmla" type="ST_GeomGuideFormula" use="required"/>
</complexType>