-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile error #146
Open
caffeine22333
wants to merge
31
commits into
cpp-io2d:master
Choose a base branch
from
cristianadam:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
compile error #146
Conversation
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
Doesn't compile. Has a few classes ported.
- it was very early stages - it is still part of the git history
- added cairo cmake build support - added hello world example Tested with Visual C++ 2015
…r functions to improve usability (removed origin argument, added default identity matrix value for matrix_2d arguments and made it so that the Mask Brush behaves similar to the source brush).
…sn't seem to have any use cases. Modified entrypoint.cpp to include Hello World code that is in the paper. Changed the default font size to 16, which required changes to ctors in display_surface, image_surface, and surface.
…_test -> Variable_templates_conditional_support_test.
…ly deal with variable template conditional support test.
…e, display_surface::desired_frame_rate, and display_surface::elapsed_draw_time.
…e slicing problem that existed with the previous simple_font_face design) and add support for glyphs and clusters (including adding outlines of text/glyphs to a path). Fixed issue with refresh_rate::fixed - the display_surface now internally uses nanoseconds rather than milliseconds or microseconds which fixes the problem where the accumulated elapsed time was updating slowly and sporadically because the elapsed time between calls to the message loop were often too small and thus ended up being truncated to zero by the duration_cast. Fixed two code analysis warnings in image_surface.cpp. Modified the variable template macro to use the correct value for _MSC_FULL_VER (note that IntelliSense shows an error for constexpr in the variable templates but that the pi-based variable templates actually compile and work fine in VS 2015 Update 2).
…on-default move assignment operators for font_resource_factory and glyph_run because libstdc++ (5.0) improperly implements the std::string move assignment operator (the bug is noted in the libstdc++ header file). Had to fix two improperly qualified type usages in io2d.h.
…e Xlib interface.
… correct font size. Minor change to the vcxproj to allow for a VS 2015 code map. Edited entrypoint.cpp to show the canonical "hello world" example. Edited the run-configure-with-* for GCC to use "-std=c++14" instead of "-std=c++1y" in response to issue cpp-io2d#32 (note: not yet tested by me).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
io2d-master/io2d/src/../include/io2d.h:509:20:
inline double operator""_ubyte(unsigned long long value)
should be this:
inline double operator "" _ubyte(unsigned long long value)