|
template<typename PointOrRect > |
static PointOrRect | unscaledScreenPosToScaled (float scale, PointOrRect pos) noexcept |
|
template<typename PointOrRect > |
static PointOrRect | scaledScreenPosToUnscaled (float scale, PointOrRect pos) noexcept |
|
static Rectangle< int > | unscaledScreenPosToScaled (float scale, Rectangle< int > pos) noexcept |
|
static Rectangle< int > | scaledScreenPosToUnscaled (float scale, Rectangle< int > pos) noexcept |
|
template<typename PointOrRect > |
static PointOrRect | unscaledScreenPosToScaled (PointOrRect pos) noexcept |
|
template<typename PointOrRect > |
static PointOrRect | scaledScreenPosToUnscaled (PointOrRect pos) noexcept |
|
template<typename PointOrRect > |
static PointOrRect | unscaledScreenPosToScaled (const Component &comp, PointOrRect pos) noexcept |
|
template<typename PointOrRect > |
static PointOrRect | scaledScreenPosToUnscaled (const Component &comp, PointOrRect pos) noexcept |
|
static Point< int > | addPosition (Point< int > p, const Component &c) noexcept |
|
static Rectangle< int > | addPosition (Rectangle< int > p, const Component &c) noexcept |
|
static Point< float > | addPosition (Point< float > p, const Component &c) noexcept |
|
static Rectangle< float > | addPosition (Rectangle< float > p, const Component &c) noexcept |
|
static Point< int > | subtractPosition (Point< int > p, const Component &c) noexcept |
|
static Rectangle< int > | subtractPosition (Rectangle< int > p, const Component &c) noexcept |
|
static Point< float > | subtractPosition (Point< float > p, const Component &c) noexcept |
|
static Rectangle< float > | subtractPosition (Rectangle< float > p, const Component &c) noexcept |
|
◆ addPosition() [1/4]
◆ addPosition() [2/4]
◆ addPosition() [3/4]
◆ addPosition() [4/4]
◆ scaledScreenPosToUnscaled() [1/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::scaledScreenPosToUnscaled |
( |
float |
scale, |
|
|
PointOrRect |
pos |
|
) |
| |
|
inlinestaticnoexcept |
◆ scaledScreenPosToUnscaled() [2/4]
static Rectangle<int> juce::ScalingHelpers::scaledScreenPosToUnscaled |
( |
float |
scale, |
|
|
Rectangle< int > |
pos |
|
) |
| |
|
inlinestaticnoexcept |
◆ scaledScreenPosToUnscaled() [3/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::scaledScreenPosToUnscaled |
( |
PointOrRect |
pos | ) |
|
|
inlinestaticnoexcept |
◆ scaledScreenPosToUnscaled() [4/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::scaledScreenPosToUnscaled |
( |
const Component & |
comp, |
|
|
PointOrRect |
pos |
|
) |
| |
|
inlinestaticnoexcept |
◆ subtractPosition() [1/4]
◆ subtractPosition() [2/4]
◆ subtractPosition() [3/4]
◆ subtractPosition() [4/4]
◆ unscaledScreenPosToScaled() [1/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::unscaledScreenPosToScaled |
( |
float |
scale, |
|
|
PointOrRect |
pos |
|
) |
| |
|
inlinestaticnoexcept |
◆ unscaledScreenPosToScaled() [2/4]
static Rectangle<int> juce::ScalingHelpers::unscaledScreenPosToScaled |
( |
float |
scale, |
|
|
Rectangle< int > |
pos |
|
) |
| |
|
inlinestaticnoexcept |
◆ unscaledScreenPosToScaled() [3/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::unscaledScreenPosToScaled |
( |
PointOrRect |
pos | ) |
|
|
inlinestaticnoexcept |
◆ unscaledScreenPosToScaled() [4/4]
template<typename PointOrRect >
static PointOrRect juce::ScalingHelpers::unscaledScreenPosToScaled |
( |
const Component & |
comp, |
|
|
PointOrRect |
pos |
|
) |
| |
|
inlinestaticnoexcept |
The documentation for this struct was generated from the following file: