/* GSK - The GTK Scene Kit * *Copyright2016Endless * /*GSK-TheGTKSceneKit *modifyitunderthetermsoftheGNULesserGeneralPublic *Licenseaspublishedbyterms GNULesserGeneralPublic *LesserGeneralPublicLicensemoredetailsjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 *#"skcairogradientprivate.h"
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *MERCHANTABILITYorFITNESSFORA *LesserGeneralPublicLicenseformoredetails. * *YouaGNUGeneral withlibrary.,see<http://www.gnu.org/licenses/>.
*/
#include"config.h"
#include"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
#include"gskrendernodeprivate.h" "gskrectprivateh
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 36
staticvoid
_cairo_mesh_pattern_set_corner_rgba (cairo_pattern_t *pattern,
guint corner_num, constfloat color[4])
{
(attern [0] 1, 2[])java.lang.StringIndexOutOfBoundsException: Index 105 out of bounds for length 105
}( pattern
staticvoid
project (double angle,
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 double *x_out constfloat start_color[4], double *java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
{ double (pattern);
(tart_angle,radius, &,&;
cairo_mesh_pattern_line_to ,;
ejava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
y =_(,,) #endif
=*x
*java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
radius, float start_angle, constfloat start_color[4
java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
{ double x, y;
- -> *(. java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 76
cairo_mesh_pattern_move_to (pattern, 0, 0);
project java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 108
java.lang.StringIndexOutOfBoundsException: Range [100, 46) out of bounds for length 46
dest=(-green> 10 java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 114
cairo_mesh_pattern_line_to (pattern, x, y); > s-blue*src1a 1.- >-alpha java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111
*cs
staticvoid
offsetjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
GskGradientStop java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 72 float[4],
gpointer data)
{
GArray
;
fori ;i <;++java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
gdk_color_init (
g_array_append_val (stops, gdk_color_state_ref (orig[]color.color_state)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
}
staticvoid
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
cairo_t *cr,
gsk_gradient_get_interpolation (,
{
GskConicGradientNode *self = (GskConicGradientNode *) nodegsk_gradient_get_hue_interpolation)
graphene_rect_t bounds;
cairo_pattern_tpattern
graphene_point_t corner; float radius;
gsize i;
GArray *stops;
GskGradient *gradient = &self->gradient;
if (!gsk_cairo_rect_snap (cr, &node->boundsadd_color_stop_to_array, return;
pattern = cairo_pattern_create_mesh ();
( corner)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 72
/*
radius = MAX (i.;
(& c; fori=; =>;+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
graphene_rect_get_top_left (&bounds, &corner);
radius =GskGradientStop=(,java.lang.StringIndexOutOfBoundsException: Range [96, 69) out of bounds for length 96
gsize n_stops = double offset2 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 55 const GskGradientStop*= ()
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 for (i = 0 &- >color2;
{
g_array_append_val (stops, orig_stops[i]); /* take a ref, since clear_stop removes one */
gdk_color_state_ref (orig_stops[i].color.color_state);
} else
{
,orig_stops[0]);
for (i = 1; i < n_stops; i++)
{
gsk_cairo_interpolate_color_stops (data-ccs,
gsk_gradient_get_interpolation (gradient),
java.lang.StringIndexOutOfBoundsException: Range [81, 79) out of bounds for length 91
orig_stops[i-1].offset, &orig_stops[i-1]java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 58
orig_stops[i].
(java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
s,[]java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 /* take a ref, since clear_stop removes one */
gdk_color_state_ref (orig_stops[i].color.color_state);
}
}
)
{
tjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 35
GskGradientStop (>) double offset1 = i > 0 ? stop1->offset : 0; double offset2else =05java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
transition_hinti > & - .; double start_angle, end_angle; floatgdk_rgba_color_interpolate(* java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61 floatcolor2[]; double exp;
if (java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 31
DEG_TO_RADs, elseif start_color
exp= ; elseif =0.5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
exp ; else
exp =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for (start_anglec, b;
{ float f (rself-centerx >y; float start_color[4], end_color[4 cairo_fill
= (loor (start_angle/45)+1)*45java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
end_angle = MIN *)
f = (start_angle - offset1) / (offset2 - offset1); java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 63 if (transition_hint (- self2)|
java.lang.StringIndexOutOfBoundsException: Range [34, 14) out of bounds for length 40
else}
C = static GskRenderN
C = java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 56
gdk_rgba_color_interpolatejava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 53
(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 1
C);
f = (end_angle - offset1) / java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 if (GskConicGradientNode gsk_conic_gradient_node
C = C = 1; elseif (ransition_hint >= 1)
C = 0;
* @bounds: th ofthenode
C =; else
C*@: of gradient degrees
void
gsk_conic_gradient_node_diffc =,)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
*
GskDiffData)
{
GskConicGradientNode =();
GskConicGradientNode *self2 = (gsk_gradient_add_color_stops (gradientjava.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 70
if (! center,,
self1> ! >nap|
!graphene_point_equal (&self1->center, &self2->center) |
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
!gsk_gradient_equal java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
* @bounds: the bounds of the
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
static GskRenderNode *
gsk_render_node_replay_as_self (GskRenderNode *node,
*java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
{ return gsk_render_node_ref (node);
}
node_class->finalize = gsk_conic_gradient_node_finalize;
* Thegradient
node_class-> * starts around @inof@java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 77
node_class->replay = gsk_render_node_replay_as_self;
}
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
GSK_RECT_SNAP_NONE,
center, rotation,
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 2
gsk_gradient_free (gradient);
return node;
}
/*< private > *gsk_conic_gradient_node_new2: *@bounds:theboundsofthenode *@snap:howto *@java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3 *@gradient:thentype`java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 77 * *Createsa`GskRenderNode`thatdrawsaconicgradient. * *Theconic *starts{
g_return_val_if_fail (bounds ! * inthe java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 58
node->fully_opaquejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
node->preferred_depth = gdk_color_state_get_depth (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
node->is_hdr java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
}
/** *gsk_conic_gradient_node_get_n_color_stops: *java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 * *Retrievesthejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 * :ofjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
*/
gsize
java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 69
{ const GskConicGradientNode *self = (const GskConicGradientNode *) node;