mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* java/org/gnu/emacs/EmacsDrawLine.java (EmacsDrawLine) (measureLine, polyDashPattern): New function. (perform): Delegate to polyDashPattern if the line style is not LineSolid. Also simplify now that anti-aliasing need no longer be taken into account. * java/org/gnu/emacs/EmacsDrawRectangle.java (perform): Mention omission in commentary. * java/org/gnu/emacs/EmacsGC.java (EmacsGC): Disable anti-aliasing in default paint object. <line_style, line>: New fields. (markDirty): Apply stroke width. * src/android.c (android_init_emacs_gc_class): Initialize new fields. (android_create_gc, android_free_gc, android_change_gc) (android_set_dashes, android_get_gc_values): * src/androidgui.h (enum android_line_style) (enum android_gc_value_mask, struct android_gc): Introduce line style, width, dash offset and dash GC attributes. * src/androidterm.c (android_draw_dash, android_fill_underline) (android_draw_glyph_string): Port from X. * src/xterm.c (x_draw_dash): Delete redundant code. |
||
|---|---|---|
| .. | ||
| org/gnu/emacs | ||
| res | ||
| AndroidManifest.xml.in | ||
| debug.sh | ||
| emacs.keystore | ||
| INSTALL | ||
| Makefile.in | ||
| proguard.conf | ||
| README | ||
This directory holds the Java sources of the port of GNU Emacs to Android-like systems, along with files needed to create an application package out of them. If you need to build this port, please read the file INSTALL in this directory. The ``org/gnu/emacs'' subdirectory contains the Java sources under the ``org.gnu.emacs'' package identifier. ``AndroidManifest.xml'' contains a manifest describing the Java sources to the system. The ``res'' directory contains resources, mainly the Emacs icon and several ``boolean resources'' which are used as a form of conditional evaluation for manifest entries. `emacs.keystore' is the signing key used to build Emacs. It is kept here, and we encourage all people redistributing Emacs to use this key. It holds no security value, and otherwise it will be impossible to install different builds of Emacs on top of each other. Please keep the Java code indented with tabs and formatted according to the rules for C code in the GNU coding standards. Always use C-style comments. Refer to the file `admin/notes/java' in the toplevel directory of the Emacs distribution or repository for specifics regarding writing Java code for Emacs and the organization of the Android port.