Commits

Manfred Moitzi  committed 61a5b34

merged interfaces.rst and mixins.rst to mixins.rst

  • Participants
  • Parent commits f136ae7

Comments (0)

Files changed (4)

File doc/classes/interface.rst

-ViewBox Mixin
-=============
-
-.. autoclass:: svgwrite.mixins.ViewBox
-
-Methods
--------
-
-.. automethod:: svgwrite.mixins.ViewBox.viewbox
-
-.. automethod:: svgwrite.mixins.ViewBox.stretch
-
-.. automethod:: svgwrite.mixins.ViewBox.fit
-
-Transform Mixin
-===============
-
-.. autoclass:: svgwrite.mixins.Transform
-
-Methods
--------
-
-.. automethod:: svgwrite.mixins.Transform.translate
-
-.. automethod:: svgwrite.mixins.Transform.rotate
-
-.. automethod:: svgwrite.mixins.Transform.skewX
-
-.. automethod:: svgwrite.mixins.Transform.skewY
-
-.. automethod:: svgwrite.mixins.Transform.scale
-
-XLink Mixin
-===========
-
-.. autoclass:: svgwrite.mixins.XLink
-
-Methods
--------
-
-.. automethod:: svgwrite.mixins.XLink.set_href
-
-.. automethod:: svgwrite.mixins.XLink.set_xlink
-
-Set **xlink:actuate** and **xlink:type** by the index operator::
-
-    element['xlink:type'] = 'simple'
-    element['xlink:actuate'] = 'onLoad'

File doc/classes/mixins.rst

+ViewBox Mixin
+=============
+
+.. autoclass:: svgwrite.mixins.ViewBox
+
+.. automethod:: svgwrite.mixins.ViewBox.viewbox
+
+.. automethod:: svgwrite.mixins.ViewBox.stretch
+
+.. automethod:: svgwrite.mixins.ViewBox.fit
+
+Transform Mixin
+===============
+
+.. autoclass:: svgwrite.mixins.Transform
+
+.. automethod:: svgwrite.mixins.Transform.translate
+
+.. automethod:: svgwrite.mixins.Transform.rotate
+
+.. automethod:: svgwrite.mixins.Transform.skewX
+
+.. automethod:: svgwrite.mixins.Transform.skewY
+
+.. automethod:: svgwrite.mixins.Transform.scale
+
+XLink Mixin
+===========
+
+.. autoclass:: svgwrite.mixins.XLink
+
+.. automethod:: svgwrite.mixins.XLink.set_href
+
+.. automethod:: svgwrite.mixins.XLink.set_xlink
+
+Set **xlink:actuate** and **xlink:type** by the index operator::
+
+    element['xlink:type'] = 'simple'
+    element['xlink:actuate'] = 'onLoad'
+
 Presentation Mixin
 ==================
 
+.. autoclass:: svgwrite.mixins.Presentation
+
 .. automethod:: svgwrite.mixins.Presentation.fill
 
 .. seealso::
 
    valid for SVG Elements: animation, audio, desc, image, metadata, title, video
 
+.. autoclass:: svgwrite.mixins.MediaGroup
 
 .. automethod:: svgwrite.mixins.MediaGroup.viewport_fill
 
 Markers Mixin
 =============
 
+.. autoclass:: svgwrite.mixins.Markers
+
 .. automethod:: svgwrite.mixins.Markers.set_markers
 
 .. seealso::
 Clipping Mixin
 ==============
 
+.. autoclass:: svgwrite.mixins.Clipping
+
 .. automethod:: svgwrite.mixins.Clipping.clip_rect
 
 .. seealso:: http://www.w3.org/TR/SVG11/masking.html#OverflowAndClipProperties

File doc/index.rst

 .. toctree::
    :maxdepth: 1
 
-   classes/interface
    classes/mixins
 
 Indices and tables

File doc/overview.rst

 :class:`~svgwrite.filters.Filter`
 
 
-Interfaces and Mixins
----------------------
+Mixins
+------
 
-:class:`~svgwrite.mixins.ViewBox`, :class:`~svgwrite.mixins.Transform`,
+:class:`~svgwrite.mixins.ViewBox`,
+:class:`~svgwrite.mixins.Transform`,
 :class:`~svgwrite.mixins.XLink`,
-:class:`~svgwrite.mixins.Presentation`, :class:`~svgwrite.mixins.MediaGroup`,
-:class:`~svgwrite.mixins.Markers`, :class:`~svgwrite.mixins.Clipping`,
+:class:`~svgwrite.mixins.Presentation`,
+:class:`~svgwrite.mixins.MediaGroup`,
+:class:`~svgwrite.mixins.Markers`,
+:class:`~svgwrite.mixins.Clipping`,
 
 Common Attributes
 -----------------