Cinder  0.9.1
Namespaces | Macros | Functions
WinRTUtils.cpp File Reference
#include "cinder/winrt/WinRTUtils.h"
#include "cinder/Exception.h"
#include <math.h>
#include <atomic>
#include <sstream>
#include <ppltasks.h>

Namespaces

 cinder
 
 cinder::winrt
 

Macros

#define DEFAULT_DPI   96.0f;
 

Functions

float cinder::winrt::ConvertDipsToPixels (float dips)
 
void cinder::winrt::WinRTMessageBox (Platform::String^message, Platform::String^buttonText)
 
void cinder::winrt::GetPlatformWindowDimensions (Windows::UI::Core::CoreWindow^wnd, float *width, float *height)
 
std::string cinder::winrt::PlatformStringToString (Platform::String^path)
 
Platform::String cinder::winrt::toPlatformString (const std::string &utf8)
 
bool cinder::winrt::ensureUnsnapped ()
 
float cinder::winrt::getScaleFactor ()
 
float cinder::winrt::getScaledDPIValue (float v)
 
void cinder::winrt::deleteFileAsync (const sys::path &path)
 
Concurrency::task< StorageFile^> cinder::winrt::copyFileToTempDirAsync (const sys::path &path)
 
std::string cinder::winrt::getUniqueIDString ()
 
int cinder::winrt::getUniqueID ()
 

Macro Definition Documentation

#define DEFAULT_DPI   96.0f;