Ide/Resource Editor/Graphics Editor
Graphics Editor Window
When the Graphics Editor is started to edit an image, the Graphics Editor window will appear on the screen:
The Graphics Editor window is divided into several areas. Each area is responsible for a definite function or combines a number of tools, which are associated by purpose.
Areas of the Graphics Editor Window
Graphics Editor Title Bar
The title bar of the Graphics Editor window serves to display information about the type of the image (icon, cursor or bitmap), the image size in pixels, the number of colors which are available for use, and the name of the file which is opened for the current image.
For example, the title bar ProjectIcon.ico Size 32*32 Colors:16 says that:
- the type of current image is an icon;
- the size of the current image is 32*32 pixels;
- 16 colors may be used in the image;
- the name of the file, which is opened for current image, is ProjectIcon.ico.
Graphic Field
The Graphic Field is situated in the middle of the Graphics Editor window.
The Graphic Field lets you see and edit the current image in expanded mode. The Graphic Field consists of small cells, where each cell corresponds to one pixel on the actual size image. The number of cells in each horizontal row and the number of cells in each vertical column give the image size, which is displayed in the title bar of the Graphics Editor window. It is possible to turn on and off a grid in the Graphic field.
Image Screen
To the right of the Graphic Field in the Graphics Editor window you can see the Image Screen, painted in background color. In the middle of Image Screen you can see the current image in actual size on the selected background color. By changing the background color you can see how your current image will look in various surroundings.
Icon
Under the [#Graphic_Field Graphic Field], you can see the Icon drop-down list:
You can choose, which of the icon images in the current file to load into the editor.
Move Toolbar
(Moving, Rotating and Flipping an Image)
To the right of the Graphic Field, under the Image Screen, you can see the Image Move toolbar:
By clicking the appropriate button you can move, rotate or flip the current image.
Notice that the Resource | Move menu contains the same commands as the Image Move toolbar.
Color Palette
At the top of the Graphics Editor window you can see the Color Palette.
The Color Palette lets you choose colors for the drawing operations:
- [GE_Using_Tools_and_Colors.htm#Setting_the_Draw_and_Edit_Colors Setting the Draw and Edit Colors]
- [GE_Using_Tools_and_Colors.htm#Setting_the_Background_Color Setting the Background Color]
- [GE_Using_Tools_and_Colors.htm#Setting_the_Inverse__to_Background__Color Setting the Inverse (to Background) Color]
Color Modes Toolbar
Under the [#Image_Screen Image Screen] you can see the Color Modes tool box:
The Color Modes tool box is used to set:
- [GE_Using_Tools_and_Colors.htm#Setting_the_Draw_and_Edit_Colors Draw and Edit colors]
- [GE_Using_Tools_and_Colors.htm#Setting_the_Background_Color Background color]
- [GE_Using_Tools_and_Colors.htm#Setting_the_Inverse__to_Background__Color Inverse (to Background) color]
Draw and Edit Toolbar
(Using Draw and Edit Tools)
To the left of the Graphic Field of the Graphics Editor window you can see the Draw and Edit Toolbar. It contains the main tools for drawing and editing:
The Graphics Editor provides a number of tools to make creating your image easy. The tools can be activated either from the Resource | Tools menu or from the Draw and Edit toolbar.
Draw and Edit Tools
By clicking any of the buttons in the Draw and Edit toolbar you can select the required draw or edit tool. Here are short descriptions of them:
Mirror Style Dialog
The Mirror Style dialog is activated by the Resource | Set Mirror Style menu command in the Task window menu:
The Mirror Style dialog is used to choose the appropriate axes of symmetry for the Mirror tool.
The Mirror tool File:I26.png sets the points that are the reflections of the cursor trail point relative to the different axes of symmetry.
When you place the mouse cursor onto some point inside an edited image and click the left mouse button, then we say that you set the cursor trail point.
Using the Mirror tool, you can (by one click) set up to 8 reflections of the specified cursor trail point. A reflection point will be painted to each checked ON type of reflections. They are:
Main -> Trial
When checked ON, then paints the clicked cursor trail point.
Main -> Reverse
When checked ON, then paints the point opposite to the clicked cursor trail point.
Reflect -> Horizontal
When checked ON, then paints the point, which is the horizontal reflection of the clicked cursor trail point.
Reflect -> Vertical
When checked ON, then paints the point, which is the vertical reflection of the clicked cursor trail point.
Orthogonal -> Left
When checked ON, then paints the point, which is 90 degrees left rotation of the clicked cursor trail point.
Orthogonal -> Right
When checked ON, then paints the point, which is 90 degrees right rotation of the clicked cursor trail point.
Reflect Diagonal -> Left
When checked ON, then paints the point, which is the reflection of the clicked cursor trail point relative to the diagonal line drawn from the left upper corner to the right lower corner of the image.
Reflect Diagonal -> Right
When checked ON, then paints the point, which is the reflection of the clicked cursor trail point relative to the diagonal line drawn from the right upper corner to the left lower corner of the image.