 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
69 BLAM HRESULT
DrawRect(
float r,
float g,
float b, D2D1_RECT_F rect,
float thickness);
86 BLAM HRESULT
DWDrawText(std::wstring text, std::wstring
font,
float size, D2D1_RECT_F area, D2D1_COLOR_F
color);
104 BLAM HRESULT
DWDrawText(std::wstring text, std::wstring
font,
float size,
float left,
float bottom,
float right,
float top,
float r,
float g,
float b);
121 BLAM HRESULT
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);
190 BLAM HRESULT
DrawLine(D2D1_COLOR_F
color, D2D1_POINT_2F start_point, D2D1_POINT_2F end_point,
float thickness);
BLAM HRESULT DrawEllipse(D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_ELLIPSE ellipse, float thickness, StackItemDrawMode mode)
Draws an ellipse.
Definition: ellipse.cpp:10
int width
Definition: bgfx.cpp:19
BLAM HRESULT DrawBitmapFromResource(int res_id, const char *res_type, D2D1_RECT_F area, int width, int height)
Draws a bitmap pulled from an application resource.
Definition: bitmap.cpp:6
Namespace containing things relating to the Render Stack.
Definition: drawing.h:14
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting changing font or adding deleting some characters in from glyph table PL means Public License Copyright Holder means whoever is named in the copyright or copyrights for the Font You means the or person redistributing or modifying the Font Freely Available means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you not price If you you can charge for this service Copying &Distribution You may copy and distribute verbatim copies of this Font in any without provided that you retain this license including modifying reordering converting changing font or adding deleting some characters in from glyph and copy and distribute such modifications under the terms of Section provided that the following conditions are such as by offering access to copy the modifications from a designated or distributing the modifications on a medium customarily used for software interchange c If the modified fonts normally reads commands interactively when you must cause when started running for such interactive use in the most ordinary to print or display an announcement including an appropriate copyright notice and a notice that there is no and telling the user how to view a copy of this License These requirements apply to the modified work as a whole If identifiable sections of that work are not derived from the Font
Definition: ARPHICPL.TXT:38
Namespace containing functions to handle the drawing of Direct2D primitives.
Definition: drawing.h:28
BLAM HRESULT DrawRect(D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_RECT_F rect, float thickness, StackItemDrawMode mode)
Draws a rectangle.
Definition: rect.cpp:9
#define BLAM
Definition: drawing.h:22
Structure to contain data for a Font.
Definition: fonts.h:134
BLAM HRESULT 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.
Definition: text.cpp:550
int height
Definition: bgfx.cpp:20
Class representing text drawn using a Bitmap-based engine font.
Definition: render_stack.h:794
BLAM HRESULT DrawRoundedRect(D2D1_COLOR_F outline_color, D2D1_COLOR_F fill_color, D2D1_ROUNDED_RECT rounded_rect, float thickness, StackItemDrawMode mode)
Draws a rounded rectangle.
Definition: rounded_rect.cpp:10
StackItemDrawMode
Enumerator to specify the stack item draw mode.
Definition: render_stack.h:85
BLAM HRESULT DWDrawText(std::wstring text, std::wstring font, float size, D2D1_RECT_F area, D2D1_COLOR_F color)
Draws a string using DirectWrite.
Definition: dwtext.cpp:16
BLAM HRESULT DrawLine(D2D1_COLOR_F color, D2D1_POINT_2F start_point, D2D1_POINT_2F end_point, float thickness)
Draws a line.
Definition: line.cpp:10