30 lines
526 B
Plaintext
30 lines
526 B
Plaintext
import "scaling.asy" as scale;
|
|
import "faces/count_of_cards.asy" as coc;
|
|
|
|
typedef void drawfunc(picture, pen);
|
|
|
|
void noop(picture p, pen fg) {}
|
|
|
|
drawfunc[] cards_faces = {
|
|
null,
|
|
|
|
null, null, null, null, null, null,
|
|
|
|
noop,
|
|
noop,
|
|
noop,
|
|
count_of_cards,
|
|
};
|
|
|
|
transform[] cards_face_placements = {
|
|
identity,
|
|
|
|
identity, identity, identity, identity, identity, identity,
|
|
|
|
identity,
|
|
identity,
|
|
identity,
|
|
shift((98.9844 + 112.953)/2 - width/2, (226.41 + 245.965)/2 - height/2)*scale((112.953-98.9844)/width),
|
|
};
|
|
|