25 lines
599 B
C++
25 lines
599 B
C++
#pragma once
|
|
#include "../base/Color.h"
|
|
#include "../base/Geometry.h"
|
|
#include "../base/Style.h"
|
|
#include "../base/Text.h"
|
|
|
|
struct BLRgba;
|
|
struct BLRect;
|
|
struct BLPoint;
|
|
|
|
namespace renderive {
|
|
|
|
struct Convert {
|
|
static BLRgba to_bl(const Color& color);
|
|
static BLRgba to_bl_premultiplied(const Color& color);
|
|
static BLPoint to_bl(const PointF& point);
|
|
static BLRect to_bl(const RectF& rect);
|
|
static Color from_bl(const BLRgba& rgba);
|
|
|
|
static std::uint32_t blend2d_line_cap(Line_Cap cap);
|
|
static std::uint32_t blend2d_line_join(Line_Join join);
|
|
};
|
|
|
|
} // namespace renderive
|