{"size": 976, "ext": "scrbl", "max_stars_repo_path": "draw-doc/scribblings/draw/svg-dc-class.scrbl", "max_stars_repo_name": "Bogdanp/draw", "max_stars_repo_stars_event_min_datetime": "2015-03-24T15:04:13.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-25T03:43:21.000Z", "max_issues_repo_path": "draw-doc/scribblings/draw/svg-dc-class.scrbl", "max_issues_repo_name": "Bogdanp/draw", "max_issues_repo_issues_event_min_datetime": "2015-01-30T20:28:55.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-02T08:43:11.000Z", "max_forks_repo_path": "draw-doc/scribblings/draw/svg-dc-class.scrbl", "max_forks_repo_name": "Bogdanp/draw", "max_forks_repo_forks_event_min_datetime": "2015-01-29T22:12:33.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-17T09:51:49.000Z"}
{"max_stars_count": 15, "max_issues_count": 37, "max_forks_count": 21, "avg_line_length": 33.6551724138, "max_line_length": 74, "alphanum_fraction": 0.6229508197}
#lang scribble/doc
@(require "common.rkt")

@defclass/title[svg-dc% object% (dc<%>)]{

Similar to @racket[post-script-dc%], but generates a SVG (scalable
 vector graphics) file instead of a PostScript file.

@|PrintNote|

@defconstructor[([width (and/c real? (not/c negative?))]
                 [height (and/c real? (not/c negative?))]
                 [output (or/c path-string? output-port?)]
                 [exists (or/c 'error 'append 'update 'can-update
                               'replace 'truncate
                               'must-truncate 'truncate/replace)
                         'error])]{

The @racket[width] and @racket[height] arguments determine the width
 and height of the generated image.

The image is written to @racket[output]. If @racket[output] is a path
 and the file exists already, then @racket[exists] determines how
 the existing file is handled in the same way as for the @racket[#:exists]
 argument to @racket[open-output-file].}

}

