Стартовый пул

This commit is contained in:
2024-04-02 08:46:59 +03:00
parent fd57fffd3a
commit 3bb34d000b
5591 changed files with 3291734 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
public class bgra {
/////////////////////// the bgra library declarations ///////////////
public static native void create(int num);
public static native void createwithsize(int num, int left, int top);
public static native void fill(int num, int color);
public static native int rgb(int r, int g, int b);
public static native void filtersmartzoom3(int num, int typ);
public static native void savetofile(int num, String fn);
public static native void destroy(int num);
}

View File

@@ -0,0 +1,23 @@
import static java.lang.System.out;
import javax.swing.JOptionPane;
public class test {
public static void main(String[] args)
{
System.loadLibrary("bgrabitmap");
out.println("Library is loaded...");
out.println("______________________________________________________________________");
out.println();
bgra.createwithsize(0,100,100);
bgra.fill(0, bgra.rgb(0, 255, 0));
bgra.savetofile(0, "test.png");
bgra.destroy(0);
out.println("Bitmap is saved...");
out.println("______________________________________________________________________");
out.println();
}
}