Liking cljdoc? Tell your friends :D

clj-paper-print.paper


cloneclj

(clone paper)

A function that will create a clone of the supplied paper with its contents and will return it.

A function that will create a clone of the supplied paper with its contents and will return it.
sourceraw docstring

get-allclj

(get-all paper)

A helper function that will be called by the corresponding multimethod and will return the size and the imageable's area size of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the size and the imageable's area size
of the supplied Paper object.
sourceraw docstring

get-hclj

(get-h paper)

A helper function that will be called by the corresponding multimethod and will return the height of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the height of the supplied Paper object.
sourceraw docstring

get-im-hclj

(get-im-h paper)

A helper function that will be called by the corresponding multimethod and will return the imageable's area height of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the imageable's area height of the supplied Paper object.
sourceraw docstring

get-im-wclj

(get-im-w paper)

A helper function that will be called by the corresponding multimethod and will return the imageable's area width of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the imageable's area width of the supplied Paper object.
sourceraw docstring

get-im-xclj

(get-im-x paper)

A helper function that will be called by the corresponding multimethod and will return the imageable's area X point of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the imageable's area X point of the supplied Paper object.
sourceraw docstring

get-im-yclj

(get-im-y paper)

A helper function that will be called by the corresponding multimethod and will return the imageable's area Y of the supplied Paper object.

A helper function that will be called by the corresponding multimethod and will return the imageable's area Y of the supplied Paper object.
sourceraw docstring

get-wclj

(get-w paper)

A helper function that will be called by the corresponding multimethod and will return the width of the supplied Paper object in screen size (1/72 of an inch).

A helper function that will be called by the corresponding multimethod and will return the width
of the supplied Paper object in screen size (1/72 of an inch).
sourceraw docstring

p-unit!cljmultimethod

A multimethod nested to paper multimethod to give the choice to return the desired result of dimensions in the requested unit (inches, mm, default[screen = 1/72 of inch]).

A multimethod nested to `paper` multimethod to give the choice to return the desired result of dimensions
in the requested unit (inches, mm, default[screen = 1/72 of inch]).
sourceraw docstring

papercljmultimethod

A multimethod for Paper objects that will execute the methods of the java.awt.print.Paper class using the corresponding helper functions: get-w,get-h, get-im-w, get-im-h, get-im-x, get-im-y, set-size, set-im-area, along with the nested p-unit! multimethod which will tranlate the requested output and the given input from/to the desired unit's values.

A multimethod for Paper objects that will execute the methods of the `java.awt.print.Paper` class using the corresponding
helper functions: `get-w`,`get-h`, `get-im-w`, `get-im-h`, `get-im-x`, `get-im-y`, `set-size`, `set-im-area`,
along with the nested  `p-unit!` multimethod which will tranlate the requested output and the given input from/to the desired unit's values.
sourceraw docstring

set-im-areaclj

(set-im-area [paper {{:keys [x y im-w im-h]} :im-size :as dimensions}])

A helper function that will be called by the corresponding multimethod and will set the X, Y point for the start of the Imageable area and the width, height of the Imageable area for the supplied Paper object translated from inches to screen.

A helper function that will be called by the corresponding multimethod and will set the X, Y point for the start of the
Imageable area and the width, height of the Imageable area  for the supplied Paper object
translated from inches to screen.
sourceraw docstring

set-sizeclj

(set-size [paper {{:keys [width height]} :size :as dimensions}])

A helper function that will be called by the corresponding multimethod and will set the width and height for the supplied Paper object, translated from inches to screen.

A helper function that will be called by the corresponding multimethod and will set the width and height for the supplied Paper object, translated from inches to screen.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close