diff --git a/CHANGELOG.md b/CHANGELOG.md index fda74b0..458fa30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [4.x.x] - xxxx-xx-xx +## [4.0.2] - 2021-12-24 ### Added - `Image::IsLoaded()` - `Wave::IsLoaded()` diff --git a/CMakeLists.txt b/CMakeLists.txt index 66b0dc6..fc49461 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.11) set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") project (raylib-cpp - VERSION 4.0.1 + VERSION 4.0.2 DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib" HOMEPAGE_URL "https://github.com/robloach/raylib-cpp" LANGUAGES C CXX) diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html index 8f7989f..2e3e48d 100644 --- a/docs/_color_8hpp_source.html +++ b/docs/_color_8hpp_source.html @@ -188,7 +188,7 @@ $(function() {
157 
158  inline Color& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
159  float fontSize, float spacing) {
-
160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
+
160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
161  return *this;
162  }
163 
@@ -200,7 +200,7 @@ $(function() {
169  float rotation,
170  float fontSize,
171  float spacing) {
-
172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
+
172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
173  return *this;
174  }
175 
@@ -289,6 +289,7 @@ $(function() {
raylib::Vector3
Vector3 type.
Definition: Vector3.hpp:16
raylib::Color::ToInt
int ToInt() const
Returns hexadecimal value for a Color.
Definition: Color.hpp:62
raylib::Color::ToHSV
Vector3 ToHSV() const
Returns HSV values for a Color.
Definition: Color.hpp:90
+
raylib::DrawTextPro
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:264
raylib::Color::Color
Color(::Vector3 hsv)
Returns a Color from HSV values.
Definition: Color.hpp:34
raylib::Vector2
Vector2 type.
Definition: Vector2.hpp:16
raylib::Color::DrawPixel
Color & DrawPixel(::Vector2 pos)
Draw a pixel.
Definition: Color.hpp:120
@@ -301,6 +302,7 @@ $(function() {
raylib::Color::Normalize
Vector4 Normalize() const
Returns Color normalized as float [0..1].
Definition: Color.hpp:83
raylib::Color::DrawLine
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
Draw a line.
Definition: Color.hpp:128
raylib::Color::Fade
Color Fade(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:76
+
raylib::DrawTextEx
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:256