Skip to content

Commit a7d2b92

Browse files
committed
Fixed path examples to use new pre=defined color static member objects rather than old, eliminated pre-defined color static member functions.
1 parent 5d9d86b commit a7d2b92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/path-examples.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
int main() {
2222
auto imgSfc = make_image_surface(format::argb32, 300, 200);
23-
brush backBrush{ rgba_color::black() };
24-
brush foreBrush{ rgba_color::white() };
23+
brush backBrush{ rgba_color::black };
24+
brush foreBrush{ rgba_color::white };
2525
render_props aliased{ antialias::none };
2626
path_builder<> pb{};
2727
imgSfc.paint(backBrush);

0 commit comments

Comments
 (0)