1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.jvm
.mle
.constants
;
13 * Capabilities for the hardware accelerated pencil graphics drawing.
15 * This interface contains bit-fields.
19 public interface PencilCapabilities
22 * Minimum capabilities required by the implementation, this includes all
23 * of that state operations such as: transforms, clips, colors, styles,
26 * Capable of the following:
29 * - {@code getAlphaColor}.
30 * - {@code getBlendingMode}.
31 * - {@code getBlueComponent}.
32 * - {@code getClipHeight}.
33 * - {@code getClipWidth}.
37 * - {@code getDisplayColor}.
38 * - {@code getGrayScale}.
39 * - {@code getGreenComponent}.
40 * - {@code getRedComponent}.
41 * - {@code getStrokeStyle}.
42 * - {@code getTranslateX}.
43 * - {@code getTranslateY}.
45 * - {@code setAlphaColor}.
46 * - {@code setBlendingMode}.
49 * - {@code setGrayScale}.
50 * - {@code setStrokeStyle}.
51 * - {@code translate}.
57 * Capable of the following:
64 * Capable of the following:
65 * - {@code drawARGB16}.
66 * - {@code drawRGB16}.
68 byte DRAW_XRGB16_SIMPLE
=
86 * Capable of the following:
88 * - {@code drawImage}.
89 * - {@code drawRegion}.
91 byte DRAW_XRGB32_REGION
=
95 * Capable of the following:
102 * Capable of the following:
103 * - {@code drawLine}.
109 * Capable of the following:
110 * - {@code drawRect}.
116 * Capable of the following:
117 * - {@code drawRoundRect}.
119 short DRAW_ROUND_RECT
=
123 * Capable of the following:
130 * Capable of the following:
131 * - {@code fillRect}.
137 * Capable of the following:
138 * - {@code fillRoundRect}.
140 short FILL_ROUND_RECT
=
144 * Capable of the following:
145 * - {@code fillTriangle}.
147 short FILL_TRIANGLE
=
151 * Capable of the following:
152 * - {@code drawChar}.
153 * - {@code drawChars}.
154 * - {@code drawString}.
155 * - {@code drawSubstring}.
156 * - {@code drawText}.