BPicture: fix DRAW_STRING command escapement_delta fields order

Change-Id: I4af041faf108c80c8232928b9bd39f43397aaada
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10586
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
X512
2026-04-05 14:50:48 +00:00
committed by Adrien Destugues
parent ab25c31526
commit 29323c568f
7 changed files with 18 additions and 25 deletions
+3 -2
View File
@@ -21,6 +21,8 @@
#include <Region.h>
struct escapement_delta;
class BAffineTransform;
class BGradient;
class BList;
@@ -153,8 +155,7 @@ public:
virtual void DrawEllipse(const BRect& rect, bool fill) {}
virtual void DrawPolygon(size_t numPoints, const BPoint points[], bool isClosed, bool fill) {}
virtual void DrawShape(const BShape& shape, bool fill) {}
virtual void DrawString(const char* string, size_t length, float spaceEscapement,
float nonSpaceEscapement) {}
virtual void DrawString(const char* string, size_t length, const escapement_delta& delta) {}
virtual void DrawPixels(const BRect& source, const BRect& destination, uint32 width,
uint32 height, size_t bytesPerRow, color_space pixelFormat, uint32 flags, const void* data,
size_t length) {}