Lines Matching defs:coords
59 CoordArray coords;
63 wxHtmlImageMapAreaCell( celltype t, wxString &coords, double pixel_scale = 1.0);
86 coords.Add( (int)(pixel_scale * (double)wxAtoi( x.Left( i ).c_str())) );
89 coords.Add( (int)(pixel_scale * (double)wxAtoi( x.c_str())) );
100 l = coords[ 0 ];
101 t = coords[ 1 ];
102 r = coords[ 2 ];
103 b = coords[ 3 ];
115 l = coords[ 0 ];
116 t = coords[ 1 ];
117 r = coords[ 2 ];
127 if (coords.GetCount() >= 6)
132 int totalv = coords.GetCount() / 2;
134 int xval = coords[totalc - 2];
135 int yval = coords[totalc - 1];
139 if ((yval >= wherey) != (coords[pointer] >= wherey))
141 if ((xval >= wherex) == (coords[0] >= wherex))
148 (coords[0] - xval) /
149 (coords[pointer] - yval)) >= wherex) ? 1 : 0;
155 yval = coords[pointer];
159 while ((pointer < end) && (coords[pointer] >= wherey))
167 if ((coords[pointer - 3] >= wherex) ==
168 (coords[pointer - 1] >= wherex)) {
169 intersects += (coords[pointer - 3] >= wherex) ? 1 : 0;
174 ((coords[pointer - 3] - (coords[pointer - 2] - wherey) *
175 (coords[pointer - 1] - coords[pointer - 3]) /
176 (coords[pointer] - coords[pointer - 2])) >= wherex) ? 1 : 0;
181 while ((pointer < end) && (coords[pointer] < wherey))
189 if ((coords[pointer - 3] >= wherex) ==
190 (coords[pointer - 1] >= wherex))
192 intersects += (coords[pointer - 3] >= wherex) ? 1 : 0;
197 ((coords[pointer - 3] - (coords[pointer - 2] - wherey) *
198 (coords[pointer - 1] - coords[pointer - 3]) /
199 (coords[pointer] - coords[pointer - 2])) >= wherex) ? 1 : 0;
690 wxString coords = wxEmptyString;
695 coords = tag.GetParam(wxT("COORDS"));
699 cel = new wxHtmlImageMapAreaCell( wxHtmlImageMapAreaCell::POLY, coords, m_WParser->GetPixelScale() );
703 cel = new wxHtmlImageMapAreaCell( wxHtmlImageMapAreaCell::CIRCLE, coords, m_WParser->GetPixelScale() );
707 cel = new wxHtmlImageMapAreaCell( wxHtmlImageMapAreaCell::RECT, coords, m_WParser->GetPixelScale() );