mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 13:23:00 +00:00
Fix incorrectly rendered C++ docs code fence
This commit is contained in:
parent
f87b3b0758
commit
e3800fd3c3
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ private:
|
||||||
///
|
///
|
||||||
/// The following example creates a 320x200 RGB pixel buffer and calls a function to draw a shape
|
/// The following example creates a 320x200 RGB pixel buffer and calls a function to draw a shape
|
||||||
/// into it:
|
/// into it:
|
||||||
/// ```c++
|
/// ```cpp
|
||||||
/// slint::SharedPixelBuffer::<slint::Rgb8Pixel> pixel_buffer(320, 200);
|
/// slint::SharedPixelBuffer::<slint::Rgb8Pixel> pixel_buffer(320, 200);
|
||||||
/// low_level_render(pixel_buffer.width(), pixel_buffer.height(),
|
/// low_level_render(pixel_buffer.width(), pixel_buffer.height(),
|
||||||
/// static_cast<unsigned char *>(pixel_buffer.begin()));
|
/// static_cast<unsigned char *>(pixel_buffer.begin()));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue