2003-09-17 21:56:59 +00:00
<Type Name= "DRect" FullName= "Art.DRect" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public struct DRect" />
2003-09-17 21:56:59 +00:00
<AssemblyInfo >
<AssemblyName > art-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-09-17 21:56:59 +00:00
</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 />
2009-01-08 16:34:10 +00:00
<Docs >
<summary > A Structure that suports rectangle with double coordinates.</summary>
<remarks />
</Docs>
2003-09-17 21:56:59 +00:00
<Members >
2009-01-08 16:34:10 +00:00
<Member MemberName= "AffineTransform" >
<MemberSignature Language= "C#" Value= "public void AffineTransform (Art.DRect src, double[] matrix);" />
<MemberType > Method</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2009-01-08 16:34:10 +00:00
<ReturnType > System.Void</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
2009-01-08 16:34:10 +00:00
<Parameter Name= "src" Type= "Art.DRect" />
<Parameter Name= "matrix" Type= "System.Double[]" />
2003-12-24 01:35:30 +00:00
</Parameters>
2003-09-17 21:56:59 +00:00
<Docs >
2009-01-08 16:34:10 +00:00
<param name= "src" > The source rectangle used to apply the transformation.</param>
<param name= "matrix" > A <see cref= "T:System.Double[]" /> with 6 elements containing the transformation's matrix.</param>
<summary > Applies an affine transformation to the src rectangle and initializes this one with the result.</summary>
<remarks > It finds the smallest rectangle enclosing the transformed src. The result is exactly the affine transformation of src when the matrix specifies an rectilinear affine transformation. otherwise its a conservative approximation.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public void Copy (Art.DRect src);" />
2003-09-17 21:56:59 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-08 16:34:10 +00:00
<ReturnType > System.Void</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
<Parameters >
2009-01-08 16:34:10 +00:00
<Parameter Name= "src" Type= "Art.DRect" />
2003-09-17 21:56:59 +00:00
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<param name= "src" > The <see cref= "T:Art.DRect" /> that is going to init the current one.</param>
<summary > Copies the values of the given rectangle, into this one.</summary>
<remarks > The current rectangle will be a clone of the given one.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "Empty" >
<MemberSignature Language= "C#" Value= "public int Empty ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Checks if the rectangle is empty.</summary>
<returns > True if the rectangle is empty, false otherwise.</returns>
<remarks > For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1.</remarks>
</Docs>
</Member>
<Member MemberName= "Intersect" >
<MemberSignature Language= "C#" Value= "public void Intersect (Art.DRect src1, Art.DRect src2);" />
2003-09-17 21:56:59 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2009-01-08 16:34:10 +00:00
<Parameter Name= "src1" Type= "Art.DRect" />
<Parameter Name= "src2" Type= "Art.DRect" />
2003-09-17 21:56:59 +00:00
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<param name= "src1" > The first source rectangle used.</param>
<param name= "src2" > The second source rectangle used.</param>
<summary > Finds the intersection of two rectangles and initializes the current one with the result.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Art.DRect New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Art.DRect</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
<summary > To be added</summary>
<returns > a <see cref= "T:Art.DRect" /> </returns>
<remarks > To be added</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "Svp" >
<MemberSignature Language= "C#" Value= "public void Svp (Art.SVP svp);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "svp" Type= "Art.SVP" />
</Parameters>
<Docs >
2005-02-23 19:01:51 +00:00
<param name= "svp" > The Sorted Vector Path.</param>
2009-01-08 16:34:10 +00:00
<summary > Finds the bounding box os a sorted vector path.</summary>
2005-02-23 19:01:51 +00:00
<remarks > The result is used to initialize the current instance.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "SvpUnion" >
<MemberSignature Language= "C#" Value= "public void SvpUnion (Art.SVP svp);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "svp" Type= "Art.SVP" />
</Parameters>
<Docs >
<param name= "svp" > a <see cref= "T:Art.SVP" /> </param>
2009-01-08 16:34:10 +00:00
<summary > Finds the bounding box to the Sorted Vector Path and then unifies the resulting rectangle with the current instance.</summary>
2005-02-23 19:01:51 +00:00
<remarks > The result is used to initialize the current instance.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "ToIrect" >
<MemberSignature Language= "C#" Value= "public static void ToIrect (Art.IRect dst, Art.DRect src);" />
2003-09-17 21:56:59 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2009-01-08 16:34:10 +00:00
<Parameter Name= "dst" Type= "Art.IRect" />
2003-09-17 21:56:59 +00:00
<Parameter Name= "src" Type= "Art.DRect" />
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<param name= "dst" > The newly created integer rectangle (<see cref= "T:Art.IRect" /> ).</param>
<param name= "src" > The source rectangle (<see cref= "T:Art.DRect" /> ).</param>
<summary > Converts the src rectangle into a interger one.</summary>
<remarks > The rouding is done using floor for x0 and y0 and ceil for x1 and y1.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "Union" >
<MemberSignature Language= "C#" Value= "public void Union (Art.DRect src1, Art.DRect src2);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "src1" Type= "Art.DRect" />
<Parameter Name= "src2" Type= "Art.DRect" />
</Parameters>
<Docs >
2005-02-23 19:01:51 +00:00
<param name= "src1" > The first source rectangle used.</param>
<param name= "src2" > The second source rectangle used.</param>
2009-01-08 16:34:10 +00:00
<summary > Finds the union of two rectangles and initializes the current one with the result.</summary>
2003-09-17 21:56:59 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "X0" >
<MemberSignature Language= "C#" Value= "public double X0;" />
<MemberType > Field</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2009-01-08 16:34:10 +00:00
<ReturnType > System.Double</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<summary > The first coordinate of the rectangle on the X axis.</summary>
2005-02-23 19:01:51 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "X1" >
<MemberSignature Language= "C#" Value= "public double X1;" />
2004-02-26 19:18:47 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<summary > The second coordinate of the rectangle on the X axis.</summary>
2005-02-23 19:01:51 +00:00
<remarks />
2004-02-26 19:18:47 +00:00
</Docs>
</Member>
<Member MemberName= "Y0" >
<MemberSignature Language= "C#" Value= "public double Y0;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The first coordinate of the rectangle on the Y axis.</summary>
<remarks />
2004-02-26 19:18:47 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "Y1" >
<MemberSignature Language= "C#" Value= "public double Y1;" />
2004-02-26 19:18:47 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<summary > The second coordinate of the rectangle on the Y axis.</summary>
2005-02-23 19:01:51 +00:00
<remarks />
2004-02-26 19:18:47 +00:00
</Docs>
</Member>
2009-01-08 16:34:10 +00:00
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Art.DRect Zero;" />
2004-02-26 19:18:47 +00:00
<MemberType > Field</MemberType>
<ReturnValue >
2009-01-08 16:34:10 +00:00
<ReturnType > Art.DRect</ReturnType>
2004-02-26 19:18:47 +00:00
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2009-01-08 16:34:10 +00:00
<summary > To be added</summary>
<remarks > To be added</remarks>
2004-02-26 19:18:47 +00:00
</Docs>
</Member>
2003-09-17 21:56:59 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>