Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
drawing.h File Reference
#include <Windows.h>
#include <dwrite.h>
#include "components/content/fonts/fonts.h"

Go to the source code of this file.

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::Content
 
 Blam::Content::Fonts
 
 BlamRendering
 Namespace for things relating to rendering.
 
 BlamRendering::RenderStack
 Namespace containing things relating to the Render Stack.
 
 BlamRendering::DirectX
 Namespace containing functions exclusive to DirectX.
 
 BlamRendering::DirectX::Drawing
 Namespace containing functions to handle the drawing of Direct2D primitives.
 
 BlamRendering::DirectX::Drawing::Widgets
 Multi-purpose widgets drawn with Direct2D.
 

Macros

#define BLAM
 

Functions

BLAM HRESULT BlamRendering::DirectX::Drawing::DrawRect (D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_RECT_F rect, float thickness, StackItemDrawMode mode)
 Draws a rectangle. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawRect (D2D1_COLOR_F color, D2D1_RECT_F rect, float thickness)
 Draws a rectangle. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawRect (float r, float g, float b, D2D1_RECT_F rect, float thickness)
 Draws a rectangle. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DWDrawText (std::wstring text, std::wstring font, float size, D2D1_RECT_F area, D2D1_COLOR_F color)
 Draws a string using DirectWrite. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DWDrawText (std::wstring text, std::wstring font, float size, float left, float bottom, float right, float top, float r, float g, float b)
 Draws a string using DirectWrite. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DWDrawText (std::wstring text, std::wstring font_name, float size, int x, int y, D2D1_COLOR_F color, IDWriteFontCollection *font_collection, bool auto_calculate_area, D2D1_RECT_F area)
 Draws a string using DirectWrite. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawBitmapFromResource (int res_id, const char *res_type, D2D1_RECT_F area, int width, int height)
 Draws a bitmap pulled from an application resource. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawEllipse (D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_ELLIPSE ellipse, float thickness, StackItemDrawMode mode)
 Draws an ellipse. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawRoundedRect (D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_ROUNDED_RECT rounded_rect, float thickness, StackItemDrawMode mode)
 Draws a rounded rectangle. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawLine (D2D1_COLOR_F color, D2D1_POINT_2F start_point, D2D1_POINT_2F end_point, float thickness)
 Draws a line. More...
 
BLAM HRESULT BlamRendering::DirectX::Drawing::DrawBitmapText (BlamRendering::RenderStack::BitmapText *text_object, Blam::Content::Fonts::Font *font, bool replace_color_codes)
 Draws the specified text using a Bitmap-based Blamite Font. More...
 
BLAM void BlamRendering::DirectX::Drawing::Widgets::DrawInvalidBitmapArea (D2D1_RECT_F area)
 A widget used to represent an invalid bitmap. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM