HomeSort by relevance Sort by last modified time
    Searched refs:duplicateBorder (Results 1 - 2 of 2) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
PixmapPacker.java 103 boolean duplicateBorder;
110 public PixmapPacker (int pageWidth, int pageHeight, Format pageFormat, int padding, boolean duplicateBorder) {
111 this(pageWidth, pageHeight, pageFormat, padding, duplicateBorder, new GuillotineStrategy());
117 * @param duplicateBorder duplicate the border pixels of the inserted images to avoid seams when rendering with bi-linear
119 public PixmapPacker (int pageWidth, int pageHeight, Format pageFormat, int padding, boolean duplicateBorder,
125 this.duplicateBorder = duplicateBorder;
166 if (packToTexture && !duplicateBorder && page.texture != null && !page.dirty) {
178 if (duplicateBorder) {
322 return duplicateBorder;
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/imagepacker/
ImagePacker.java 86 boolean duplicateBorder;
99 * @param duplicateBorder whether to duplicate the border */
100 public ImagePacker (int width, int height, int padding, boolean duplicateBorder) {
103 this.duplicateBorder = duplicateBorder;
119 int borderPixels = padding + (duplicateBorder ? 1 : 0);
139 if (duplicateBorder) {

Completed in 209 milliseconds