<commit_before>/* $Id: rmdraw.c,v 1.1 2003/09/29 23:56:15 rmagick Exp $ */
/*============================================================================\
|                Copyright (C) 2003 by <NAME>
| Name:     rmdraw.c
| Author:   <NAME>
| Purpose:  Contains Draw class methods.
|           Contains Montage class methods.
\============================================================================*/

#include "rmagick.h"

static void mark_Draw(void *);
static void destroy_Draw(void *);
static void destroy_Montage(void *);

/*
    Method:     Draw#affine=
    Purpose:    set the affine matrix from an Magick::AffineMatrix
*/
VALUE
Draw_affine_eq(VALUE self, VALUE matrix)
{
    Draw *draw;

    Data_Get_Struct(self, Draw, draw);
    Struct_to_AffineMatrix(&draw->info->affine, matrix);<commit_msg>Change class->structure function name<commit_after>/* $Id: rmdraw.c,v 1.2 2003/10/02 12:41:20 rmagick Exp $ */
/*============================================================================\
|                Copyright (C) 2003 by <NAME>
| Name:     rmdraw.c
| Author:   <NAME>
| Purpose:  Contains Draw class methods.
|           Contains Montage class methods.
\============================================================================*/

#include "rmagick.h"

static void mark_Draw(void *);
static void destroy_Draw(void *);
static void destroy_Montage(void *);

/*
    Method:     Draw#affine=
    Purpose:    set the affine matrix from an Magick::AffineMatrix
*/
VALUE
Draw_affine_eq(VALUE self, VALUE matrix)
{
    Draw *draw;

    Data_Get_Struct(self, Draw, draw);
    AffineMatrix_to_AffineMatrix(&draw->info->affine, matrix);
{'fraction_non_alphanumeric': 0.29075425790754256, 'fraction_numerical': 0.024330900243309004, 'mean_word_length': 4.255591054313099, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '768449', 'n_tokens_mistral': 524, 'n_tokens_neox': 461, 'n_words': 120}