<?xml version="1.0"?>
<page id="Gimp.context_set_antialias"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_context_set_antialias</api:name>
      <api:arg>
        <api:type>bool</api:type>
        <api:name>antialias</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.context_set_antialias</title>
  <synopsis><code mime="text/x-python">
@accepts(bool)
@returns(bool)
def context_set_antialias(antialias):
    # Python wrapper for gimp_context_set_antialias()
  </code></synopsis>
  <p>Set the antialias setting.</p>  <p>Modifies the antialias setting. If antialiasing is turned on, the
edges of selected region will contain intermediate values which give
the appearance of a sharper, less pixelized edge. This should be set
as TRUE most of the time unless a binary-only selection is wanted.</p>  <p>This setting affects the following procedures:
<link xref="Gimp.Image.select_color"/>, <link xref="Gimp.Image.select_contiguous_color"/>,
<link xref="Gimp.Image.select_round_rectangle"/>, <link xref="Gimp.Image.select_ellipse"/>,
<link xref="Gimp.Image.select_polygon"/>, <link xref="Gimp.Image.select_item"/>,
<link xref="Gimp.Drawable.edit_bucket_fill"/>, <link xref="Gimp.Drawable.edit_stroke_item"/>,
<link xref="Gimp.Drawable.edit_stroke_selection"/>.</p>
  <p>Since 2.8</p>
<terms>
<item>
<title><code>antialias</code></title>
  <p>The antialias setting.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
