调整渲染FPS时的细节
This commit is contained in:
parent
e318679d3d
commit
d6e2ca919b
|
|
@ -199,8 +199,8 @@ void e2d::Renderer::__render()
|
|||
s_pTextRenderer->SetTextStyle(
|
||||
D2D1::ColorF(D2D1::ColorF::White),
|
||||
TRUE,
|
||||
D2D1::ColorF(D2D1::ColorF::Black),
|
||||
1.0f,
|
||||
D2D1::ColorF(D2D1::ColorF::Black, 0.4f),
|
||||
1.5f,
|
||||
D2D1_LINE_JOIN::D2D1_LINE_JOIN_ROUND
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ e2d::TextStyle::TextStyle()
|
|||
, hasUnderline(false)
|
||||
, hasStrikethrough(false)
|
||||
, hasOutline(true)
|
||||
, outlineColor(Color::BLACK)
|
||||
, outlineColor(Color(Color::BLACK, 0.5))
|
||||
, outlineWidth(1.0)
|
||||
, outlineJoin(LineJoin::ROUND)
|
||||
{}
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ struct TextStyle
|
|||
bool hasUnderline = false,
|
||||
bool hasStrikethrough = false,
|
||||
bool hasOutline = true,
|
||||
Color outlineColor = Color::BLACK,
|
||||
Color outlineColor = Color(Color::BLACK, 0.5),
|
||||
double outlineWidth = 1.0,
|
||||
int outlineJoin = LineJoin::ROUND
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue