<Type Name="RulerMetric" FullName="Gtk.RulerMetric">
  <TypeSignature Language="C#" Maintainer="auto" Value="public struct RulerMetric" />
  <TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit RulerMetric extends System.ValueType" />
  <AssemblyInfo>
    <AssemblyName>gtk-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>2.12.0.0</AssemblyVersion>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.ValueType</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>Information about measurement units on <see cref="T:Gtk.Ruler" /> objects.</summary>
    <remarks />
  </Docs>
  <Members>
    <Member MemberName="Abbrev">
      <MemberSignature Language="C#" Value="public string Abbrev;" />
      <MemberSignature Language="ILAsm" Value=".field public string Abbrev" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The abbreviations for this metric's units: "Pi" for pixels, "In" for inches, "Cn" for centimeters.</summary>
        <remarks>"Cn" isn't a typo; that's how it's defined in Gtk+. See bugzilla.gnome.org bug 151944.</remarks>
      </Docs>
    </Member>
    <Member MemberName="MetricName">
      <MemberSignature Language="C#" Value="public string MetricName;" />
      <MemberSignature Language="ILAsm" Value=".field public string MetricName" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The name of the units this ruler measures: one of Pixels, Inches, or Centimeters.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="New">
      <MemberSignature Language="C#" Value="public static Gtk.RulerMetric New (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype Gtk.RulerMetric New(native int raw) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Gtk.RulerMetric</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">A <see cref="T:IntPtr" />, pointer to the underlying C object.</param>
        <summary>Default constructor.</summary>
        <returns>A <see cref="T:Gtk.RulerMetric" /></returns>
        <remarks>For internal use only.</remarks>
      </Docs>
    </Member>
    <Member MemberName="PixelsPerUnit">
      <MemberSignature Language="C#" Value="public double PixelsPerUnit;" />
      <MemberSignature Language="ILAsm" Value=".field public float64 PixelsPerUnit" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The conversion factor between pixels and the given unit for the ruler.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="RulerScale">
      <MemberSignature Language="C#" Value="public double[] RulerScale;" />
      <MemberSignature Language="ILAsm" Value=".field public float64[] RulerScale" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Double[]</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>An array of possible scales for the ruler, dependent on the units chosen.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Subdivide">
      <MemberSignature Language="C#" Value="public int[] Subdivide;" />
      <MemberSignature Language="ILAsm" Value=".field public int32[] Subdivide" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32[]</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>How many sub-units to break up each ruler unit into.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Zero">
      <MemberSignature Language="C#" Value="public static Gtk.RulerMetric Zero;" />
      <MemberSignature Language="ILAsm" Value=".field public static valuetype Gtk.RulerMetric Zero" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Gtk.RulerMetric</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>An empty/default RulerMetric.</summary>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>
