JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h} Namespace Reference

Functions

template<typename PointType >
CGPoint convertToCGPoint (PointType p) noexcept
 
template<class RectType >
CGRect convertToCGRect (RectType r) noexcept
 
template<class PointType >
Point< floatconvertToPointFloat (PointType p) noexcept
 
template<class RectType >
Rectangle< floatconvertToRectFloat (RectType r) noexcept
 
template<class RectType >
Rectangle< intconvertToRectInt (RectType r) noexcept
 
NSPoint flippedScreenPoint (NSPoint p) noexcept
 
NSRect flippedScreenRect (NSRect r) noexcept
 
CGFloat getMainScreenHeight () noexcept
 
template<class PointType >
Point< introundToIntPoint (PointType p) noexcept
 

Function Documentation

◆ convertToCGPoint()

template<typename PointType >
CGPoint juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::convertToCGPoint ( PointType  p)
noexcept

References juce::gl::p.

◆ convertToCGRect()

template<class RectType >
CGRect juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::convertToCGRect ( RectType  r)
noexcept

◆ convertToPointFloat()

template<class PointType >
Point<float> juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::convertToPointFloat ( PointType  p)
noexcept

References juce::gl::p.

◆ convertToRectFloat()

template<class RectType >
Rectangle<float> juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::convertToRectFloat ( RectType  r)
noexcept

References juce::gl::r.

◆ convertToRectInt()

template<class RectType >
Rectangle<int> juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::convertToRectInt ( RectType  r)
noexcept

References int(), and juce::gl::r.

◆ flippedScreenPoint()

NSPoint juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::flippedScreenPoint ( NSPoint  p)
inlinenoexcept

◆ flippedScreenRect()

NSRect juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::flippedScreenRect ( NSRect  r)
inlinenoexcept

◆ getMainScreenHeight()

CGFloat juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::getMainScreenHeight ( )
inlinenoexcept

References juce::gl::count.

Referenced by flippedScreenPoint(), and flippedScreenRect().

◆ roundToIntPoint()

template<class PointType >
Point<int> juce::anonymous_namespace{juce_mac_CoreGraphicsHelpers.h}::roundToIntPoint ( PointType  p)
noexcept

References juce::gl::p, and juce::roundToInt().