NEWS.md

piecepackr 1.13.11

piecepackr 1.13.10

piecepackr 1.13.8

piecepackr 1.13.6

piecepackr 1.13.3

Bug fixes and minor improvements

piecepackr 1.13.1

Breaking changes

Deprecated features

New features

Bug fixes and minor improvements

piecepackr 1.12.2

Bug fixes and minor improvements

piecepackr 1.12.0

New features

Bug fixes and minor improvements

piecepackr 1.11.1

Breaking changes

New features

This should be a faster alternative to the existing "picture" and "raster" types when wishing to "faithfully" draw game pieces outside their "normal" (viewport) sizes and/or dilate them in x/y directions but will only work in select graphic devices in R 4.2 (or later). You can tell if the active graphic device supports the affine transformation feature with isTRUE(dev.capabilities()$transformations).

grid.piece() / pieceGrob()` now also draws more sides of die and pyramid pieces when drawn in an oblique projection (#173, #257).

Fully rendering the visible sides of the pieces requires the new "affine transformation" feature which is only supported in select graphic devices in R 4.2 (most notably the "cairo" family of devices). If this feature is not detected we will output an inform() message() of class "piecepackr_affine_transformation" and fall back to either a grImport2::pictureGrob() or grid::polygonGrob() alternative. These messages may be suppressed by setting options(piecepackr.at.inform = FALSE).

Bug fixes and minor improvements

piecepackr 1.10.3

Breaking changes

Bug fixes

Deprecated features

piecepackr 1.10.1

Breaking changes

New features

Bug fixes and minor improvements

Deprecated features

The following pp_cfg() R6 class public method has been deprecated:

piecepackr 1.9.2

Bug fixes and minor improvements

piecepackr 1.9.1

New features

piecepackr 1.8.1

New features

Bug fixes and minor improvements

Deprecated features

The use_pictureGrob argument of pieceGrob() and grid.piece() is now deprecated in favor of the new type argument. Use type = "picture" instead of use_pictureGrob = TRUE.

piecepackr 1.7.2

piecepackr 1.7.1

Breaking changes

The following changes in pp_cfg() configuration lists seem unlikely to affect any users (but theoretically could do so):

New features

Bug fixes and minor improvements

Deprecated features

The following pp_cfg() R6 class active bindings are now deprecated:

piecepackr 1.6.5

No user-facing changes (we tweak our examples/tests so R CMD check passes without issue on CRAN's new 'M1mac' build).

piecepackr 1.6.3

New features

Bug fixes and minor improvements

piecepackr 1.5.1

Breaking changes

There are no user-facing breaking changes in piecepackr's API but the internal grid structure of the grobs drawn/returned by grid.piece(), pieceGrob(), and pmap_piece() have been changed to make it easier to query or edit the grid graphics post initial drawing with functions like grid::grid.get(), grid::grid.edit(), grid::grid.reorder() etc. (#205).

Deprecated functions

The following utility functions have been deprecated in favor of methods provided by the new pp_shape() object:

New features

Bug fixes and minor improvements

piecepackr 1.4.1

New features

Bug fixes and minor improvements

piecepackr 1.3.1

New features

Bug fixes and minor improvements

Deprecated features

The following pp_cfg() R6 class public method is now deprecated:

The following pp_cfg "style" is now deprecated:

Breaking changes

piecepackr 1.2.1

New features

Bug fixes and minor improvements

piecepackr 1.1.1

piecepackr 1.0.2

New features

Breaking changes

Bug fixes and minor improvements

piecepackr 0.11.0

New features

piecepackr 0.10.0

piecepackr 0.9.0

piecepackr 0.8.0

piecepackr 0.7.1

piecepackr 0.7.0



Try the piecepackr package in your browser

Any scripts or data that you put into this service are public.

piecepackr documentation built on Sept. 11, 2024, 9:09 p.m.