Searched refs:FloatPoint (Results 126 - 150 of 329) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGDocumentExtensions.h24 #include "platform/geometry/FloatPoint.h"
84 void startPan(const FloatPoint& start);
85 void updatePan(const FloatPoint& pos) const;
105 FloatPoint m_translate;
H A DSVGPointTearOff.cpp70 FloatPoint point = target()->matrixTransform(matrix->value());
H A DSVGTransform.cpp55 SVGTransform::SVGTransform(SVGTransformType transformType, float angle, const FloatPoint& center, const AffineTransform& matrix)
101 FloatPoint SVGTransform::translate() const
103 return FloatPoint::narrowPrecision(m_matrix.e(), m_matrix.f());
110 m_center = FloatPoint();
125 m_center = FloatPoint(cx, cy);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DWidget.cpp94 FloatPoint Widget::convertFromContainingWindow(const FloatPoint& windowPoint) const
97 // FloatPoint values within them (eg. for event co-ordinates).
99 FloatPoint parentPoint = this->convertFromContainingWindow(flooredPoint);
103 // FIXME: Add FloatPoint variants of all co-ordinate space conversion APIs.
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineTextBox.cpp225 FloatPoint startingPoint = FloatPoint(logicalLeft(), selTop.toFloat());
345 FloatPoint boxOrigin = locationIncludingFlipping();
436 FloatPoint boxOrigin = locationIncludingFlipping();
459 FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent());
594 void InlineTextBox::paintSelection(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font, Color textColor)
631 FloatPoint localOrigin(boxOrigin.x(), boxOrigin.y() - deltaY);
652 void InlineTextBox::paintSingleCompositionBackgroundRun(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font, Color backgroundColor, int startPos, int endPos)
661 FloatPoint localOrigi
[all...]
H A DLayoutState.cpp59 FloatPoint fixedOffset = renderer.view()->localToAbsolute(FloatPoint(), IsFixed);
120 FloatPoint absContentPoint = container->localToAbsolute(FloatPoint(), UseTransforms);
H A DRenderCombineText.h34 void adjustTextOrigin(FloatPoint& textOrigin, const FloatRect& boxRect) const;
H A DTextPainter.h10 #include "platform/geometry/FloatPoint.h"
31 TextPainter(GraphicsContext*, const Font&, const TextRun&, const FloatPoint& textOrigin, const FloatRect& textBounds, bool horizontal);
80 FloatPoint m_textOrigin;
H A DEllipsisBox.cpp42 FloatPoint boxOrigin = locationIncludingFlipping();
43 boxOrigin.moveBy(FloatPoint(paintOffset));
50 FloatPoint textOrigin(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent());
109 void EllipsisBox::paintSelection(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font)
126 const FloatPoint localOrigin(boxOrigin.x(), boxOrigin.y() - deltaY);
147 FloatPoint boxOrigin = locationIncludingFlipping();
H A DInlineBox.cpp41 FloatPoint b;
309 FloatPoint InlineBox::locationIncludingFlipping()
312 return FloatPoint(x(), y());
315 return FloatPoint(x(), block.height() - height() - y());
317 return FloatPoint(block.width() - width() - x(), y());
327 FloatPoint InlineBox::flipForWritingMode(const FloatPoint& point)
H A DHitTestLocation.cpp43 HitTestLocation::HitTestLocation(const FloatPoint& point)
53 HitTestLocation::HitTestLocation(const FloatPoint& point, const FloatQuad& quad)
155 bool HitTestLocation::containsPoint(const FloatPoint& point) const
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DObjectPainter.cpp317 FloatPoint quad[4];
320 quad[0] = FloatPoint(x1 + std::max(-adjacentWidth1, 0), y1);
321 quad[1] = FloatPoint(x1 + std::max(adjacentWidth1, 0), y2);
322 quad[2] = FloatPoint(x2 - std::max(adjacentWidth2, 0), y2);
323 quad[3] = FloatPoint(x2 - std::max(-adjacentWidth2, 0), y1);
326 quad[0] = FloatPoint(x1 + std::max(adjacentWidth1, 0), y1);
327 quad[1] = FloatPoint(x1 + std::max(-adjacentWidth1, 0), y2);
328 quad[2] = FloatPoint(x2 - std::max(-adjacentWidth2, 0), y2);
329 quad[3] = FloatPoint(x2 - std::max(adjacentWidth2, 0), y1);
332 quad[0] = FloatPoint(x
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGViewportContainer.h56 virtual bool pointIsInsideViewportClip(const FloatPoint& pointInParent) OVERRIDE;
H A DRenderSVGContainer.h70 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) OVERRIDE;
78 virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/) { return true; }
H A DSVGInlineTextBox.h74 virtual void paintDocumentMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&, bool) OVERRIDE FINAL;
75 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&) OVERRIDE FINAL;
H A DSVGTextQuery.cpp279 FloatPoint startPosition;
291 data->startPosition = FloatPoint(fragment.x, fragment.y);
310 FloatPoint SVGTextQuery::startPositionOfCharacter(unsigned position) const
325 FloatPoint endPosition;
337 data->endPosition = FloatPoint(fragment.x, fragment.y);
354 FloatPoint SVGTextQuery::endPositionOfCharacter(unsigned position) const
417 extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor));
470 CharacterNumberAtPositionData(const FloatPoint& queryPosition)
475 FloatPoint position;
508 int SVGTextQuery::characterNumberAtPosition(const FloatPoint
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
H A DSVGImageForContainer.cpp43 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGeneratedImage.h52 const FloatSize&, const FloatPoint&, CompositeOperator,
H A DGradientGeneratedImage.h53 const FloatSize&, const FloatPoint&, CompositeOperator,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEGaussianBlur.cpp81 IntSize FEGaussianBlur::calculateUnscaledKernelSize(const FloatPoint& std)
101 IntSize FEGaussianBlur::calculateKernelSize(Filter* filter, const FloatPoint& std)
103 FloatPoint stdError(filter->applyHorizontalScale(std.x()), filter->applyVerticalScale(std.y()));
111 IntSize kernelSize = calculateKernelSize(filter(), FloatPoint(m_stdX, m_stdY));
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DVTTRegion.h38 #include "platform/geometry/FloatPoint.h"
133 FloatPoint m_regionAnchor;
134 FloatPoint m_viewportAnchor;
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGradientValue.cpp169 FloatPoint gradientStart = gradient->p0();
170 FloatPoint gradientEnd;
339 FloatPoint p0 = gradient->p0();
340 FloatPoint p1 = gradient->p1();
341 gradient->setP0(FloatPoint(p0.x() + firstOffset * (p1.x() - p0.x()), p0.y() + firstOffset * (p1.y() - p0.y())));
342 gradient->setP1(FloatPoint(p1.x() + (lastOffset - 1) * (p1.x() - p0.x()), p1.y() + (lastOffset - 1) * (p1.y() - p0.y())));
439 FloatPoint CSSGradientValue::computeEndPoint(CSSPrimitiveValue* horizontal, CSSPrimitiveValue* vertical, const CSSToLengthConversionData& conversionData, const IntSize& size)
441 FloatPoint result;
597 static void endPointsFromAngle(float angleDeg, const IntSize& size, FloatPoint& firstPoint, FloatPoint
[all...]
/external/chromium_org/ppapi/cpp/
H A Drect.h464 /// A constructor accepting a pointer to a <code>FloatPoint</code>
468 /// @param[in] origin A pointer to a <code>FloatPoint</code> representing the
472 FloatRect(const FloatPoint& origin, const FloatSize& size) {
509 /// @return The value of x for this <code>FloatPoint</code>.
523 /// @return The value of y for this <code>FloatPoint</code>.
571 /// Getter function for returning the <code>FloatPoint</code>.
573 /// @return A <code>FloatPoint</code>.
574 FloatPoint point() const {
575 return FloatPoint(rect_.point);
578 /// Setter function for setting the value of the <code>FloatPoint</cod
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontComplexTextMac.cpp47 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h,
93 float Font::drawComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& point) const
113 FloatPoint startPoint(startX, point.y());
117 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const
125 drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y()));
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DLayoutPoint.h34 #include "platform/geometry/FloatPoint.h"
45 explicit LayoutPoint(const FloatPoint& size) : m_x(size.x()), m_y(size.y()) { }
171 inline LayoutPoint flooredLayoutPoint(const FloatPoint& p)
176 inline LayoutPoint ceiledLayoutPoint(const FloatPoint& p)
186 inline LayoutPoint roundedLayoutPoint(const FloatPoint& p)
198 return flooredLayoutPoint(FloatPoint(s));

Completed in 564 milliseconds

1234567891011>>