Searched defs:point (Results 51 - 75 of 236) sorted by relevance

12345678910

/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
H A Dnon-kerned-drawing.cpp186 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument
204 float offset = point.x();
209 glyphs[i].y = point.y();
230 int offset = point.x();
237 // the y point is actually the bottom point of the text, turn it into the top
239 wxCoord ypoint = (wxCoord) (point.y() - height);
241 dc->DrawText(text, (wxCoord)point.x(), ypoint);
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
H A Dnon-kerned-drawing.cpp72 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument
82 float y = point.y() - font->fontMetrics().ascent();
83 float x = point.x();
87 // so we need to alter the coordinates to reflect their transformed point.
/external/webkit/Source/WebCore/rendering/
H A DHitTestResult.h60 IntPoint point() const { return m_point; } function in class:WebCore::HitTestResult
135 IntPoint m_localPoint; // A point in the local coordinate space of m_innerNonSharedNode's renderer. Allows us to efficiently
158 inline IntRect HitTestResult::rectForPoint(const IntPoint& point) const
160 return rectForPoint(point, m_topPadding, m_rightPadding, m_bottomPadding, m_leftPadding);
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGMarkerData.h83 void updateOutslope(const FloatPoint& point) argument
86 m_outslopePoints[1] = point;
117 void updateInslope(const FloatPoint& point) argument
120 m_inslopePoints[1] = point;
/external/zlib/examples/
H A Dzran.c14 An access point can be created at the start of any deflate block, by saving
18 point in the uncompressed stream. build_index() works by decompressing the
21 a new access point. If so, that point is saved in a data structure that
25 the latest accees point at or preceding that offset is located in the index.
45 more memory per access point, and also cannot be saved to file due to the
61 /* access point entry */
62 struct point { struct
69 /* access point list */
73 struct point *lis
[all...]
/external/chromium/chrome/browser/accessibility/
H A Dbrowser_accessibility.cc145 const gfx::Point& point) {
147 // most tightly encloses the specified point.
150 if (child->GetBoundsRect().Contains(point))
151 return child->BrowserAccessibilityForPoint(point);
144 BrowserAccessibilityForPoint( const gfx::Point& point) argument
/external/chromium/chrome/browser/chromeos/frame/
H A Dbubble_frame_view.cc126 int BubbleFrameView::NonClientHitTest(const gfx::Point& point) { argument
/external/chromium/chrome/browser/rlz/
H A Drlz.cc298 rlz_lib::AccessPoint point,
300 return rlz_lib::RecordProductEvent(product, point, event_id);
311 bool RLZTracker::GetAccessPointRlz(rlz_lib::AccessPoint point, argument
314 if (rlz_lib::CHROME_OMNIBOX == point) {
329 // of the access point.
330 DCHECK_EQ(rlz_lib::CHROME_OMNIBOX, point);
335 point, &cached_ommibox_rlz));
341 if (!rlz_lib::GetAccessPointRlz(point, str_rlz, rlz_lib::kMaxRlzLength, NULL))
344 if (rlz_lib::CHROME_OMNIBOX == point) {
297 RecordProductEvent(rlz_lib::Product product, rlz_lib::AccessPoint point, rlz_lib::Event event_id) argument
/external/chromium/chrome/browser/ui/views/frame/
H A Dbrowser_view_layout.cc20 #include "ui/gfx/point.h"
123 const gfx::Point& point) {
124 gfx::Point tabstrip_point(point);
130 const gfx::Point& point) {
138 gfx::Point point_in_browser_view_coords(point);
146 gfx::Point point_in_tabstrip_coords(point);
168 // If the point's y coordinate is below the top of the toolbar and otherwise
169 // within the bounds of this view, the point is considered to be within the
174 if (bv_bounds.Contains(point))
177 // If the point'
122 IsPositionInWindowCaption( const gfx::Point& point) argument
129 NonClientHitTest( const gfx::Point& point) argument
[all...]
/external/clang/test/Sema/
H A Dflexible-array-init.c39 struct point { struct
45 struct point points[]; // expected-note{{initialized flexible array member 'points' is here}}
/external/harfbuzz/tests/shaping/
H A Dmain.cpp113 HB_Error hb_getPointInOutline(HB_Font font, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb_uint32 *nPoints) argument
130 if (point > *nPoints)
133 *xpos = face->glyph->outline.points[point].x;
134 *ypos = face->glyph->outline.points[point].y;
/external/openssl/apps/
H A Decparam.c100 * -conv_form arg - specifies the point conversion form
273 "point conversion form \n");
480 const EC_POINT *point; local
508 if ((point = EC_GROUP_get0_generator(group)) == NULL)
510 if (!EC_POINT_point2bn(group, point,
559 BIO_printf(out, "\tEC_POINT *point = NULL;\n");
588 BIO_printf(out, "\tif (point == NULL)\n\t\tgoto err;\n");
595 BIO_printf(out, "\tif (!EC_GROUP_set_generator(group, point,"
602 BIO_printf(out, "\tif (point)\n\t\tEC_POINT_free(point);\
[all...]
/external/openssl/crypto/ec/
H A Dec_key.c300 EC_POINT *point = NULL; local
316 if ((point = EC_POINT_new(eckey->group)) == NULL)
325 /* testing whether pub_key * order is the point at infinity */
332 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx))
337 if (!EC_POINT_is_at_infinity(eckey->group, point))
352 if (!EC_POINT_mul(eckey->group, point, eckey->priv_key,
358 if (EC_POINT_cmp(eckey->group, point, eckey->pub_key,
369 if (point != NULL)
370 EC_POINT_free(point);
/external/openssl/crypto/x509v3/
H A Dv3_crld.c275 DIST_POINT *point = NULL; local
276 point = DIST_POINT_new();
277 if (!point)
283 ret = set_dist_point_name(&point->distpoint, ctx, cnf);
290 if (!set_reasons(&point->reasons, cnf->value))
295 point->CRLissuer =
297 if (!point->CRLissuer)
302 return point;
306 if (point)
307 DIST_POINT_free(point);
321 DIST_POINT *point; local
567 DIST_POINT *point; local
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DCameraSystem.java161 /** Returns the x position of the camera's look-at point. */
166 /** Returns the y position of the camera's look-at point. */
171 public boolean pointVisible(Vector2 point, float radius) { argument
175 if (Math.abs(mFocalPosition.x - point.x) < (width + radius)) {
176 if (Math.abs(mFocalPosition.y - point.y) < (height + radius)) {
/external/v8/src/
H A Dfixed-dtoa.cc213 // we simply switch the first digit to '1' and update the decimal-point
214 // (indicating that the point is now one digit to the right).
222 // The given fractionals number represents a fixed-point number with binary
223 // point at bit (-exponent).
229 // generated by this function might be updated, and the decimal-point variable
237 // 'fractionals' is a fixed-point number, with binary point at bit
239 // is a fixed-point number, with binary point at bit 'point'
243 int point = -exponent; local
271 int point = 128; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DFont.cpp127 void Font::drawText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const argument
137 drawTextUsingSVGFont(context, run, point, from, to);
143 return drawSimpleText(context, run, point, from, to);
145 return drawComplexText(context, run, point, from, to);
148 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const argument
163 drawEmphasisMarksForSimpleText(context, run, mark, point, from, to);
165 drawEmphasisMarksForComplexText(context, run, mark, point, from, to);
204 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const argument
208 return selectionRectForTextUsingSVGFont(run, point, h, from, to);
214 return selectionRectForSimpleText(run, point,
[all...]
H A DPathTraversalState.cpp167 float PathTraversalState::moveTo(const FloatPoint& point) argument
169 m_current = m_start = m_control1 = m_control2 = point;
173 float PathTraversalState::lineTo(const FloatPoint& point) argument
175 float distance = distanceLine(m_current, point);
176 m_current = m_control1 = m_control2 = point;
/external/webkit/Source/WebCore/platform/graphics/android/
H A DHarfbuzzSkia.cpp50 // HB_Fixed is a 26.6 fixed point format.
92 // in Chromium. However, Harfbuzz wants them in 26.6 fixed point format.
122 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb_uint32* resultingNumPoints) argument
136 if (point >= numPoints)
138 SkPoint* points = reinterpret_cast<SkPoint*>(fastMalloc(sizeof(SkPoint) * (point + 1)));
141 // Skia does let us get a single point from the path.
142 path.getPoints(points, point + 1);
143 *xPos = SkiaScalarToHarfbuzzFixed(points[point].fX);
144 *yPos = SkiaScalarToHarfbuzzFixed(points[point].fY);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DFontLinux.cpp82 const FloatPoint& point) const {
86 SkScalar x = SkFloatToScalar(point.x());
87 SkScalar y = SkFloatToScalar(point.y());
169 // Harfbuzz uses 26.6 fixed point values for pixel offsets. However, we don't
184 const FloatPoint& point, int from, int to) const
209 ComplexTextController controller(run, point.x(), this);
218 controller.reset(point.x() + controller.widthOfFullRun());
228 canvas->drawPosTextH(controller.glyphs(), controller.length() << 1, controller.xPositions(), point.y(), fillPaint);
234 canvas->drawPosTextH(controller.glyphs(), controller.length() << 1, controller.xPositions(), point.y(), strokePaint);
239 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, in
183 drawComplexText(GraphicsContext* gc, const TextRun& run, const FloatPoint& point, int from, int to) const argument
326 selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int height, int from, int to) const argument
[all...]
H A DHarfbuzzSkia.cpp54 // HB_Fixed is a 26.6 fixed point format.
105 // in Chromium. However, Harfbuzz wants them in 26.6 fixed point format.
139 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb_uint32* resultingNumPoints) argument
153 if (point >= static_cast<unsigned>(numPoints))
155 SkPoint* points = reinterpret_cast<SkPoint*>(fastMalloc(sizeof(SkPoint) * (point + 1)));
158 // Skia does let us get a single point from the path.
159 path.getPoints(points, point + 1);
160 *xPos = SkiaScalarToHarfbuzzFixed(points[point].fX);
161 *yPos = SkiaScalarToHarfbuzzFixed(points[point].fY);
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETurbulence.cpp278 unsigned char FETurbulence::calculateTurbulenceValueForPoint(PaintingData& paintingData, const FloatPoint& point)
312 FloatPoint noiseVector(point.x() * m_baseFrequencyX, point.y() * m_baseFrequencyY);
356 FloatPoint point; local
357 point.setY(filterRegion.y());
360 point.setY(point.y() + 1);
361 point.setX(filterRegion.x());
363 point.setX(point
[all...]
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DPathHaiku.cpp70 // FIXME: implement safe way to return current point of subpath.
76 bool Path::contains(const FloatPoint& point, WindRule rule) const argument
78 return m_path->Contains(point);
91 void Path::moveTo(const FloatPoint& point) argument
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPathSkia.cpp79 // FIXME: return current point of subpath.
84 bool Path::contains(const FloatPoint& point, WindRule rule) const argument
86 return SkPathContainsPoint(m_path, point,
100 void Path::moveTo(const FloatPoint& point) argument
102 m_path->moveTo(point);
105 void Path::addLineTo(const FloatPoint& point) argument
107 m_path->lineTo(point);
144 // Move to the start position (0 sweep means we add a single point).
249 bool Path::strokeContains(StrokeStyleApplier* applier, const FloatPoint& point) const
261 bool contains = SkPathContainsPoint(&strokePath, point,
[all...]
H A DSkiaUtils.cpp198 bool SkPathContainsPoint(SkPath* originalPath, const FloatPoint& point, SkPath::FillType ft) argument
211 // We can immediately return false if the point is outside the bounding
215 SkScalar fX = SkFloatToScalar(point.x());
216 SkScalar fY = SkFloatToScalar(point.y());
239 int x = static_cast<int>(floorf(point.x() / scale));
240 int y = static_cast<int>(floorf(point.y() / scale));

Completed in 474 milliseconds

12345678910