Implement line drawing PolyLine, PolySegment
This commit is contained in:
@@ -753,10 +753,10 @@ BAN::ErrorOr<void> poly_text(Client& client_info, BAN::ConstByteSpan packet, boo
|
||||
.out_data_u32 = out_data_u32,
|
||||
.out_w = out_w,
|
||||
.out_h = out_h,
|
||||
.min_x = request.x,
|
||||
.max_x = request.x,
|
||||
.min_y = request.y,
|
||||
.max_y = request.y,
|
||||
.min_x = INT32_MAX,
|
||||
.max_x = INT32_MIN,
|
||||
.min_y = INT32_MAX,
|
||||
.max_y = INT32_MIN,
|
||||
.font = nullptr,
|
||||
.gc = gc,
|
||||
};
|
||||
@@ -824,10 +824,10 @@ BAN::ErrorOr<void> image_text(Client& client_info, BAN::ConstByteSpan packet, bo
|
||||
.out_data_u32 = out_data_u32,
|
||||
.out_w = out_w,
|
||||
.out_h = out_h,
|
||||
.min_x = request.x,
|
||||
.max_x = request.x,
|
||||
.min_y = request.y,
|
||||
.max_y = request.y,
|
||||
.min_x = INT32_MAX,
|
||||
.max_x = INT32_MIN,
|
||||
.min_y = INT32_MAX,
|
||||
.max_y = INT32_MIN,
|
||||
.font = TRY(get_fontable(client_info, gc.font, opcode)).ptr(),
|
||||
.gc = gc,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user