Searched refs:cx (Results 1 - 25 of 33) sorted by relevance

12

/haiku/src/kits/interface/
H A DGradientConic.cpp17 fData.conic.cx = 0.0f;
27 fData.conic.cx = center.x;
35 BGradientConic::BGradientConic(float cx, float cy, float angle) argument
37 fData.conic.cx = cx;
48 return BPoint(fData.conic.cx, fData.conic.cy);
56 fData.conic.cx = center.x;
63 BGradientConic::SetCenter(float cx, float cy) argument
65 fData.conic.cx = cx;
[all...]
H A DGradientDiamond.cpp17 fData.diamond.cx = 0.0f;
26 fData.diamond.cx = center.x;
33 BGradientDiamond::BGradientDiamond(float cx, float cy) argument
35 fData.diamond.cx = cx;
45 return BPoint(fData.diamond.cx, fData.diamond.cy);
53 fData.diamond.cx = center.x;
60 BGradientDiamond::SetCenter(float cx, float cy) argument
62 fData.diamond.cx = cx;
[all...]
H A DGradientRadial.cpp17 fData.radial.cx = 0.0f;
27 fData.radial.cx = center.x;
35 BGradientRadial::BGradientRadial(float cx, float cy, float radius) argument
37 fData.radial.cx = cx;
48 return BPoint(fData.radial.cx, fData.radial.cy);
56 fData.radial.cx = center.x;
63 BGradientRadial::SetCenter(float cx, float cy) argument
65 fData.radial.cx = cx;
[all...]
H A DGradientRadialFocus.cpp17 fData.radial_focus.cx = 0.0f;
30 fData.radial_focus.cx = center.x;
40 BGradientRadialFocus::BGradientRadialFocus(float cx, float cy, float radius, argument
43 fData.radial_focus.cx = cx;
56 return BPoint(fData.radial_focus.cx, fData.radial_focus.cy);
64 fData.radial_focus.cx = center.x;
71 BGradientRadialFocus::SetCenter(float cx, float cy) argument
73 fData.radial_focus.cx = cx;
[all...]
H A DGradient.cpp142 if (archive->FindFloat("radial_cx", (float*)&fData.radial.cx) < B_OK)
143 fData.radial.cx = 0.0f;
150 if (archive->FindFloat("radial_f_cx", (float*)&fData.radial_focus.cx) < B_OK)
151 fData.radial_focus.cx = 0.0f;
162 if (archive->FindFloat("diamond_cx", (float*)&fData.diamond.cx) < B_OK)
163 fData.diamond.cx = 0.0f;
168 if (archive->FindFloat("conic_cx", (float*)&fData.conic.cx) < B_OK)
169 fData.conic.cx = 0.0f;
217 ret = into->AddFloat("radial_cx", (float)fData.radial.cx);
225 ret = into->AddFloat("radial_f_cx", (float)fData.radial_focus.cx);
[all...]
/haiku/headers/os/interface/
H A DGradientConic.h24 BGradientConic(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradientDiamond.h23 BGradientDiamond(float cx, float cy);
27 void SetCenter(float cx, float cy);
H A DGradientRadial.h24 BGradientRadial(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradientRadialFocus.h24 BGradientRadialFocus(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradient.h106 float cx, cy, radius; member in struct:BGradient::__anon1::__anon3
109 float cx, cy, fx, fy, radius; member in struct:BGradient::__anon1::__anon4
112 float cx, cy; member in struct:BGradient::__anon1::__anon5
115 float cx, cy, angle; member in struct:BGradient::__anon1::__anon6
/haiku/headers/private/kernel/arch/x86/32/
H A Diframe.h24 uint32 cx; member in struct:iframe
/haiku/src/system/boot/platform/bios_ia32/
H A Dshell.S79 mov $0x2, %cx // sector 2
105 /** Loads %di sectors from floppy disk, starting at head %dh, sector %cx.
108 * %ax, %cx, %dx, %bp, %di and %si will be clobbered.
114 push %cx
126 and $63, %cx // mask out max. sector number (bit 0-5)
127 mov %cx, %si // and remember it
128 pop %cx
174 add %ax, %cx // next sector start
190 sub %si, %cx
H A Dbios_asm.S229 movw SAVED_FLAGS, %cx
230 movw %cx, 26(%eax)
/haiku/src/apps/bootmanager/
H A Dbootman.S51 ; cx - count
77 ; cx - support bit mask
98 %assign READ_CLOCK 0x00 ; -> cx - high word
196 xor cx, cx
207 push cx
218 mov cx, 1
226 pop cx
315 mov [bp + cursorShape], cx
318 mov cx,
[all...]
/haiku/src/system/boot/platform/pxe_ia32/
H A Dpxe_bios.S72 pushw %cx
/haiku/headers/private/kernel/arch/x86/64/
H A Diframe.h24 uint64 cx; member in struct:iframe
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp60 void draw_ellipse(int cx, int cy, int wide, int deep, int color);
326 int32 x, y, cx,cy; local
329 cx = width/2;
346 PRINT(("cx=%d, cy=%d\n", cx,cy));
352 x = s->x = (int32)(cx + (int32)(s->timeval * s->cos_z_theta)); // 3d rotation
503 NWindowScreen::draw_ellipse(int cx, int cy, int wide, int deep, int color) argument
509 set_pixel(cx,cy,color);
525 ellipse_points(x, y, cx, cy, color);
536 ellipse_points(x, y, cx, c
556 fill_ellipse(int cx, int cy, int wide, int deep, int color) argument
[all...]
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp317 uint32 i, j, window_area, cx, cy; local
334 cx = (info->window_bounds.right+info->window_bounds.left+1)/2;
339 clipping_bound.left = info->clip_bounds.left - cx;
340 clipping_bound.right = info->clip_bounds.right - cx;
348 clipping_list[i].left = info->clip_list[i].left - cx;
349 clipping_list[i].right = info->clip_list[i].right - cx;
385 deltax = cx_old - (cx - info->window_bounds.left);
458 window_offset = row_bytes*(cy-info->window_bounds.top) + (cx-info->window_bounds.left);
514 cx_old = cx - info->window_bounds.left;
/haiku/src/apps/diskusage/
H A DPieView.cpp441 float cx = floorf(b.left + b.Width() / 2.0 + 0.5); local
461 FillEllipse(BPoint(cx, cy), kPieCenterSize, kPieCenterSize);
464 FillArc(BPoint(cx, cy), kPieCenterSize, kPieCenterSize, 0.0,
472 DrawString(label, BPoint(cx - StringWidth(label) / 2.0,
489 FillEllipse(BRect(cx - kPieCenterSize, cy - kPieCenterSize,
490 cx + kPieCenterSize + 0.5, cy + kPieCenterSize + 0.5));
500 StrokeEllipse(BPoint(cx, cy), kPieCenterSize + 0.5,
513 DrawString(label.String(), BPoint(cx - labelWidth / 2.0, cy));
533 StrokeArc(BPoint(cx, cy), radius, radius,
540 StrokeArc(BPoint(cx, c
571 float cx = b.left + b.Width() / 2.0; local
[all...]
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp38 void arc_to_bezier(double cx, double cy, double rx, double ry, argument
63 curve[i * 2] = cx + rx * (px[i] * cs - py[i] * sn);
191 // Calculate (cx, cy) from (cx1, cy1)
195 double cx = sx2 + (cos_a * cx1 - sin_a * cy1); local
239 mtx *= trans_affine_translation(cx, cy);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h396 NSVGcoordinate cx, cy, r, fx, fy; member in struct:NSVGradialData
874 float cx, cy, fx, fy, r; local
875 cx = nsvg__convertToPixels(p, data->radial.cx, ox, sw);
883 grad->xform[4] = cx; grad->xform[5] = cy;
1987 float x1, y1, x2, y2, cx, cy; local
1993 cx = *cpx + args[0];
1998 cx = args[0];
2005 cx1 = x1 + 2.0f/3.0f*(cx - x1);
2007 cx2 = x2 + 2.0f/3.0f*(cx
2021 float x1, y1, x2, y2, cx, cy; local
2071 float x1, y1, x2, y2, cx, cy, dx, dy, d; local
2372 float cx = 0.0f; local
2402 float cx = 0.0f; local
[all...]
/haiku/headers/libs/agg/
H A Dagg_bezier_arc.h30 void arc_to_bezier(double cx, double cy, double rx, double ry,
97 // (cx, cy) of the ellipse is calculated automatically to satisfy the
H A Dagg_math.h137 double cx, double cy, double dx, double dy,
140 double num = (ay-cy) * (dx-cx) - (ax-cx) * (dy-cy);
141 double den = (bx-ax) * (dy-cy) - (by-ay) * (dx-cx);
/haiku/src/bin/writembr/
H A Dmbr.S142 movw $(LOAD-EXEC-1),%cx /* In the end we have %si pointing */
151 movw $SECSIZE,%cx /* Now we walk forward and relocate. */
296 movw $0x4,%cx /* Tested entries counter (4 total) */
334 movw 0x2(%si),%cx /* Load cylinder:sector */
/haiku/src/system/kernel/arch/x86/32/
H A Dthread.cpp313 signalFrameData->context.uc_mcontext.ecx = frame->cx;
383 frame->cx = signalFrameData->context.uc_mcontext.ecx;

Completed in 250 milliseconds

12