1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>PP_TouchPoint Struct Reference</h1>
4 <!-- Generated by Doxygen 1.7.6.1 -->
10 <!-- doxytag: class="PP_TouchPoint" --><h2>
11 Data Fields</h2><table class="memberdecls">
13 <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___touch_point.html#a27542ca67fc89c4fe41050750b80fc3b">id</a></td></tr>
14 <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_p_p___float_point.html">PP_FloatPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___touch_point.html#a5c2dfab481eaafbd40c9b837fc6f9106">position</a></td></tr>
15 <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_p_p___float_point.html">PP_FloatPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___touch_point.html#abcf813398210aaeaa587858f90139292">radius</a></td></tr>
16 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___touch_point.html#a8861a485f64399c787093d7fbf609b89">rotation_angle</a></td></tr>
17 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___touch_point.html#a3af90cd7d4415434a1f18a23eb28b2d9">pressure</a></td></tr>
19 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
20 <div class="textblock"><p>The <code><a class="el" href="struct_p_p___touch_point.html" title="The PP_TouchPoint struct represents all information about a single touch point, such as position...">PP_TouchPoint</a></code> struct represents all information about a single touch point, such as position, id, rotation angle, and pressure. </p>
21 </div><hr /><h2>Field Documentation</h2>
22 <a class="anchor" id="a27542ca67fc89c4fe41050750b80fc3b"></a><!-- doxytag: member="PP_TouchPoint::id" ref="a27542ca67fc89c4fe41050750b80fc3b" args="" -->
24 <div class="memproto">
25 <table class="memname">
27 <td class="memname">uint32_t <a class="el" href="struct_p_p___touch_point.html#a27542ca67fc89c4fe41050750b80fc3b">PP_TouchPoint::id</a></td>
32 <p>This value represents the identifier for this TouchPoint. </p>
33 <p>The id corresponds to the order in which the points were pressed. For example, the first point to be pressed has an id of 0, the second has an id of 1, and so on. An id can be reused when a touch point is released. For example, if two fingers are down, with id 0 and 1, and finger 0 releases, the next finger to be pressed can be assigned to id 0. </p>
36 <a class="anchor" id="a5c2dfab481eaafbd40c9b837fc6f9106"></a><!-- doxytag: member="PP_TouchPoint::position" ref="a5c2dfab481eaafbd40c9b837fc6f9106" args="" -->
38 <div class="memproto">
39 <table class="memname">
41 <td class="memname">struct <a class="el" href="struct_p_p___float_point.html">PP_FloatPoint</a> <a class="el" href="struct_p_p___touch_point.html#a5c2dfab481eaafbd40c9b837fc6f9106">PP_TouchPoint::position</a></td>
46 <p>This value represents the x and y pixel position of this TouchPoint relative to the upper-left of the module instance receiving the event. </p>
49 <a class="anchor" id="a3af90cd7d4415434a1f18a23eb28b2d9"></a><!-- doxytag: member="PP_TouchPoint::pressure" ref="a3af90cd7d4415434a1f18a23eb28b2d9" args="" -->
51 <div class="memproto">
52 <table class="memname">
54 <td class="memname">float <a class="el" href="struct_p_p___touch_point.html#a3af90cd7d4415434a1f18a23eb28b2d9">PP_TouchPoint::pressure</a></td>
59 <p>This value represents the pressure applied to this TouchPoint. </p>
60 <p>This value is typically between 0 and 1, with 0 indicating no pressure and 1 indicating some maximum pressure. Scaling differs depending on the hardware and the value is not guaranteed to stay within that range. </p>
63 <a class="anchor" id="abcf813398210aaeaa587858f90139292"></a><!-- doxytag: member="PP_TouchPoint::radius" ref="abcf813398210aaeaa587858f90139292" args="" -->
65 <div class="memproto">
66 <table class="memname">
68 <td class="memname">struct <a class="el" href="struct_p_p___float_point.html">PP_FloatPoint</a> <a class="el" href="struct_p_p___touch_point.html#abcf813398210aaeaa587858f90139292">PP_TouchPoint::radius</a></td>
73 <p>This value represents the elliptical radii, in screen pixels, in the x and y direction of this TouchPoint. </p>
76 <a class="anchor" id="a8861a485f64399c787093d7fbf609b89"></a><!-- doxytag: member="PP_TouchPoint::rotation_angle" ref="a8861a485f64399c787093d7fbf609b89" args="" -->
78 <div class="memproto">
79 <table class="memname">
81 <td class="memname">float <a class="el" href="struct_p_p___touch_point.html#a8861a485f64399c787093d7fbf609b89">PP_TouchPoint::rotation_angle</a></td>
86 <p>This value represents the angle of rotation in degrees of the elliptical model of this TouchPoint clockwise from "up.". </p>
89 <hr />The documentation for this struct was generated from the following file:<ul>
90 <li><a class="el" href="pp__touch__point_8h.html">pp_touch_point.h</a></li>
92 </div><!-- contents -->
93 {{/partials.standard_nacl_article}}