This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (c) 2010, The Barbarian Group | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that | |
the following conditions are met: | |
* Redistributions of source code must retain the above copyright notice, this list of conditions and | |
the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cinder/app/AppCocoaTouch.h" | |
#include "cinder/app/Renderer.h" | |
#include "cinder/Camera.h" | |
#include "cinder/CinderResources.h" | |
#include "cinder/ImageIo.h" | |
#include "cinder/gl/Texture.h" | |
#include <vector> | |
#include <map> | |
#include <list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cinder/app/AppNative.h" | |
#include "cinder/gl/TextureFont.h" | |
using namespace ci; | |
using namespace ci::app; | |
using namespace std; | |
const string text = "This is a long sentence that should split over a few good lines, hopefully!"; | |
class Application : public AppNative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* TESTING UNICODE FONT RENDERING WITH gl::TextureFont | |
* | |
* FOLLOW-UP QUESTION IN THE CINDER FORUM: | |
* https://forum.libcinder.org/#Topic/23286000001505051 | |
* | |
* COMMENTS: | |
* 1) IDEALLY, WE WOULD LIKE TO BE ABLE TO PRECALCULATE THE SIZE | |
* OF A TextBox AND TO COMPUTE ITS LAYOUT IN THE SAME PASS | |
* 2) THE CURRENT SYSTEM FOR DISPLAYING ARBITRARY SCALED TEXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Makefile | |
# | |
# The global Makefile for POCO [generated by mkrelease] | |
# | |
sinclude config.make | |
ifndef POCO_BASE | |
$(warning WARNING: POCO_BASE is not defined. Assuming current directory.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CppUnit | |
Foundation | |
XML | |
Util | |
Net | |
Zip | |
Data | |
Data/SQLite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Makefile | |
# | |
# The global Makefile for POCO [generated by mkrelease] | |
# | |
sinclude config.make | |
ifndef POCO_BASE | |
$(warning WARNING: POCO_BASE is not defined. Assuming current directory.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# $Id: //poco/1.4/build/config/Android#3 $ | |
# | |
# Android | |
# | |
# Make settings for Android NDK | |
# | |
# | |
# General Settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/System/Library/Fonts/CGFontCache.plist | |
/System/Library/Fonts/CGFontCacheFull_H_.plist | |
/System/Library/Fonts/CGFontCacheFull_UH_.plist | |
/System/Library/Fonts/CGFontCacheK48.plist | |
/System/Library/Fonts/CGFontCacheN72.plist | |
/System/Library/Fonts/CGFontCacheN82.plist | |
/System/Library/Fonts/CGFontCacheReduced_H_.plist | |
/System/Library/Fonts/CGFontCacheReduced_UH_.plist | |
/System/Library/Fonts/CGFontCache_H_.plist | |
/System/Library/Fonts/CGFontCache_UH_.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <tuple> | |
#include <iostream> | |
struct TestObject | |
{ | |
std::string s; | |
int i; | |
TestObject(const std::string &s, int i) |
OlderNewer