#include <FloatPoint.h>
|
| FloatPoint () |
|
| FloatPoint (float x, float y) |
|
WEBCORE_EXPORT | FloatPoint (const IntPoint &) |
|
| FloatPoint (const FloatSize &size) |
|
float | x () const |
|
float | y () const |
|
void | setX (float x) |
|
void | setY (float y) |
|
void | set (float x, float y) |
|
void | move (float dx, float dy) |
|
void | move (const IntSize &a) |
|
void | move (const FloatSize &a) |
|
void | moveBy (const IntPoint &a) |
|
void | moveBy (const FloatPoint &a) |
|
void | scale (float scale) |
|
void | scale (float sx, float sy) |
|
WEBCORE_EXPORT void | normalize () |
|
float | dot (const FloatPoint &a) const |
|
float | slopeAngleRadians () const |
|
float | length () const |
|
float | lengthSquared () const |
|
WEBCORE_EXPORT FloatPoint | constrainedBetween (const FloatPoint &min, const FloatPoint &max) const |
|
FloatPoint | shrunkTo (const FloatPoint &other) const |
|
FloatPoint | expandedTo (const FloatPoint &other) const |
|
FloatPoint | transposedPoint () const |
|
WEBCORE_EXPORT FloatPoint | matrixTransform (const TransformationMatrix &) const |
|
WEBCORE_EXPORT FloatPoint | matrixTransform (const AffineTransform &) const |
|
| FloatPoint () |
|
| FloatPoint (float x, float y) |
|
WEBCORE_EXPORT | FloatPoint (const IntPoint &) |
|
| FloatPoint (const FloatSize &size) |
|
float | x () const |
|
float | y () const |
|
void | setX (float x) |
|
void | setY (float y) |
|
void | set (float x, float y) |
|
void | move (float dx, float dy) |
|
void | move (const IntSize &a) |
|
void | move (const FloatSize &a) |
|
void | moveBy (const IntPoint &a) |
|
void | moveBy (const FloatPoint &a) |
|
void | scale (float scale) |
|
void | scale (float sx, float sy) |
|
WEBCORE_EXPORT void | normalize () |
|
float | dot (const FloatPoint &a) const |
|
float | slopeAngleRadians () const |
|
float | length () const |
|
float | lengthSquared () const |
|
WEBCORE_EXPORT FloatPoint | constrainedBetween (const FloatPoint &min, const FloatPoint &max) const |
|
FloatPoint | shrunkTo (const FloatPoint &other) const |
|
FloatPoint | expandedTo (const FloatPoint &other) const |
|
FloatPoint | transposedPoint () const |
|
WEBCORE_EXPORT FloatPoint | matrixTransform (const TransformationMatrix &) const |
|
WEBCORE_EXPORT FloatPoint | matrixTransform (const AffineTransform &) const |
|
◆ FloatPoint() [1/8]
WebCore::FloatPoint::FloatPoint |
( |
| ) |
|
|
inline |
◆ FloatPoint() [2/8]
WebCore::FloatPoint::FloatPoint |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ FloatPoint() [3/8]
WebCore::FloatPoint::FloatPoint |
( |
const IntPoint & |
p | ) |
|
◆ FloatPoint() [4/8]
WebCore::FloatPoint::FloatPoint |
( |
const FloatSize & |
size | ) |
|
|
inlineexplicit |
◆ FloatPoint() [5/8]
WebCore::FloatPoint::FloatPoint |
( |
| ) |
|
|
inline |
◆ FloatPoint() [6/8]
WebCore::FloatPoint::FloatPoint |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ FloatPoint() [7/8]
◆ FloatPoint() [8/8]
WebCore::FloatPoint::FloatPoint |
( |
const FloatSize & |
size | ) |
|
|
inlineexplicit |
◆ constrainedBetween() [1/2]
◆ constrainedBetween() [2/2]
◆ dot() [1/2]
float WebCore::FloatPoint::dot |
( |
const FloatPoint & |
a | ) |
const |
|
inline |
◆ dot() [2/2]
float WebCore::FloatPoint::dot |
( |
const FloatPoint & |
a | ) |
const |
|
inline |
◆ expandedTo() [1/2]
◆ expandedTo() [2/2]
◆ length() [1/2]
float WebCore::FloatPoint::length |
( |
| ) |
const |
◆ length() [2/2]
float WebCore::FloatPoint::length |
( |
| ) |
const |
◆ lengthSquared() [1/2]
float WebCore::FloatPoint::lengthSquared |
( |
| ) |
const |
|
inline |
◆ lengthSquared() [2/2]
float WebCore::FloatPoint::lengthSquared |
( |
| ) |
const |
|
inline |
◆ matrixTransform() [1/4]
◆ matrixTransform() [2/4]
◆ matrixTransform() [3/4]
◆ matrixTransform() [4/4]
◆ move() [1/6]
void WebCore::FloatPoint::move |
( |
float |
dx, |
|
|
float |
dy |
|
) |
| |
|
inline |
◆ move() [2/6]
void WebCore::FloatPoint::move |
( |
float |
dx, |
|
|
float |
dy |
|
) |
| |
|
inline |
◆ move() [3/6]
◆ move() [4/6]
◆ move() [5/6]
◆ move() [6/6]
◆ moveBy() [1/4]
◆ moveBy() [2/4]
◆ moveBy() [3/4]
◆ moveBy() [4/4]
◆ narrowPrecision() [1/2]
FloatPoint WebCore::FloatPoint::narrowPrecision |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
static |
◆ narrowPrecision() [2/2]
static FloatPoint WebCore::FloatPoint::narrowPrecision |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
static |
◆ normalize() [1/2]
◆ normalize() [2/2]
void WebCore::FloatPoint::normalize |
( |
| ) |
|
◆ scale() [1/4]
void WebCore::FloatPoint::scale |
( |
float |
scale | ) |
|
|
inline |
◆ scale() [2/4]
void WebCore::FloatPoint::scale |
( |
float |
scale | ) |
|
|
inline |
◆ scale() [3/4]
void WebCore::FloatPoint::scale |
( |
float |
sx, |
|
|
float |
sy |
|
) |
| |
|
inline |
◆ scale() [4/4]
void WebCore::FloatPoint::scale |
( |
float |
sx, |
|
|
float |
sy |
|
) |
| |
|
inline |
◆ set() [1/2]
void WebCore::FloatPoint::set |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ set() [2/2]
void WebCore::FloatPoint::set |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ setX() [1/2]
void WebCore::FloatPoint::setX |
( |
float |
x | ) |
|
|
inline |
◆ setX() [2/2]
void WebCore::FloatPoint::setX |
( |
float |
x | ) |
|
|
inline |
◆ setY() [1/2]
void WebCore::FloatPoint::setY |
( |
float |
y | ) |
|
|
inline |
◆ setY() [2/2]
void WebCore::FloatPoint::setY |
( |
float |
y | ) |
|
|
inline |
◆ shrunkTo() [1/2]
◆ shrunkTo() [2/2]
◆ slopeAngleRadians() [1/2]
float WebCore::FloatPoint::slopeAngleRadians |
( |
| ) |
const |
◆ slopeAngleRadians() [2/2]
float WebCore::FloatPoint::slopeAngleRadians |
( |
| ) |
const |
◆ transposedPoint() [1/2]
FloatPoint WebCore::FloatPoint::transposedPoint |
( |
| ) |
const |
|
inline |
◆ transposedPoint() [2/2]
FloatPoint WebCore::FloatPoint::transposedPoint |
( |
| ) |
const |
|
inline |
◆ x() [1/2]
float WebCore::FloatPoint::x |
( |
| ) |
const |
|
inline |
◆ x() [2/2]
float WebCore::FloatPoint::x |
( |
| ) |
const |
|
inline |
◆ y() [1/2]
float WebCore::FloatPoint::y |
( |
| ) |
const |
|
inline |
◆ y() [2/2]
float WebCore::FloatPoint::y |
( |
| ) |
const |
|
inline |
◆ zero() [1/2]
◆ zero() [2/2]
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/WebCore.framework/Versions/A/PrivateHeaders/FloatPoint.h
- Source/WebCore/platform/graphics/FloatPoint.cpp