<commit_before>/*
 * This file is part of Libsvgtiny
 * Licensed under the MIT License,
 *                http://opensource.org/licenses/mit-license.php
 * Copyright 2008 <NAME> <<EMAIL>>
 */

#ifndef SVGTINY_H
#define SVGTINY_H

#include <libxml/parser.h>

typedef int svgtiny_colour;
#define svgtiny_TRANSPARENT 0x1000000
#define svgtiny_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b))

struct svgtiny_shape {
	float *path;
	unsigned int path_length;
	char *text;
	float text_x, text_y;
	svgtiny_colour fill;
	svgtiny_colour stroke;
	int stroke_width;
};

struct svgtiny_diagram {
	int width, height;<commit_msg>Use BBGGRR instead of RRGGBB on RISC OS.<commit_after>/*
 * This file is part of Libsvgtiny
 * Licensed under the MIT License,
 *                http://opensource.org/licenses/mit-license.php
 * Copyright 2008 <NAME> <<EMAIL>>
 */

#ifndef SVGTINY_H
#define SVGTINY_H

#include <libxml/parser.h>

typedef int svgtiny_colour;
#define svgtiny_TRANSPARENT 0x1000000
#ifdef riscos
#define svgtiny_RGB(r, g, b) ((b) << 16 | (g) << 8 | (r))
#else
#define svgtiny_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b))
#endif

struct svgtiny_shape {
	float *path;
	unsigned int path_length;
	char *text;
	float text_x, text_y;
	svgtiny_colour fill;
	svgtiny_colour stroke;
	int stroke_width;
};

struct svgtiny_diagram {
	int width, height;
{'fraction_non_alphanumeric': 0.12274096385542169, 'fraction_numerical': 0.024849397590361446, 'mean_word_length': 4.151162790697675, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3451304', 'n_tokens_mistral': 553, 'n_tokens_neox': 510, 'n_words': 141}