mirror of https://github.com/GNOME/gimp.git
Bug 692641 - Various spelling fixes
This commit is contained in:
parent
94a404ed24
commit
6b0d1038cc
|
@ -83,7 +83,7 @@ static void windows_actions_single_window_mode_notify (GimpDisplayConfig *confi
|
|||
/* The only reason we have "Tab" in the action entries below is to
|
||||
* give away the hardcoded keyboard shortcut. If the user changes the
|
||||
* shortcut to something else, both that shortcut and Tab will
|
||||
* work. The reason we have the shortcut hardcoded is beccause
|
||||
* work. The reason we have the shortcut hardcoded is because
|
||||
* gtk_accelerator_valid() returns FALSE for GDK_tab.
|
||||
*/
|
||||
|
||||
|
|
|
@ -458,7 +458,7 @@ gimp_rc_query (GimpRc *rc,
|
|||
}
|
||||
|
||||
/**
|
||||
* gimp_rc_set_unkown_token:
|
||||
* gimp_rc_set_unknown_token:
|
||||
* @gimprc: a #GimpRc object.
|
||||
* @token:
|
||||
* @value:
|
||||
|
|
|
@ -470,7 +470,7 @@ gimp_edit_fill (GimpImage *image,
|
|||
break;
|
||||
|
||||
case GIMP_NO_FILL:
|
||||
return TRUE; /* nothing to do, but the fill succeded */
|
||||
return TRUE; /* nothing to do, but the fill succeeded */
|
||||
|
||||
default:
|
||||
g_warning ("%s: unknown fill type", G_STRFUNC);
|
||||
|
@ -504,7 +504,7 @@ gimp_edit_fill_full (GimpImage *image,
|
|||
g_return_val_if_fail (color != NULL || pattern != NULL, FALSE);
|
||||
|
||||
if (! gimp_item_mask_intersect (GIMP_ITEM (drawable), &x, &y, &width, &height))
|
||||
return TRUE; /* nothing to do, but the fill succeded */
|
||||
return TRUE; /* nothing to do, but the fill succeeded */
|
||||
|
||||
if (pattern &&
|
||||
babl_format_has_alpha (gimp_temp_buf_get_format (pattern->mask)) &&
|
||||
|
|
|
@ -128,7 +128,7 @@ gimp_coords_scalarprod (const GimpCoords *a,
|
|||
|
||||
|
||||
/*
|
||||
* The "lenght" of the gimpcoord.
|
||||
* The "length" of the gimpcoord.
|
||||
* Applies a metric that increases the weight on the
|
||||
* pressure/xtilt/ytilt/wheel to ensure proper interpolation
|
||||
*/
|
||||
|
|
|
@ -296,7 +296,7 @@ gimp_filtered_container_real_src_thaw (GimpFilteredContainer *filtered_container
|
|||
*
|
||||
* Creates a new #GimpFilteredContainer object which creates filtered
|
||||
* data view of #GimpTagged objects. It filters @src_container for objects
|
||||
* containing all of the filtering tags. Syncronization with @src_container
|
||||
* containing all of the filtering tags. Synchronization with @src_container
|
||||
* data is performed automatically.
|
||||
*
|
||||
* Return value: a new #GimpFilteredContainer object.
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
* remove duplicate or unused colour entries from final colourmap. [Adam]
|
||||
*
|
||||
* 99/02/24 - Many revisions to the box-cut quantizer used in RGB->INDEXED
|
||||
* conversion. Box to be cut is chosen on the basis of posessing an axis
|
||||
* conversion. Box to be cut is chosen on the basis of possessing an axis
|
||||
* with the largest sum of weighted perceptible error, rather than based on
|
||||
* volume or population. The box is split along this axis rather than its
|
||||
* longest axis, at the point of error mean rather than simply at its centre.
|
||||
|
|
|
@ -102,7 +102,7 @@ struct _GimpImagePrivate
|
|||
gint group_count; /* nested undo groups */
|
||||
GimpUndoType pushing_undo_group; /* undo group status flag */
|
||||
|
||||
/* Signal emmision accumulator */
|
||||
/* Signal emission accumulator */
|
||||
GimpImageFlushAccumulator flush_accum;
|
||||
};
|
||||
|
||||
|
|
|
@ -680,7 +680,7 @@ gimp_image_snap_rectangle (GimpImage *image,
|
|||
* Finds out if snapping occurs from position to a snapping candidate
|
||||
* and sets the target accordingly.
|
||||
*
|
||||
* Return value: %TRUE if snapping occured, %FALSE otherwise
|
||||
* Return value: %TRUE if snapping occurred, %FALSE otherwise
|
||||
*/
|
||||
static gboolean
|
||||
gimp_image_snap_distance (const gdouble unsnapped,
|
||||
|
|
|
@ -195,7 +195,7 @@ gimp_sub_progress_message (GimpProgress *progress,
|
|||
* @progress: parent progress or %NULL
|
||||
*
|
||||
* GimpSubProgress implements the GimpProgress interface and can be
|
||||
* used whereever a GimpProgress is needed. It maps progress
|
||||
* used wherever a GimpProgress is needed. It maps progress
|
||||
* information to a sub-range of its parent @progress. This is useful
|
||||
* when an action breaks down into multiple sub-actions that itself
|
||||
* need a #GimpProgress pointer. See gimp_image_scale() for an example.
|
||||
|
|
|
@ -256,7 +256,7 @@ gimp_tagged_container_src_thaw (GimpFilteredContainer *filtered_container)
|
|||
*
|
||||
* Creates a new #GimpTaggedContainer object which creates filtered
|
||||
* data view of #GimpTagged objects. It filters @src_container for
|
||||
* objects containing all of the filtering tags. Syncronization with
|
||||
* objects containing all of the filtering tags. Synchronization with
|
||||
* @src_container data is performed automatically.
|
||||
*
|
||||
* Return value: a new #GimpTaggedContainer object.
|
||||
|
|
|
@ -128,7 +128,7 @@ gimp_tool_options_dispose (GObject *object)
|
|||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
/* This is such a horrible hack, but neccessary because we
|
||||
/* This is such a horrible hack, but necessary because we
|
||||
* a) load an option's tool-info from disk in many cases
|
||||
* b) screwed up in the past and saved the wrong tool-info in some cases
|
||||
*/
|
||||
|
|
|
@ -885,7 +885,7 @@ gimp_display_paint_area (GimpDisplay *display,
|
|||
/* make sure to expose a superset of the transformed sub-pixel expose
|
||||
* area, not a subset. bug #126942. --mitch
|
||||
*
|
||||
* also acommodate for spill introduced by potential box filtering.
|
||||
* also accommodate for spill introduced by potential box filtering.
|
||||
* (bug #474509). --simon
|
||||
*/
|
||||
x1 = floor (x1_f - 0.5);
|
||||
|
|
|
@ -622,7 +622,7 @@ gimp_display_shell_scale_handle_zoom_revert (GimpDisplayShell *shell)
|
|||
*
|
||||
* Directly sets the image scale and image offsets used by the display. If
|
||||
* @resize_window is %TRUE then the display window is resized to better
|
||||
* accomodate the image, see gimp_display_shell_shrink_wrap().
|
||||
* accommodate the image, see gimp_display_shell_shrink_wrap().
|
||||
**/
|
||||
void
|
||||
gimp_display_shell_scale_by_values (GimpDisplayShell *shell,
|
||||
|
@ -681,7 +681,7 @@ gimp_display_shell_scale_shrink_wrap (GimpDisplayShell *shell,
|
|||
*
|
||||
* Function commonly called after a change in display scale to make the changes
|
||||
* visible to the user. If @resize_window is %TRUE then the display window is
|
||||
* resized to accomodate the display image as per
|
||||
* resized to accommodate the display image as per
|
||||
* gimp_display_shell_shrink_wrap().
|
||||
**/
|
||||
void
|
||||
|
|
|
@ -876,7 +876,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
* to lower border. The second is due to poor X event
|
||||
* resolution. We need to do -1 to ensure that the
|
||||
* amount of events between timestamps is final or
|
||||
* risk loosing some.
|
||||
* risk losing some.
|
||||
*/
|
||||
last_motion_time =
|
||||
gimp_motion_buffer_get_last_motion_time (shell->motion_buffer);
|
||||
|
|
|
@ -191,7 +191,7 @@ file_save (Gimp *gimp,
|
|||
}
|
||||
else if (export_forward)
|
||||
{
|
||||
/* Remeber the last entered Export URI for the image. We
|
||||
/* Remember the last entered Export URI for the image. We
|
||||
* only need to do this explicitly when exporting. It
|
||||
* happens implicitly when saving since the GimpObject name
|
||||
* of a GimpImage is the last-save URI
|
||||
|
|
|
@ -536,7 +536,7 @@ gimp_ui_configurer_get_uber_window (GimpUIConfigurer *ui_configurer)
|
|||
* @ui_configurer:
|
||||
*
|
||||
* Updates the appearance of all shells in all image windows, so they
|
||||
* do whatever they deem neccessary to fit the new UI mode mode.
|
||||
* do whatever they deem necessary to fit the new UI mode mode.
|
||||
**/
|
||||
static void
|
||||
gimp_ui_configurer_update_appearance (GimpUIConfigurer *ui_configurer)
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
/*#define DEBUG_CAGE */
|
||||
|
||||
/* This DELTA is aimed to not have handle on exact pixel during computation,
|
||||
* to avoid particular case. It shouldn't be so usefull, but it's a double
|
||||
* to avoid particular case. It shouldn't be so useful, but it's a double
|
||||
* safety. */
|
||||
#define DELTA 0.010309278351
|
||||
|
||||
|
@ -334,7 +334,7 @@ gimp_cage_config_get_point_coordinate (GimpCageConfig *gcc,
|
|||
* @y: y displacement value
|
||||
*
|
||||
* Add a displacement for all slected point of the cage.
|
||||
* This displacement need to be commited to become effective.
|
||||
* This displacement need to be committed to become effective.
|
||||
*/
|
||||
void
|
||||
gimp_cage_config_add_displacement (GimpCageConfig *gcc,
|
||||
|
|
|
@ -93,7 +93,7 @@ gimp_operation_color_balance_map (gfloat value,
|
|||
* ‾\___
|
||||
* _/‾\_
|
||||
* ___/‾
|
||||
* whith ramps of width a at x = b and x = 1 - b.
|
||||
* with ramps of width a at x = b and x = 1 - b.
|
||||
*
|
||||
* The sum of these masks equals 1 for x in 0..1, so applying the
|
||||
* same correction in the shadows and in the midtones is equivalent
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
*
|
||||
* The method used here is similar to the lighting invariant correctin
|
||||
* method but slightly different: we do not divide the RGB components,
|
||||
* but substract them I2 = I0 - I1, where I0 is the sample image to be
|
||||
* but subtract them I2 = I0 - I1, where I0 is the sample image to be
|
||||
* corrected, I1 is the reference pattern. Then we solve DeltaI=0
|
||||
* (Laplace) with I2 Dirichlet conditions at the borders of the
|
||||
* mask. The solver is a unoptimized red/black checker Gauss-Siedel
|
||||
|
@ -430,7 +430,7 @@ gimp_heal (GeglBuffer *src_buffer,
|
|||
GEGL_AUTO_ROWSTRIDE,
|
||||
(GDestroyNotify) g_free, i_2);
|
||||
|
||||
/* substract pattern from image and store the result as a double in i_1 */
|
||||
/* subtract pattern from image and store the result as a double in i_1 */
|
||||
gimp_heal_sub (dest_buffer, dest_rect,
|
||||
src_buffer, src_rect,
|
||||
i_1_buffer, GEGL_RECTANGLE (0, 0, width, height));
|
||||
|
|
|
@ -263,7 +263,7 @@ register_floating_sel_procs (GimpPDB *pdb)
|
|||
gimp_procedure_set_static_strings (procedure,
|
||||
"gimp-floating-sel-to-layer",
|
||||
"Transforms the specified floating selection into a layer.",
|
||||
"This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxillary channel or a layer mask.",
|
||||
"This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxiliary channel or a layer mask.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996",
|
||||
|
|
|
@ -186,7 +186,7 @@ gimp_test_session_load_and_write_session_files (const gchar *loaded_sessionrc,
|
|||
sessionrc_filename = gimp_personal_rc_file (expected_sessionrc);
|
||||
dockrc_filename = gimp_personal_rc_file (expected_dockrc);
|
||||
|
||||
/* Remeber the modtimes and MD5s */
|
||||
/* Remember the modtimes and MD5s */
|
||||
g_assert (gimp_test_get_file_state_verbose (sessionrc_filename,
|
||||
&initial_sessionrc_state));
|
||||
g_assert (gimp_test_get_file_state_verbose (dockrc_filename,
|
||||
|
|
|
@ -289,7 +289,7 @@ keyboard_zoom_focus (gconstpointer data)
|
|||
&shell_y_after_zoom);
|
||||
factor_after_zoom = gimp_zoom_model_get_factor (shell->zoom);
|
||||
|
||||
/* First of all make sure a zoom happend at all. If this assert
|
||||
/* First of all make sure a zoom happened at all. If this assert
|
||||
* fails, it means that the zoom didn't happen. Possible causes:
|
||||
*
|
||||
* * gdk_test_simulate_key() failed to map 'GDK_KEY_plus' to the proper
|
||||
|
@ -443,7 +443,7 @@ restore_recently_closed_multi_column_dock (gconstpointer data)
|
|||
*/
|
||||
gimp_ui_manager_activate_action (gimp_test_utils_get_ui_manager (gimp),
|
||||
"windows",
|
||||
/* FIXME: This is severly hardcoded */
|
||||
/* FIXME: This is severely hardcoded */
|
||||
"windows-recent-0003");
|
||||
gimp_test_run_mainloop_until_idle ();
|
||||
session_infos = gimp_dialog_factory_get_session_infos (gimp_dialog_factory_get_singleton ());
|
||||
|
|
|
@ -74,7 +74,7 @@ typedef struct
|
|||
gint max_n_saved_points_lower_segment;
|
||||
gint max_n_saved_points_higher_segment;
|
||||
|
||||
/* Keeps track wether or not a modification of the polygon has been
|
||||
/* Keeps track whether or not a modification of the polygon has been
|
||||
* made between _button_press and _button_release
|
||||
*/
|
||||
gboolean polygon_modified;
|
||||
|
@ -105,12 +105,12 @@ typedef struct
|
|||
/* The selection operation active when the tool was started */
|
||||
GimpChannelOps operation_at_start;
|
||||
|
||||
/* Wether or not to constrain the angle for newly created polygonal
|
||||
/* Whether or not to constrain the angle for newly created polygonal
|
||||
* segments.
|
||||
*/
|
||||
gboolean constrain_angle;
|
||||
|
||||
/* Wether or not to supress handles (so that new segments can be
|
||||
/* Whether or not to suppress handles (so that new segments can be
|
||||
* created immediately after an existing segment vertex.
|
||||
*/
|
||||
gboolean supress_handles;
|
||||
|
@ -806,7 +806,7 @@ gimp_free_select_tool_handle_click (GimpFreeSelectTool *fst,
|
|||
}
|
||||
|
||||
/* After the segments are up to date and we have handled
|
||||
* double-click, see if it's commiting time
|
||||
* double-click, see if it's committing time
|
||||
*/
|
||||
if (gimp_free_select_tool_should_close (fst,
|
||||
display,
|
||||
|
@ -838,7 +838,7 @@ gimp_free_select_tool_handle_normal_release (GimpFreeSelectTool *fst,
|
|||
gimp_free_select_tool_finish_free_segment (fst);
|
||||
}
|
||||
|
||||
/* After the segments are up to date, see if it's commiting time */
|
||||
/* After the segments are up to date, see if it's committing time */
|
||||
if (gimp_free_select_tool_should_close (fst,
|
||||
display,
|
||||
NO_CLICK_TIME_AVAILABLE,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
/* The history of this implementation is lonog and varied. It was
|
||||
* orignally done by Spencer and Peter, and worked fine in the 0.54
|
||||
* originally done by Spencer and Peter, and worked fine in the 0.54
|
||||
* (motif only) release of GIMP. Later revisions (0.99.something
|
||||
* until about 1.1.4) completely changed the algorithm used, until it
|
||||
* bore little resemblance to the one described in the paper above.
|
||||
|
@ -1567,7 +1567,7 @@ find_optimal_path (TileManager *gradient_map,
|
|||
{
|
||||
min_cost = G_MAXINT;
|
||||
|
||||
/* pixel[] array encodes how to get to a neigbour, if possible.
|
||||
/* pixel[] array encodes how to get to a neighbour, if possible.
|
||||
* 0 means no connection (eg edge).
|
||||
* Rest packed as bottom two bytes: y offset then x offset.
|
||||
* Initially, we assume we can't get anywhere. */
|
||||
|
|
|
@ -369,7 +369,7 @@ gimp_rectangle_select_tool_button_press (GimpTool *tool,
|
|||
display, coords))
|
||||
{
|
||||
/* In some cases we want to finish the rectangle select tool
|
||||
* and hand over responsability to the selection tool
|
||||
* and hand over responsibility to the selection tool
|
||||
*/
|
||||
gimp_rectangle_tool_execute (rectangle);
|
||||
gimp_rectangle_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
||||
|
|
|
@ -108,7 +108,7 @@ struct _GimpRectangleToolPrivate
|
|||
* during gimp_rectangle_tool_button_press and then only read.
|
||||
*/
|
||||
|
||||
/* Wether or not the rectangle currently being rubber-banded was
|
||||
/* Whether or not the rectangle currently being rubber-banded was
|
||||
* created from scatch.
|
||||
*/
|
||||
gboolean is_new;
|
||||
|
@ -148,7 +148,7 @@ struct _GimpRectangleToolPrivate
|
|||
* TODO: Change the internal double-representation of the rectangle
|
||||
* to x,y width,height instead of x1,y1 x2,y2. That way we don't
|
||||
* need to keep a separate representation of the integer version of
|
||||
* the rectangle; rounding width an height will yield consistant
|
||||
* the rectangle; rounding width an height will yield consistent
|
||||
* results and not depend on position of the rectangle.
|
||||
*/
|
||||
gint x1_int, y1_int;
|
||||
|
@ -179,7 +179,7 @@ struct _GimpRectangleToolPrivate
|
|||
gint top_and_bottom_handle_w;
|
||||
gint left_and_right_handle_h;
|
||||
|
||||
/* Wether or not the rectangle is in a 'narrow situation' i.e. it is
|
||||
/* Whether or not the rectangle is in a 'narrow situation' i.e. it is
|
||||
* too small for reasonable sized handle to be inside. In this case
|
||||
* we put handles on the outside.
|
||||
*/
|
||||
|
@ -1296,7 +1296,7 @@ gimp_rectangle_tool_active_modifier_key (GimpTool *tool,
|
|||
|
||||
/* Only emit the rectangle-changed signal if the button is
|
||||
* not down. If it is down, the signal will and shall be
|
||||
* emited on _button_release instead.
|
||||
* emitted on _button_release instead.
|
||||
*/
|
||||
if (! button1_down)
|
||||
{
|
||||
|
@ -4021,7 +4021,7 @@ gimp_rectangle_tool_apply_fixed_rule (GimpRectangleTool *rect_tool)
|
|||
* @min_y:
|
||||
* @max_x:
|
||||
* @max_y: Pointers of where to put constraints. NULL allowed.
|
||||
* @constraint: Wether to return image or layer constraints.
|
||||
* @constraint: Whether to return image or layer constraints.
|
||||
*
|
||||
* Calculates constraint coordinates for image or layer.
|
||||
*/
|
||||
|
|
|
@ -1017,7 +1017,7 @@ gimp_bezier_stroke_is_extendable (GimpStroke *stroke,
|
|||
else
|
||||
{
|
||||
/*
|
||||
* it isnt. if we are on a handle go to the nearest
|
||||
* It isn't. If we are on a handle go to the nearest
|
||||
* anchor and see if we can find an end from it.
|
||||
* Yes, this is tedious.
|
||||
*/
|
||||
|
@ -1130,7 +1130,7 @@ gimp_bezier_stroke_extend (GimpStroke *stroke,
|
|||
else
|
||||
{
|
||||
/*
|
||||
* it isnt. if we are on a handle go to the nearest
|
||||
* It isn't. If we are on a handle go to the nearest
|
||||
* anchor and see if we can find an end from it.
|
||||
* Yes, this is tedious.
|
||||
*/
|
||||
|
|
|
@ -1276,7 +1276,7 @@ gimp_dockbook_set_drag_handler (GimpDockbook *dockbook,
|
|||
* @drag_source: A drag-and-drop source widget
|
||||
*
|
||||
* Gets the dockable associated with a drag-and-drop source. If
|
||||
* successfull, the function will also cleanup the dockable.
|
||||
* successful, the function will also cleanup the dockable.
|
||||
*
|
||||
* Returns: The dockable
|
||||
**/
|
||||
|
|
|
@ -1184,7 +1184,7 @@ gimp_file_dialog_get_dirname_from_uri (const gchar *uri)
|
|||
* assertion failure in gtk+. This scenario occurs if we have opened
|
||||
* an image from the root of a drive and then do Save As.
|
||||
*
|
||||
* Of course, gtk+ shouldn't assert even if we feed it slighly bogus
|
||||
* Of course, gtk+ shouldn't assert even if we feed it slightly bogus
|
||||
* data, and that problem should be fixed, too. But to get the
|
||||
* correct default current folder in the filechooser combo box, we
|
||||
* need to pass it the proper URI for an absolute path anyway. So
|
||||
|
|
|
@ -382,7 +382,7 @@ gimp_tag_entry_activate (GtkEntry *entry)
|
|||
*
|
||||
* Sets tags from @tag_string to @tag_entry. Given tags do not need to
|
||||
* be valid as they can be fixed or dropped automatically. Depending on
|
||||
* selected #GimpTagEntryMode, appropriate action is peformed.
|
||||
* selected #GimpTagEntryMode, appropriate action is performed.
|
||||
**/
|
||||
void
|
||||
gimp_tag_entry_set_tag_string (GimpTagEntry *entry,
|
||||
|
|
|
@ -463,7 +463,7 @@ gimp_tool_options_editor_tool_changed (GimpContext *context,
|
|||
|
||||
/* This will warn if tool info is changed to nothing.
|
||||
* This seems to happen if starting in SWM with tool editor visible
|
||||
* Maybe its normal, and the code should just be writen to
|
||||
* Maybe its normal, and the code should just be written to
|
||||
* handle this case, but someone smarter needs to take a look*/
|
||||
g_return_if_fail(GIMP_IS_TOOL_INFO(tool_info));
|
||||
|
||||
|
|
|
@ -1055,7 +1055,7 @@ fi
|
|||
|
||||
if test "x$with_libtiff" != xno && test -z "$TIFF_LIBS"; then
|
||||
AC_MSG_ERROR([
|
||||
*** Checks for TIFF libary failed. You can build without it by passing
|
||||
*** Checks for TIFF library failed. You can build without it by passing
|
||||
*** --without-libtiff to configure but you won't be able to use TIFFs then.])
|
||||
fi
|
||||
|
||||
|
|
|
@ -272,7 +272,7 @@
|
|||
<title>GimpData Objects</title>
|
||||
|
||||
<para>
|
||||
Object hierarchy of auxilary data objects which share a common
|
||||
Object hierarchy of auxiliary data objects which share a common
|
||||
API. Data objects have an on-disk representation and live in a
|
||||
<link linkend="GimpDataFactory">GimpDataFactory</link> which
|
||||
manages them.
|
||||
|
|
|
@ -10,7 +10,7 @@ commits.
|
|||
|
||||
Detailed description that may span several paragraphs and
|
||||
lines. Like this example description that is more than one
|
||||
line. Focus on explaning _why_ the commit is needed.
|
||||
line. Focus on explaining _why_ the commit is needed.
|
||||
|
||||
or
|
||||
|
||||
|
@ -18,7 +18,7 @@ commits.
|
|||
|
||||
Detailed description that may span several paragraphs and
|
||||
lines. Like this example description that is more than one
|
||||
line. Focus on explaning _why_ the commit is needed.
|
||||
line. Focus on explaining _why_ the commit is needed.
|
||||
|
||||
Look at existing commit messages for examples.
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ Global data follows no strict rules.
|
|||
from GtkPageSetup. The content is identical to what is stored in
|
||||
~/.gimp-2.x/print-page-setup.
|
||||
|
||||
"dcm/XXXX-XXXX-AA" (IMAGE, PERSISTANT)
|
||||
"dcm/XXXX-XXXX-AA" (IMAGE, PERSISTENT)
|
||||
These parasites are stored by the Dicom plug-in and hold the DICOM
|
||||
element information for that image. The format is raw binary data
|
||||
as read from the original image.
|
||||
|
@ -251,11 +251,11 @@ Global data follows no strict rules.
|
|||
------------------------------------------------------------------
|
||||
*** PARASITE FORMAT:
|
||||
|
||||
The parasite data format is not rigidly specified. For non-persistant
|
||||
The parasite data format is not rigidly specified. For non-persistent
|
||||
parasites you are entirely free, as the parasite data does not survive the
|
||||
current gimp session. If you need persistant data, you basically have to
|
||||
current gimp session. If you need persistent data, you basically have to
|
||||
choose between the following alternatives (also, having some standard for
|
||||
non-persistant data might be fine as well):
|
||||
non-persistent data might be fine as well):
|
||||
|
||||
- Cook your own binary data format
|
||||
|
||||
|
@ -270,7 +270,7 @@ non-persistant data might be fine as well):
|
|||
that in the parasite, and later sscanf it again. This often solves most
|
||||
of the problems you might encounter, makes for easier debugging and
|
||||
more robustness (consider the case when you add more entries to your
|
||||
persistant data: older plug-ins might be able to read the relevant
|
||||
persistent data: older plug-ins might be able to read the relevant
|
||||
parts and your application can detect missing fields easily). The
|
||||
drawback is that your data is likely to be larger than a compact binary
|
||||
representation would be. Not much a problem for most applications,
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<para>
|
||||
The <application>GIMP</application> source tree can be divided
|
||||
into the core application, libraries, plug-ins, data files and
|
||||
some stuff that doesn't fit into these catagories. Here is a list
|
||||
some stuff that doesn't fit into these categories. Here is a list
|
||||
of top-level directories:
|
||||
</para>
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ usability features:
|
|||
pressing return or otherwise, it becomes a jellybean, i.e. a single
|
||||
unit, not a bunch of characters. Navigating in GimpTagEntry,
|
||||
deleting tags, etc can be performed much quicker. However, when tag
|
||||
is just beeing entered (not yet confirmed), all actions operate on
|
||||
is just being entered (not yet confirmed), all actions operate on
|
||||
characters as usual.
|
||||
|
||||
* custom auto completion is implemented in GimpTagEntry widget which
|
||||
|
|
|
@ -67,7 +67,7 @@ static void compat_callback_data_free (CompatCallbackData *data);
|
|||
* @spacing: Initial spacing. -1 means to use current spacing.
|
||||
* @paint_mode: Initial paint mode. -1 means to use current paint mode.
|
||||
* @callback: A function to call when the selected brush changes.
|
||||
* @data: A pointer to arbitary data to be used in the call to @callback.
|
||||
* @data: A pointer to arbitrary data to be used in the call to @callback.
|
||||
*
|
||||
* Creates a new #GtkWidget that completely controls the selection of
|
||||
* a #GimpBrush. This widget is suitable for placement in a table in
|
||||
|
|
|
@ -110,7 +110,7 @@ gimp_floating_sel_anchor (gint32 floating_sel_ID)
|
|||
* The floating selection will become the active layer. This procedure
|
||||
* will not work if the floating selection has a different base type
|
||||
* from the underlying image. This might be the case if the floating
|
||||
* selection is above an auxillary channel or a layer mask.
|
||||
* selection is above an auxiliary channel or a layer mask.
|
||||
*
|
||||
* Returns: TRUE on success.
|
||||
**/
|
||||
|
|
|
@ -58,7 +58,7 @@ static void compat_callback_data_free (CompatCallbackData *data);
|
|||
* @title: Title of the dialog to use or %NULL to use the default title.
|
||||
* @font_name: Initial font name.
|
||||
* @callback: A function to call when the selected font changes.
|
||||
* @data: A pointer to arbitary data to be used in the call to @callback.
|
||||
* @data: A pointer to arbitrary data to be used in the call to @callback.
|
||||
*
|
||||
* Creates a new #GtkWidget that completely controls the selection of
|
||||
* a font. This widget is suitable for placement in a table in a
|
||||
|
|
|
@ -60,7 +60,7 @@ static void compat_callback_data_free (CompatCallbackData *data);
|
|||
* @title: Title of the dialog to use or %NULL to use the default title.
|
||||
* @gradient_name: Initial gradient name.
|
||||
* @callback: A function to call when the selected gradient changes.
|
||||
* @data: A pointer to arbitary data to be used in the call to @callback.
|
||||
* @data: A pointer to arbitrary data to be used in the call to @callback.
|
||||
*
|
||||
* Creates a new #GtkWidget that completely controls the selection of
|
||||
* a gradient. This widget is suitable for placement in a table in a
|
||||
|
|
|
@ -58,7 +58,7 @@ static void compat_callback_data_free (CompatCallbackData *data);
|
|||
* @title: Title of the dialog to use or %NULL to use the default title.
|
||||
* @palette_name: Initial palette name.
|
||||
* @callback: A function to call when the selected palette changes.
|
||||
* @data: A pointer to arbitary data to be used in the call to @callback.
|
||||
* @data: A pointer to arbitrary data to be used in the call to @callback.
|
||||
*
|
||||
* Creates a new #GtkWidget that completely controls the selection of
|
||||
* a palette. This widget is suitable for placement in a table in a
|
||||
|
|
|
@ -62,7 +62,7 @@ static void compat_callback_data_free (CompatCallbackData *data);
|
|||
* @title: Title of the dialog to use or %NULL to use the default title.
|
||||
* @pattern_name: Initial pattern name or %NULL to use current selection.
|
||||
* @callback: A function to call when the selected pattern changes.
|
||||
* @data: A pointer to arbitary data to be used in the call to @callback.
|
||||
* @data: A pointer to arbitrary data to be used in the call to @callback.
|
||||
*
|
||||
* Creates a new #GtkWidget that completely controls the selection of
|
||||
* a pattern. This widget is suitable for placement in a table in a
|
||||
|
|
|
@ -71,7 +71,7 @@ static void gimp_rgn_render_region (const GimpPixelRgn *srcPR,
|
|||
* @unused: ignored
|
||||
*
|
||||
* Creates a new #GimpRgnIterator for @drawable. The #GimpRunMode
|
||||
* parameter is ignored. Use gimp_rgn_iterator_free() to free thsi
|
||||
* parameter is ignored. Use gimp_rgn_iterator_free() to free this
|
||||
* iterator.
|
||||
*
|
||||
* Return value: a newly allocated #GimpRgnIterator.
|
||||
|
|
|
@ -56,7 +56,7 @@ struct _GimpPixPipeParams
|
|||
gboolean free_selection_string;
|
||||
};
|
||||
|
||||
/* Initalize with dummy values */
|
||||
/* Initialize with dummy values */
|
||||
void gimp_pixpipe_params_init (GimpPixPipeParams *params);
|
||||
|
||||
/* Parse a string into a GimpPixPipeParams */
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
/*
|
||||
* Find the canonical filename of the executable. Returns the filename
|
||||
* (which must be freed) or NULL on error. If the parameter 'error' is
|
||||
* not NULL, the error code will be stored there, if an error occured.
|
||||
* not NULL, the error code will be stored there, if an error occurred.
|
||||
*/
|
||||
static char *
|
||||
_br_find_exe (GimpBinrelocInitError *error)
|
||||
|
|
|
@ -232,7 +232,7 @@ gimp_config_writer_new_string (GString *string)
|
|||
* system-wide installed gimprc that documents the default settings.
|
||||
*
|
||||
* Since comments have to start at the beginning of a line, this
|
||||
* funtion will insert a newline if necessary.
|
||||
* function will insert a newline if necessary.
|
||||
*
|
||||
* Since: GIMP 2.4
|
||||
**/
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
/* This file is evil. Its purpose is to keep GIMP's gtk3-port branch
|
||||
* managable, and contains functions that are only in GTK+ 3.x but
|
||||
* manageable, and contains functions that are only in GTK+ 3.x but
|
||||
* are *not* in GTK+ 2.x. Please just ignore the uglyness and move
|
||||
* along. This file will be removed in GIMP 3.
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
/*
|
||||
* This implements a widget derived from GtkTable that visualizes
|
||||
* it's state with two different pixmaps showing a closed and a
|
||||
* broken chain. It's intented to be used with the GimpSizeEntry
|
||||
* broken chain. It's intended to be used with the GimpSizeEntry
|
||||
* widget. The usage is quite similar to the one the GtkToggleButton
|
||||
* provides.
|
||||
*/
|
||||
|
|
|
@ -158,7 +158,7 @@ static void gimp_eevl_error (GimpEevl
|
|||
* @data: Data passed to unit resolver.
|
||||
* @error_pos: Will point to the poisiton within the string,
|
||||
* before which the parse / evaluation error
|
||||
* occured. Will be set to null of no error occured.
|
||||
* occurred. Will be set to null of no error occurred.
|
||||
* @error_message: Will point to a static string with a semi-descriptive
|
||||
* error message if parsing / evaluation failed.
|
||||
*
|
||||
|
|
|
@ -461,7 +461,7 @@ gimp_int_combo_box_get_active (GimpIntComboBox *combo_box,
|
|||
* @callback: a callback to connect to the @combo_box's "changed" signal
|
||||
* @data: a pointer passed as data to g_signal_connect()
|
||||
*
|
||||
* A convenience function that sets the inital @value of a
|
||||
* A convenience function that sets the initial @value of a
|
||||
* #GimpIntComboBox and connects @callback to the "changed"
|
||||
* signal.
|
||||
*
|
||||
|
|
|
@ -800,7 +800,7 @@ gimp_number_pair_entry_set_user_override (GimpNumberPairEntry *entry,
|
|||
* gimp_number_pair_entry_get_user_override:
|
||||
* @entry: A #GimpNumberPairEntry widget.
|
||||
*
|
||||
* Returns: Wether or not the the widget is in user overridden mode.
|
||||
* Returns: Whether or not the the widget is in user overridden mode.
|
||||
*
|
||||
* Since: GIMP 2.4
|
||||
**/
|
||||
|
|
|
@ -1671,7 +1671,7 @@ gimp_preview_area_set_colormap (GimpPreviewArea *area,
|
|||
* @height: the maximum height in pixels or -1 to unset the limit
|
||||
*
|
||||
* Usually a #GimpPreviewArea fills the size that it is
|
||||
* allocated. This funtion allows you to limit the preview area to a
|
||||
* allocated. This function allows you to limit the preview area to a
|
||||
* maximum size. If a larger size is allocated for the widget, the
|
||||
* preview will draw itself centered into the allocated area.
|
||||
*
|
||||
|
|
|
@ -89,7 +89,7 @@ main ()
|
|||
gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
|
||||
printf ("*** was found! If gimpprint-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GIMP-PRINT. You may also be able to fix the\n");
|
||||
printf("*** error by modifying your LD_LIBRARY_PATH enviroment variable, or by\n");
|
||||
printf("*** error by modifying your LD_LIBRARY_PATH environment variable, or by\n");
|
||||
printf("*** editing /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gimpprint-config was wrong, set the environment variable GIMPPRINT_CONFIG\n");
|
||||
|
@ -129,7 +129,7 @@ main ()
|
|||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GIMP-PRINT, but you can also set the GIMPPRINT_CONFIG environment to\n");
|
||||
printf("*** point to the correct copy of gimpprint-config. (In this case, you will have\n");
|
||||
printf("*** to modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** to modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
|
||||
/* Don't ask me why its called "Struc". The first .c-file
|
||||
* just happend to be called struc.c
|
||||
* just happened to be called struc.c
|
||||
*
|
||||
* Some code for the dialog was taken from Motion Blur plug-in for
|
||||
* GIMP 0.99 by Daniel Skarda (0rfelyus@atrey.karlin.mff.cuni.cz)
|
||||
|
|
|
@ -2781,7 +2781,7 @@ p_add_layer (gint width,
|
|||
l_new_drawable = gimp_drawable_get (l_new_layer_id);
|
||||
if (!l_new_drawable)
|
||||
{
|
||||
g_printerr ("p_add_layer: cant get new_drawable\n");
|
||||
g_printerr ("p_add_layer: can't get new_drawable\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -815,7 +815,7 @@ LZWReadByte (FILE *fd,
|
|||
;
|
||||
|
||||
if (count != 0)
|
||||
g_print ("GIF: missing EOD in data stream (common occurence)");
|
||||
g_print ("GIF: missing EOD in data stream (common occurrence)");
|
||||
|
||||
return -2;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
* It's still not very useful, but I did manage to significantly improve my
|
||||
* C programming skills in the process, so it was worth it.
|
||||
*
|
||||
* If you happen to find it usefull I would appreciate any email about it.
|
||||
* If you happen to find it useful I would appreciate any email about it.
|
||||
* - Daniel Dunbar
|
||||
* ddunbar@diads.com
|
||||
*/
|
||||
|
|
|
@ -407,7 +407,7 @@ run (const gchar *name,
|
|||
|
||||
if (cairo_surface_status (pdf_file) != CAIRO_STATUS_SUCCESS)
|
||||
{
|
||||
g_message (_("An error occured while creating the PDF file:\n"
|
||||
g_message (_("An error occurred while creating the PDF file:\n"
|
||||
"%s\n"
|
||||
"Make sure you entered a valid filename and that the "
|
||||
"selected location isn't read only!"),
|
||||
|
@ -584,7 +584,7 @@ run (const gchar *name,
|
|||
}
|
||||
|
||||
/******************************************************/
|
||||
/* Begining of parameter handling functions */
|
||||
/* Beginning of parameter handling functions */
|
||||
/******************************************************/
|
||||
|
||||
/* A function that takes care of loading the basic parameters
|
||||
|
@ -733,7 +733,7 @@ validate_image_list (void)
|
|||
|
||||
|
||||
/******************************************************/
|
||||
/* Begining of GUI functions */
|
||||
/* Beginning of GUI functions */
|
||||
/******************************************************/
|
||||
|
||||
/* The main GUI function for saving single-paged PDFs */
|
||||
|
@ -1157,7 +1157,7 @@ recount_pages (void)
|
|||
|
||||
|
||||
/******************************************************/
|
||||
/* Begining of the actual PDF functions */
|
||||
/* Beginning of the actual PDF functions */
|
||||
/******************************************************/
|
||||
|
||||
static cairo_surface_t *
|
||||
|
|
|
@ -1290,7 +1290,7 @@ page_in_list (gchar *list,
|
|||
*(c0++) = *c1;
|
||||
}
|
||||
else if ((*c1 == '-') || (*c1 == ','))
|
||||
{ /* Try to remove double occurances of these characters */
|
||||
{ /* Try to remove double occurrences of these characters */
|
||||
if (c0 == tmplist)
|
||||
{
|
||||
*(c0++) = *c1;
|
||||
|
@ -1514,7 +1514,7 @@ ps_open (const gchar *filename,
|
|||
*urx = width - 1;
|
||||
*ury = height - 1;
|
||||
|
||||
/* Check if the file is a PDF. For PDF, we cant set geometry */
|
||||
/* Check if the file is a PDF. For PDF, we can't set geometry */
|
||||
is_pdf = FALSE;
|
||||
|
||||
/* Check if it is a EPS-file */
|
||||
|
|
|
@ -776,7 +776,7 @@ read_general_image_attribute_block (FILE *f,
|
|||
/* TODO: This causes the chunk size to be ignored. Better verify if it is
|
||||
* valid since it might create read offset problems with the
|
||||
* "expansion field" (which follows after the "graphics content" and
|
||||
* is of unkown size).
|
||||
* is of unknown size).
|
||||
*/
|
||||
fseek (f, 4, SEEK_CUR);
|
||||
}
|
||||
|
|
|
@ -482,7 +482,7 @@ static GtkWidget *size_label = NULL;
|
|||
|
||||
/* This function retrieves the pixel size from an SVG file. Parsing
|
||||
* stops after the first chunk that provided the parser with enough
|
||||
* information to determine the size. This is usally the opening
|
||||
* information to determine the size. This is usually the opening
|
||||
* <svg> element and should thus be in the first chunk (1024 bytes).
|
||||
*/
|
||||
static gboolean
|
||||
|
|
|
@ -1428,7 +1428,7 @@ save_image (const gchar *filename,
|
|||
/* temporary buffer which store pixel data (guchar * bpp = guint32) */
|
||||
guint32 pixelbuf[SQR(MAX_SAVE_DIMENSION)];
|
||||
|
||||
/* This will be used in set_size_and_delay fucntion later.
|
||||
/* This will be used in set_size_and_delay function later.
|
||||
To define this in that function is easy to read but place here to
|
||||
reduce overheads. */
|
||||
re = g_regex_new ("[(][ ]*(\\d+)[ ]*(px|ms)[ ]*[)]",
|
||||
|
@ -1814,7 +1814,7 @@ premultiply_alpha (guint32 pixel)
|
|||
}
|
||||
|
||||
/* set comments to cursor from xmcparas.comments. */
|
||||
/* don't forget to XcursorCommentsDestory returned pointer later. */
|
||||
/* don't forget to XcursorCommentsDestroy returned pointer later. */
|
||||
static XcursorComments *
|
||||
set_cursor_comments (void)
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
* Note, the algorithm does not render into an alpha channel.
|
||||
* Therefore, changed RGB* to RGB in the capabilities.
|
||||
* Someone who actually knows something about graphics should
|
||||
* take a look to see why this doesnt render on alpha channel :)
|
||||
* take a look to see why this doesn't render on alpha channel :)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -715,7 +715,7 @@ mrt4 (guchar *s,
|
|||
/*=================================================================
|
||||
CenterFrame
|
||||
|
||||
A frame that contains one preview and 2 entrys, used for positioning
|
||||
A frame that contains one preview and 2 entries, used for positioning
|
||||
of the center of Flare.
|
||||
This whole thing is just too ugly, but I don't want to dig into it
|
||||
- tim
|
||||
|
|
|
@ -633,7 +633,7 @@ create_headers (FILE *mailpipe)
|
|||
{
|
||||
/* create all the mail header stuff. Feel free to add your own */
|
||||
/* It is advisable to leave the X-Mailer header though, as */
|
||||
/* there is a possibilty of a Gimp mail scanner/reader in the */
|
||||
/* there is a possibility of a Gimp mail scanner/reader in the */
|
||||
/* future. It will probabaly need that header. */
|
||||
|
||||
fprintf (mailpipe, "To: %s \n", mail_info.receipt);
|
||||
|
|
|
@ -1624,7 +1624,7 @@ grid_render (GimpDrawable *drawable,
|
|||
process_poly (&poly, mvals.tile_allow_split, drawable, col, vary,
|
||||
x1, y1, x2, y2, dest);
|
||||
|
||||
/* The auxillary hexagon */
|
||||
/* The auxiliary hexagon */
|
||||
polygon_reset (&poly);
|
||||
polygon_add_point (&poly,
|
||||
grid[index + 2].x,
|
||||
|
@ -1658,7 +1658,7 @@ grid_render (GimpDrawable *drawable,
|
|||
process_poly (&poly, mvals.tile_allow_split, drawable, col, vary,
|
||||
x1, y1, x2, y2, dest);
|
||||
|
||||
/* The auxillary octagon */
|
||||
/* The auxiliary octagon */
|
||||
polygon_reset (&poly);
|
||||
polygon_add_point (&poly,
|
||||
grid[index + 3].x,
|
||||
|
@ -1704,7 +1704,7 @@ grid_render (GimpDrawable *drawable,
|
|||
process_poly (&poly, FALSE, drawable, col, vary,
|
||||
x1, y1, x2, y2, dest);
|
||||
|
||||
/* The auxillary square */
|
||||
/* The auxiliary square */
|
||||
polygon_reset (&poly);
|
||||
polygon_add_point (&poly,
|
||||
grid[index + 5].x,
|
||||
|
|
|
@ -109,7 +109,7 @@ typedef struct
|
|||
} spot_info_t;
|
||||
|
||||
|
||||
/* This is all the info needed per spot function. Functions are refered to
|
||||
/* This is all the info needed per spot function. Functions are referred to
|
||||
* by their index into this array. */
|
||||
static spot_info_t spotfn_list[] =
|
||||
{
|
||||
|
|
|
@ -410,7 +410,7 @@ nova_dialog (GimpDrawable *drawable)
|
|||
/*=================================================================
|
||||
CenterFrame
|
||||
|
||||
A frame that contains one preview and 2 entrys, used for positioning
|
||||
A frame that contains one preview and 2 entries, used for positioning
|
||||
of the center of Nova.
|
||||
==================================================================*/
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ query (void)
|
|||
"Propagates dark values in an image based on "
|
||||
"each pixel's relative darkness to a neighboring average. The idea behind "
|
||||
"this filter is to give the look of a photocopied version of the image, "
|
||||
"with toner transfered based on the relative darkness of a particular "
|
||||
"with toner transferred based on the relative darkness of a particular "
|
||||
"region. This is achieved by darkening areas of the image which are "
|
||||
"measured to be darker than a neighborhood average and setting other "
|
||||
"pixels to white. In this way, sufficiently large shifts in intensity "
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
* - rewrite the main function to make it work on tiles rather than
|
||||
* process the image row by row. This should result in a significant
|
||||
* speedup (thanks to quartic for this suggestion).
|
||||
* - do something magical so that only one rotate can be occuring at a time!
|
||||
* - do something magical so that only one rotate can be occurring at a time!
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -90,14 +90,14 @@ typedef struct
|
|||
gint32 orig_inten; /* TRUE or FALSE */
|
||||
gint32 rnd_subcolors; /* TRUE or FALSE */
|
||||
gint32 guess_missing; /* TRUE or FALSE */
|
||||
gint32 lvl_in_min; /* 0 upto 254 */
|
||||
gint32 lvl_in_max; /* 1 upto 255 */
|
||||
float lvl_in_gamma; /* 0.1 upto 10.0 (1.0 == linear) */
|
||||
gint32 lvl_out_min; /* 0 upto 254 */
|
||||
gint32 lvl_out_max; /* 1 upto 255 */
|
||||
gint32 lvl_in_min; /* 0 up to 254 */
|
||||
gint32 lvl_in_max; /* 1 up to 255 */
|
||||
float lvl_in_gamma; /* 0.1 up to 10.0 (1.0 == linear) */
|
||||
gint32 lvl_out_min; /* 0 up to 254 */
|
||||
gint32 lvl_out_max; /* 1 up to 255 */
|
||||
|
||||
float tol_col_err; /* 0.0% upto 100.0%
|
||||
* this is uesd to findout colors of the same
|
||||
float tol_col_err; /* 0.0% up to 100.0%
|
||||
* this is used to findout colors of the same
|
||||
* colortone, while analyzing sample colors,
|
||||
* It does not make much sense for the user to adjust this
|
||||
* value. (I used a param file to findout a suitable value)
|
||||
|
|
|
@ -260,7 +260,7 @@ query (void)
|
|||
"On Mac OS X, when called non-interactively, the plugin"
|
||||
"only can take screenshots of the entire root window."
|
||||
"Grabbing a window or a region is not supported"
|
||||
"non-interactively. To grab a region or a paticular"
|
||||
"non-interactively. To grab a region or a particular"
|
||||
"window, you need to use the interactive mode."
|
||||
#endif
|
||||
,
|
||||
|
|
|
@ -224,7 +224,7 @@ run (const gchar *name,
|
|||
/* Possibly retrieve data */
|
||||
gimp_get_data (PLUG_IN_PROC, &svals);
|
||||
|
||||
/* In order to prepare the dialog I need to know wether it's grayscale or not */
|
||||
/* In order to prepare the dialog I need to know whether it's grayscale or not */
|
||||
drawable = gimp_drawable_get (param[2].data.d_drawable);
|
||||
thePreview = mw_preview_build_virgin(drawable);
|
||||
drawable_is_grayscale = gimp_drawable_is_gray (drawable->drawable_id);
|
||||
|
|
|
@ -356,7 +356,7 @@ init (void)
|
|||
/* Create an array of random gradient vectors uniformly on the unit sphere */
|
||||
|
||||
gr = g_rand_new ();
|
||||
g_rand_set_seed (gr, 1); /* Use static seed, to get reproducable results */
|
||||
g_rand_set_seed (gr, 1); /* Use static seed, to get reproducible results */
|
||||
|
||||
for (i = 0; i < B; i++)
|
||||
{
|
||||
|
|
|
@ -255,7 +255,7 @@ box_blur_line (const gint box_width, /* Width of the kernel */
|
|||
{
|
||||
gint i;
|
||||
gint lead; /* This marks the leading edge of the kernel */
|
||||
gint output; /* This marks the center of ther kernel */
|
||||
gint output; /* This marks the center of the kernel */
|
||||
gint trail; /* This marks the pixel BEHIND the last 1 in the
|
||||
kernel; it's the pixel to remove from the accumulator. */
|
||||
gint ac[bpp]; /* Accumulator for each channel */
|
||||
|
@ -742,7 +742,7 @@ gen_convolve_matrix (gdouble radius,
|
|||
|
||||
/* we want to generate a matrix that goes out a certain radius
|
||||
* from the center, so we have to go out ceil(rad-0.5) pixels,
|
||||
* inlcuding the center pixel. Of course, that's only in one direction,
|
||||
* including the center pixel. Of course, that's only in one direction,
|
||||
* so we have to go the same amount in the other direction, but not count
|
||||
* the center pixel again. So we double the previous result and subtract
|
||||
* one.
|
||||
|
|
|
@ -1309,7 +1309,7 @@ fits_eval_pixrange (FILE *fp,
|
|||
gboolean nan_found = FALSE;
|
||||
|
||||
if (fseek (fp, hdu->data_offset, SEEK_SET) < 0)
|
||||
FITS_RETURN ("fits_eval_pixrange: cant position file", -1);
|
||||
FITS_RETURN ("fits_eval_pixrange: can't position file", -1);
|
||||
|
||||
bpp = hdu->bpp; /* Number of bytes per pixel */
|
||||
nelem = hdu->udata_size / bpp; /* Number of data elements */
|
||||
|
@ -2408,7 +2408,7 @@ pgmraw_to_fits (gchar *pgmfile,
|
|||
if ((buffer[0] != 'P') || (buffer[1] != '5'))
|
||||
goto err_return;
|
||||
|
||||
/* Skip comments upto width/height */
|
||||
/* Skip comments up to width/height */
|
||||
do
|
||||
{
|
||||
if (fgets (buffer, sizeof (buffer), pgmin) == NULL)
|
||||
|
@ -2422,7 +2422,7 @@ pgmraw_to_fits (gchar *pgmfile,
|
|||
if ((width < 1) || (height < 1))
|
||||
goto err_return;
|
||||
|
||||
/* Skip comments upto maxval */
|
||||
/* Skip comments up to maxval */
|
||||
do
|
||||
{
|
||||
if (fgets (buffer, sizeof (buffer), pgmin) == NULL)
|
||||
|
|
|
@ -733,7 +733,7 @@ save_image (const gchar *filename,
|
|||
fli_header.depth = 8; /* I've never seen a depth != 8 */
|
||||
fli_header.flags = 3;
|
||||
fli_header.speed = 1000 / 25;
|
||||
fli_header.created = 0; /* program ID. not neccessary... */
|
||||
fli_header.created = 0; /* program ID. not necessary... */
|
||||
fli_header.updated = 0; /* date in MS-DOS format. ignore...*/
|
||||
fli_header.aspect_x = 1; /* aspect ratio. Will be added as soon.. */
|
||||
fli_header.aspect_y = 1; /* ... as GIMP supports it. */
|
||||
|
@ -786,7 +786,7 @@ save_image (const gchar *filename,
|
|||
|
||||
src_row = g_malloc (cols * bytes);
|
||||
|
||||
/* now paste it into the framebuffer, with the neccessary offset */
|
||||
/* now paste it into the framebuffer, with the necessary offset */
|
||||
for (yc = 0, yy = offset_y; yc < rows; yc++, yy++)
|
||||
{
|
||||
if (yy >= 0 && yy < fli_header.height)
|
||||
|
|
|
@ -1402,7 +1402,7 @@ add_layers (const gint32 image_id,
|
|||
layer_size = lm_w * lm_h;
|
||||
pixels = g_malloc (layer_size);
|
||||
IFDBG(3) g_debug ("Allocate Pixels %d", layer_size);
|
||||
/* Crop mask at layer boundry */
|
||||
/* Crop mask at layer boundary */
|
||||
IFDBG(3) g_debug ("Original Mask %d %d %d %d", lm_x, lm_y, lm_w, lm_h);
|
||||
if (lm_x < 0
|
||||
|| lm_y < 0
|
||||
|
@ -1973,7 +1973,7 @@ convert_1_bit (const gchar *src,
|
|||
guint32 columns)
|
||||
{
|
||||
/* Convert bits to bytes left to right by row.
|
||||
Rows are padded out to a byte boundry.
|
||||
Rows are padded out to a byte boundary.
|
||||
*/
|
||||
guint32 row_pos = 0;
|
||||
gint i, j;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#define PSD_DEBUG 0
|
||||
#define IFDBG(level) if (PSD_DEBUG >= level)
|
||||
|
||||
/* Set to FALSE to supress pop-up warnings about lossy file conversions */
|
||||
/* Set to FALSE to suppress pop-up warnings about lossy file conversions */
|
||||
#define CONVERSION_WARNINGS FALSE
|
||||
|
||||
#define LOAD_PROC "file-psd-load"
|
||||
|
|
|
@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|||
|
||||
# define SGI_COMP_NONE 0 /* No compression */
|
||||
# define SGI_COMP_RLE 1 /* Run-length encoding */
|
||||
# define SGI_COMP_ARLE 2 /* Agressive run-length encoding */
|
||||
# define SGI_COMP_ARLE 2 /* Aggressive run-length encoding */
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -63,7 +63,7 @@ If you "Cancel", nothing will be done to the file.
|
|||
|
||||
The "normal" brushes are simply grayscale PGM files, which can be created
|
||||
with almost any program, including xv and of course GIMP. A number of
|
||||
brushes is included, so I guess a more in-depth explaination is not
|
||||
brushes is included, so I guess a more in-depth explanation is not
|
||||
necessary. And, for those who might want to try it, GIMPressionist can
|
||||
also read GBR files, which is GIMP's native brush format. (You still
|
||||
need to copy them to the GIMPressionist's brush-directory, though. This
|
||||
|
|
|
@ -4864,7 +4864,7 @@ gradient_get_default (const gchar *name,
|
|||
currently 6 gradient menus.)
|
||||
|
||||
However, this caching routine is not too good. It picks up just
|
||||
GRADIENT_RESOLUTION samples everytime, and rescales it later. And
|
||||
GRADIENT_RESOLUTION samples every time, and rescales it later. And
|
||||
cached values are stored in guchar array. No accuracy.
|
||||
*/
|
||||
static void
|
||||
|
|
|
@ -3,7 +3,7 @@ The lighting plug-in "todo"-list:
|
|||
=================================
|
||||
|
||||
* Supersampling/antialiasing
|
||||
* Bilinear filtering of enviroment map
|
||||
* Bilinear filtering of environment map
|
||||
* Refraction back in?
|
||||
* Support for any-sized non-gray bump-maps.
|
||||
* Support for gray or alpha-channeled env-maps.
|
||||
|
|
|
@ -156,7 +156,7 @@ plane_intersect (GimpVector3 *dir,
|
|||
imat[1][3] * imat[2][1] * imat[0][0] -
|
||||
imat[2][3] * imat[0][1] * imat[1][0]);
|
||||
|
||||
/* Now we have the simultanous solutions. Lets compute the unknowns */
|
||||
/* Now we have the simultaneous solutions. Lets compute the unknowns */
|
||||
/* (skip u&v if t is <0, this means the intersection is behind us) */
|
||||
/* ================================================================ */
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* * program cleaned and reorganized by mzraly@ldbvax.dnet.lotus.com
|
||||
* *
|
||||
* * don't make people pay for this, or I'll jump up and down and
|
||||
* * yell and scream and embarass you in front of your friends...
|
||||
* * yell and scream and embarrass you in front of your friends...
|
||||
*/
|
||||
|
||||
/* I've put a HTMLized version of the FAQ up at
|
||||
|
|
|
@ -51,7 +51,7 @@ static void exif_foreach_entry_cb (ExifEntry *entry,
|
|||
* Load the Exif data, which is attached to the image as a parasite. The
|
||||
* parsed Exif data is merged into the XMP model.
|
||||
*
|
||||
* Return value: %TRUE on success, %FALSE if an error occured during
|
||||
* Return value: %TRUE on success, %FALSE if an error occurred during
|
||||
* reading/writing
|
||||
*
|
||||
**/
|
||||
|
|
|
@ -1118,7 +1118,7 @@ CLASS="FUNCTION"
|
|||
>()</DT
|
||||
><DD
|
||||
><P
|
||||
>Stops execution imediately and exits.</P
|
||||
>Stops execution immediately and exits.</P
|
||||
></DD
|
||||
><DT
|
||||
><TT
|
||||
|
@ -1500,4 +1500,4 @@ VALIGN="top"
|
|||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
||||
>
|
||||
|
|
|
@ -189,7 +189,7 @@ CLASS="FUNCTION"
|
|||
>proc_blurb</DT
|
||||
><DD
|
||||
><P
|
||||
>A short peice of information about the procedure.</P
|
||||
>A short piece of information about the procedure.</P
|
||||
></DD
|
||||
><DT
|
||||
>proc_help</DT
|
||||
|
@ -358,4 +358,4 @@ VALIGN="top"
|
|||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
||||
>
|
||||
|
|
|
@ -989,7 +989,7 @@ CLASS="VARIABLELIST"
|
|||
>proc_blurb</DT
|
||||
><DD
|
||||
><P
|
||||
>A short peice of information about the procedure.</P
|
||||
>A short piece of information about the procedure.</P
|
||||
></DD
|
||||
><DT
|
||||
>proc_help</DT
|
||||
|
@ -2102,7 +2102,7 @@ CLASS="FUNCTION"
|
|||
>()</DT
|
||||
><DD
|
||||
><P
|
||||
>Stops execution imediately and exits.</P
|
||||
>Stops execution immediately and exits.</P
|
||||
></DD
|
||||
><DT
|
||||
><TT
|
||||
|
|
|
@ -380,7 +380,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]])
|
|||
<VarListEntry>
|
||||
<term>proc_blurb</term>
|
||||
<ListItem>
|
||||
<Para>A short peice of information about the procedure.</Para>
|
||||
<Para>A short piece of information about the procedure.</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
|
@ -851,7 +851,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]])
|
|||
<VarListEntry>
|
||||
<Term><function>gimp.quit</function>()</Term>
|
||||
<ListItem>
|
||||
<Para>Stops execution imediately and exits.</Para>
|
||||
<Para>Stops execution immediately and exits.</Para>
|
||||
</listitem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
|
|
|
@ -182,7 +182,7 @@ def load_ora(filename, raw_filename):
|
|||
if not path.lower().endswith('.png'):
|
||||
continue
|
||||
if not name:
|
||||
# use the filename without extention as name
|
||||
# use the filename without extension as name
|
||||
n = os.path.basename(path)
|
||||
name = os.path.splitext(n)[0]
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ portable to different operating systems.
|
|||
(2) for directories, and FILE_TYPE_LINK (3) for symbolic
|
||||
links. The value FILE_TYPE_OTHER (0) is returned if the file
|
||||
is of some other type, does not exist, or if the user does
|
||||
not have sufficient priveleges to allow the file type to be
|
||||
not have sufficient privileges to allow the file type to be
|
||||
determined.
|
||||
|
||||
(file-size filename)
|
||||
|
|
|
@ -126,7 +126,7 @@ static const NamedConstant const script_constants[] =
|
|||
};
|
||||
|
||||
/* The following constants are deprecated. They are
|
||||
* included to keep backwards compatability with
|
||||
* included to keep backwards compatibility with
|
||||
* older scripts used with version 2.0 of GIMP.
|
||||
*/
|
||||
static const NamedConstant const old_constants[] =
|
||||
|
|
|
@ -183,7 +183,7 @@ script_fu_run (const gchar *name,
|
|||
*/
|
||||
if (strcmp (name, "extension-script-fu") == 0)
|
||||
{
|
||||
/* Setup auxillary temporary procedures for the base extension */
|
||||
/* Setup auxiliary temporary procedures for the base extension */
|
||||
script_fu_extension_init ();
|
||||
|
||||
/* Init the interpreter and register scripts */
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
; 1.01: now works on offset layers.
|
||||
; 1.02: has crop-pixel-border option to trim one pixel off each edge of the
|
||||
; bevelled image. Bumpmapping leaves edge pixels unchanged, which
|
||||
; looks bad. Oddly, this is not apparant in GIMP - you have to
|
||||
; looks bad. Oddly, this is not apparent in GIMP - you have to
|
||||
; save the image and load it into another viewer. First noticed in
|
||||
; Nutscrape.
|
||||
; Changed path (removed "filters/").
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
; Genrates what looks a little like the back of an old circuit board.
|
||||
; Looks even better when gradmapped with a suitable gradient.
|
||||
;
|
||||
; This script doesnt handle or color combos well. ie, black/black
|
||||
; doesnt work..
|
||||
; This script doesn't handle or color combos well. ie, black/black
|
||||
; doesn't work..
|
||||
; The effect seems to work best on odd shaped selections because of some
|
||||
; limitations in the maze codes selection handling ablity
|
||||
;
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
)
|
||||
|
||||
; If a string num-str is shorter then size, pad it with pad-str in the
|
||||
; begining untill it's at least size long
|
||||
; beginning until it's at least size long
|
||||
(define (pre-pad-number num-str size pad-str)
|
||||
(if (< (string-length num-str) size)
|
||||
(pre-pad-number (string-append pad-str num-str) size pad-str)
|
||||
|
@ -102,7 +102,7 @@
|
|||
", " (number->string (color-get-blue color)) ")")
|
||||
)
|
||||
|
||||
; Convert a color to a simple pair of braces with comma seperated values
|
||||
; Convert a color to a simple pair of braces with comma separated values
|
||||
; '(255 255 255) => "(255, 255, 255)"
|
||||
(define (color-rgb-to-comma-seperated-list color)
|
||||
(string-append "(" (number->string (color-get-red color))
|
||||
|
@ -142,7 +142,7 @@
|
|||
(string->list str)))
|
||||
)
|
||||
|
||||
; A function that recieves the a file-name, and filters out all the
|
||||
; A function that receives the a file-name, and filters out all the
|
||||
; character that shouldn't appear in file names. Then, it makes sure
|
||||
; the remaining name isn't only white-spaces. If it's only
|
||||
; white-spaces, the function returns false. Otherwise, it returns the
|
||||
|
@ -171,7 +171,7 @@
|
|||
)
|
||||
|
||||
; This function does the same as name-alpha-numeric, with an added
|
||||
; operation - it removes any numbers from the begining
|
||||
; operation - it removes any numbers from the beginning
|
||||
(define (name-standard str)
|
||||
(let ((cleaned (clean str '())))
|
||||
(while (char-numeric? (string-ref cleaned 0))
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
;
|
||||
;All items defined in this file except for the random number routines are
|
||||
;deprecated. Existing scripts should be updated to avoid the use of the
|
||||
;compability functions and define statements which follow the random number
|
||||
;compatibility functions and define statements which follow the random number
|
||||
;generator routines.
|
||||
;
|
||||
;The items marked as deprecated at the end of this file may be removed
|
||||
|
@ -125,7 +125,7 @@
|
|||
)
|
||||
|
||||
|
||||
;Items below this line are for compatability with Script-Fu but
|
||||
;Items below this line are for compatibility with Script-Fu but
|
||||
;may be useful enough to keep around
|
||||
|
||||
(define (delq item lis)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
; Copyright (c) 1997 Adrian Likins
|
||||
; aklikins@eos.ncsu.edu
|
||||
;
|
||||
; Takes the Current selection and saves it as a seperate image.
|
||||
; Takes the Current selection and saves it as a separate image.
|
||||
;
|
||||
;
|
||||
; This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -147,7 +147,7 @@ Version 1.26
|
|||
try a more gradual approach next time.
|
||||
|
||||
Version 1.25
|
||||
Types have been homogenized to be able to accomodate a different
|
||||
Types have been homogenized to be able to accommodate a different
|
||||
representation. Plus, promises are no longer closures. Unfortunately,
|
||||
I discovered that continuations and force/delay do not pass the SCM
|
||||
test (and never did)... However, on the bright side, what little
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue