<!-- $XConsortium: DirectC.sgm /main/8 1996/09/08 20:39:11 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN202.rsml.1">
<RefMeta>
<RefEntryTitle>XmDirectionMatchPartial</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmDirectionMatchPartial</Function></RefName>
<RefPurpose>A function that checks for a specified direction component
<IndexTerm>
<Primary>XmDirectionMatchPartial</Primary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- -->
<!-- HISTORY-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Xm.h>
Boolean XmDirectionMatchPartial (<Replaceable>d1, d2, dmask</Replaceable>)
        XmDirection     <Replaceable>d1</Replaceable>;
        XmDirection     <Replaceable>d2</Replaceable>;
        XmDirection     <Replaceable>dmask</Replaceable>;
</FuncSynopsisInfo>
<FuncDef></FuncDef>
<void>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmDirectionMatchPartial</Function> compares <Symbol Role="Variable">d1</Symbol> and <Symbol Role="Variable">d2</Symbol> along the
direction component specified by <Symbol Role="Variable">dmask</Symbol>.
For example, if <Symbol Role="Variable">dmask</Symbol> equals <SystemItem Class="Constant">XmVERTICAL_MASK</SystemItem>, then
the function will compare only the vertical components of <Symbol Role="Variable">d1</Symbol>
and <Symbol Role="Variable">d2</Symbol>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">d1</Symbol></Term>
<ListItem>
<Para>Specifies an <StructName Role="typedef">XmDirection</StructName> value to check.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">d2</Symbol></Term>
<ListItem>
<Para>Specifies an <StructName Role="typedef">XmDirection</StructName> value to check.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">dmask</Symbol></Term>
<ListItem>
<Para>Specifies the direction component along which <Symbol Role="Variable">d1</Symbol> and <Symbol Role="Variable">d2</Symbol>
are to be checked. Appropriate values for <Symbol Role="Variable">dmask</Symbol> are
<SystemItem Class="Constant">XmHORIZONTAL_MASK</SystemItem>,
<SystemItem Class="Constant">XmVERTICAL_MASK</SystemItem>,
and
<SystemItem Class="Constant">XmPRECEDENCE_MASK</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN VALUES</Title>
<Para>Returns True if the <Symbol Role="Variable">d1</Symbol> and <Symbol Role="Variable">d2</Symbol> match in the component
specified by <Symbol Role="Variable">dmask</Symbol>; otherwise, returns False.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED INFORMATION</Title>
<Para>&cdeman.XmDirection;, &cdeman.XmDirectionMatch;,
&cdeman.XmDirectionToStringDirection;,
&cdeman.XmStringDirection;, and &cdeman.XmStringDirectionToDirection;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
