Example of using half-pixel coordinates with SVG.
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 <QCoreApplication> | |
#include <QTimer> | |
struct Test : public QObject | |
{ | |
void foo() {} | |
}; | |
int main(int argc, char *argv[]) | |
{ |
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 <type_traits> | |
#include <iostream> | |
struct S { | |
int operator()(int) { return 1; } | |
}; | |
int normal(int) { return 1;} | |
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
diff --git a/Jamroot b/Jamroot | |
index d1b3c3a..779fe54 100644 | |
--- a/Jamroot | |
+++ b/Jamroot | |
@@ -136,6 +136,8 @@ constant BOOST_JAMROOT_MODULE : $(__name__) ; | |
boostcpp.set-version $(BOOST_VERSION) ; | |
+use-project /boost/architecture : libs/config/checks/architecture ; | |
+ |
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
import notfile ; | |
exe hello : hello.cpp ; | |
notfile install : @postinstall : install-really ; | |
install install-really : hello : <location>dist ; | |
explicit install-really ; | |
actions postinstall | |
{ |
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 <pebble.h> | |
#include <pebble_fonts.h> | |
static Window *window; | |
static Layer *left; | |
static TextLayer *right; | |
static GFont font; | |
static void draw_left(Layer *layer, GContext *ctx) { |
NewerOlder