2003-02-12 02:00:12 +00:00
<Type Name= "RulerMetric" FullName= "Gtk.RulerMetric" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public struct RulerMetric" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
<Docs >
2004-11-05 21:25:40 +00:00
<summary > Information about measurement units on <see cref= "T:Gtk.Ruler" /> objects.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Gtk.RulerMetric Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gtk.RulerMetric</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > An empty/default RulerMetric.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Gtk.RulerMetric New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.RulerMetric</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Default constructor.</summary>
2004-11-05 21:25:40 +00:00
<param name= "raw" > A <see cref= "T:IntPtr" /> , pointer to the underlying C object.</param>
<returns > A <see cref= "T:Gtk.RulerMetric" /> </returns>
2004-09-06 14:51:09 +00:00
<remarks > For internal use only.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "MetricName" >
<MemberSignature Language= "C#" Value= "public string MetricName;" />
2003-02-12 02:00:12 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2004-02-26 18:46:28 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > The name of the units this ruler measures: one of Pixels, Inches, or Centimeters.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "Abbrev" >
<MemberSignature Language= "C#" Value= "public string Abbrev;" />
2003-02-12 02:00:12 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2004-02-26 18:46:28 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<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>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "PixelsPerUnit" >
<MemberSignature Language= "C#" Value= "public double PixelsPerUnit;" />
2003-02-12 02:00:12 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
2004-02-26 18:46:28 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > The conversion factor between pixels and the given unit for the ruler.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "RulerScale" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public double[] RulerScale;" />
2004-02-26 18:46:28 +00:00
<MemberType > Field</MemberType>
2003-02-12 02:00:12 +00:00
<ReturnValue >
2004-02-26 18:46:28 +00:00
<ReturnType > System.Double[]</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-09-06 14:51:09 +00:00
<summary > An array of possible scales for the ruler, dependent on the units chosen.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Subdivide" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int[] Subdivide;" />
2004-02-26 18:46:28 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32[]</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > How many sub-units to break up each ruler unit into.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
</Members>
2005-05-23 20:41:51 +00:00
</Type>