Searched refs:dx (Results 1 - 25 of 145) sorted by relevance

123456

/haiku-fatelf/headers/libs/agg/
H A Dagg_span_interpolator_persp.h113 double dx; local
116 dx = xt + delta;
118 m_trans_inv.transform(&dx, &dy);
119 dx -= x;
121 int sx1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift;
122 dx = xt;
124 m_trans_inv.transform(&dx, &dy);
125 dx -= x;
127 int sy1 = uround(subpixel_scale/sqrt(dx*d
165 double dx; local
326 double dx; local
395 double dx; local
[all...]
H A Dagg_renderer_primitives.h85 int dx = 0; local
89 dx += ei.dx();
91 m_ren->blend_pixel(x + dx, y + dy, m_line_color, cover_full);
92 m_ren->blend_pixel(x + dx, y - dy, m_line_color, cover_full);
93 m_ren->blend_pixel(x - dx, y - dy, m_line_color, cover_full);
94 m_ren->blend_pixel(x - dx, y + dy, m_line_color, cover_full);
104 int dx = 0; local
107 int dx0 = dx;
111 dx
131 int dx = 0; local
[all...]
H A Dagg_trans_lens.h38 double dx = *x - m_xc; local
40 double r = sqrt(dx * dx + dy * dy);
44 *x = m_xc + dx * m_magn;
52 *x = m_xc + dx * m;
60 *x = m_xc + dx * m;
H A Dagg_renderer_markers.h95 int dx = 0; local
98 base_type::ren().blend_pixel(x - dx, y + dy, base_type::line_color(), cover_full);
99 base_type::ren().blend_pixel(x + dx, y + dy, base_type::line_color(), cover_full);
100 base_type::ren().blend_pixel(x - dx, y - dy, base_type::line_color(), cover_full);
101 base_type::ren().blend_pixel(x + dx, y - dy, base_type::line_color(), cover_full);
103 if(dx)
105 base_type::ren().blend_hline(x-dx+1, y+dy, x+dx-1, base_type::fill_color(), cover_full);
106 base_type::ren().blend_hline(x-dx+1, y-dy, x+dx
165 int dx = 0; local
201 int dx = 0; local
237 int dx = 0; local
273 int dx = 0; local
308 int dx = 0; local
343 int dx = 0; local
378 int dx = 0; local
413 int dx = 0; local
448 int dx = 0; local
[all...]
H A Dagg_math.h59 double dx = x2-x1;
61 return sqrt(dx * dx + dy * dy);
67 double dx = x2-x1;
69 return dx * dx + dy * dy;
77 double dx = x2-x1;
79 double d = sqrt(dx * dx + dy * dy);
84 return ((x - x2) * dy - (y - y2) * dx) /
[all...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfTileOffsets.cpp103 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx)
104 if (_offsets[l][dy][dx] <= 0)
118 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx)
187 for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx)
253 isValidTile(int dx, int dy, int lx, int ly) const argument
306 operator ()(int dx, int dy, int lx, int ly) argument
339 operator ()(int dx, int dy, int l) argument
346 operator ()(int dx, int dy, int lx, int ly) const argument
379 operator ()(int dx, int dy, int l) const argument
[all...]
H A DImfTiledInputFile.h282 // dataWindowForTile(dx, dy, lx, ly) returns a 2-dimensional
284 // (dx,dy) and level number (lx, ly).
287 // (dataWindow.min.x + dx * tileXSize(),
291 // (dataWindow.min.x + (dx + 1) * tileXSize() - 1,
294 // dataWindowForTile(dx, dy, level) is a convenience function
296 // dataWindowForTile(dx, dy, level, level).
300 Imath::Box2i dataWindowForTile (int dx, int dy, int l = 0) const;
302 Imath::Box2i dataWindowForTile (int dx, int dy,
308 // readTile(dx, dy, lx, ly) reads the tile with tile
309 // coordinates (dx, d
[all...]
H A DImfTiledOutputFile.h284 // dataWindowForTile(dx, dy, lx, ly) returns a 2-dimensional
286 // (dx,dy) and level number (lx, ly).
289 // (dataWindow.min.x + dx * tileXSize(),
293 // (dataWindow.min.x + (dx + 1) * tileXSize() - 1,
296 // dataWindowForTile(dx, dy, level) is a convenience function
298 // dataWindowForTile(dx, dy, level, level).
302 Imath::Box2i dataWindowForTile (int dx, int dy,
305 Imath::Box2i dataWindowForTile (int dx, int dy,
311 // writeTile(dx, dy, lx, ly) writes the tile with tile
312 // coordinates (dx, d
[all...]
H A DImfTileOffsets.h84 Int64 & operator () (int dx, int dy, int lx, int ly);
85 Int64 & operator () (int dx, int dy, int l);
86 const Int64 & operator () (int dx, int dy, int lx, int ly) const;
87 const Int64 & operator () (int dx, int dy, int l) const;
95 bool isValidTile (int dx, int dy, int lx, int ly) const;
H A DImfTiledOutputFile.cpp129 int dx; member in struct:Imf::__anon2714::TileCoord
138 dx (xTile), dy (yTile),
151 ((dy < other.dy) || (dy == other.dy && dx < other.dx)));
160 dx == other.dx &&
333 b.dx++;
335 if (b.dx >= numXTiles[b.lx])
337 b.dx = 0;
377 b.dx
428 writeTileData(TiledOutputFile::Data *ofd, int dx, int dy, int lx, int ly, const char pixelData[], int pixelDataSize) argument
477 bufferedTileWrite(TiledOutputFile::Data *ofd, int dx, int dy, int lx, int ly, const char pixelData[], int pixelDataSize) argument
661 TileBufferTask(TaskGroup *group, TiledOutputFile::Data *ofd, int number, int dx, int dy, int lx, int ly) argument
1297 writeTile(int dx, int dy, int lx, int ly) argument
1304 writeTile(int dx, int dy, int l) argument
1406 int dx = _data->nextTileToWrite.dx; local
1580 dataWindowForTile(int dx, int dy, int l) const argument
1587 dataWindowForTile(int dx, int dy, int lx, int ly) const argument
1610 isValidTile(int dx, int dy, int lx, int ly) const argument
1667 breakTile(int dx, int dy, int lx, int ly, int offset, int length, char c) argument
[all...]
/haiku-fatelf/src/libs/agg/src/
H A Dagg_trans_warp_magnifier.cpp25 double dx = *x - m_xc; local
27 double r = sqrt(dx * dx + dy * dy);
30 *x = m_xc + dx * m_magn;
36 *x = m_xc + dx * m;
H A Dagg_line_aa_basics.cpp70 double dx = tx - l2.x1; local
72 if((int)sqrt(dx * dx + dy * dy) < line_subpixel_scale)
/haiku-fatelf/src/add-ons/screen_savers/gravity/
H A DGravitySource.cpp37 float dx = tx - x; local
41 float d = dx * dx + dy * dy + dz * dz;
43 vx += dx * 0.003f;
55 if (dx * dx + dy * dy + dz * dz < 1.0f) {
63 dx = x - p->x;
67 d = dx * dx + dy * dy + dz * dz;
69 p->vx += dx /
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A De_expf.c84 double x22, t, result, dx; local
97 dx = x - n*M_LN2;
100 t = dx + THREEp42;
102 dx -= t;
116 /* Approximate e^(dx+delta) - 1, using a second-degree polynomial,
119 x22 = (0.5000000496709180453 * dx + 1.0000001192102037084) * dx + delta;
H A Ddoasin.c28 /* Compute arcsin(x,dx,v) of double-length number (x+dx) the result */
29 /* stored in v where v= v[0]+v[1] =arcsin(x+dx) */
38 /* Compute arcsin(x,dx,v) of double-length number (x+dx) the result */
39 /* stored in v where v= v[0]+v[1] =arcsin(x+dx) */
41 void __doasin(double x, double dx, double v[]) { argument
59 xx = x*x+2.0*x*dx;
63 MUL2(x,dx,x,dx,
[all...]
/haiku-fatelf/src/kits/interface/
H A DRect.cpp57 BRect::InsetBy(float dx, float dy) argument
59 left += dx;
60 right -= dx;
75 BRect::InsetBySelf(float dx, float dy) argument
77 InsetBy(dx, dy);
92 BRect::InsetByCopy(float dx, float dy) const argument
95 copy.InsetBy(dx, dy);
111 BRect::OffsetBy(float dx, float dy) argument
113 left += dx;
114 right += dx;
129 OffsetBySelf(float dx, float dy) argument
146 OffsetByCopy(float dx, float dy) const argument
183 OffsetToSelf(float dx, float dy) argument
200 OffsetToCopy(float dx, float dy) const argument
287 InsetByCopy__5BRectff(BRect* self, float dx, float dy) argument
305 OffsetByCopy__5BRectff(BRect* self, float dx, float dy) argument
323 OffsetToCopy__5BRectff(BRect* self, float dx, float dy) argument
345 _ZN5BRect11InsetByCopyEff(BRect* self, float dx, float dy) argument
363 _ZN5BRect12OffsetByCopyEff(BRect* self, float dx, float dy) argument
381 _ZN5BRect12OffsetToCopyEff(BRect* self, float dx, float dy) argument
[all...]
/haiku-fatelf/src/servers/app/
H A DIntRect.cpp58 IntRect::InsetBy(int32 dx, int32 dy) argument
60 left += dx;
61 right -= dx;
76 IntRect::InsetBySelf(int32 dx, int32 dy) argument
78 InsetBy(dx, dy);
93 IntRect::InsetByCopy(int32 dx, int32 dy) argument
96 copy.InsetBy(dx, dy);
112 IntRect::OffsetBy(int32 dx, int32 dy) argument
114 left += dx;
115 right += dx;
130 OffsetBySelf(int32 dx, int32 dy) argument
147 OffsetByCopy(int32 dx, int32 dy) argument
184 OffsetToSelf(int32 dx, int32 dy) argument
201 OffsetToCopy(int32 dx, int32 dy) argument
[all...]
/haiku-fatelf/src/tests/servers/app/newClipping/
H A DLayer.h21 void MoveBy(float dx, float dy);
22 void ResizeBy(float dx, float dy);
23 void ScrollBy(float dx, float dy);
32 virtual void MovedByHook(float dx, float dy) { } argument
33 virtual void ResizedByHook(float dx, float dy, bool automatic) { } argument
34 virtual void ScrolledByHook(float dx, float dy) { } argument
75 void rezize_layer_redraw_more(BRegion &reg, float dx, float dy);
76 void resize_layer_full_update_on_resize(BRegion &reg, float dx, float dy);
H A DWinBorder.h11 virtual void MovedByHook(float dx, float dy);
12 virtual void ResizedByHook(float dx, float dy, bool automatic);
H A DLayer.cpp254 float dx, dy; local
256 dx = newFrame.Width() - fFrame.Width();
261 if (dx != 0.0f || dy != 0.0f) {
263 ResizedByHook(dx, dy, true); // automatic
266 lay->resize_layer_frame_by(dx, dy);
269 MovedByHook(dx, dy);
274 Layer::rezize_layer_redraw_more(BRegion &reg, float dx, float dy) argument
276 if (dx == 0 && dy == 0)
291 oldBounds.right -=dx;
307 (rm & 0x0F0F) == (uint16)B_FOLLOW_LEFT_RIGHT? dx
325 resize_layer_full_update_on_resize(BRegion &reg, float dx, float dy) argument
345 ResizeBy(float dx, float dy) argument
407 MoveBy(float dx, float dy) argument
457 ScrollBy(float dx, float dy) argument
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_overlay.c134 int sx, sy, dx, dy; local
162 for (dx = dmincol, sx = smincol; dx <= dmaxcol; sx++, dx++) {
165 (!CharEq(dst->_line[dy].text[dx], src->_line[sy].text[sx]))) {
166 dst->_line[dy].text[dx] = src->_line[sy].text[sx];
167 SetAttr(dst->_line[dy].text[dx],
172 if (!CharEq(dst->_line[dy].text[dx], src->_line[sy].text[sx])) {
173 dst->_line[dy].text[dx] = src->_line[sy].text[sx];
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dpi.h58 int dx, dy; member in struct:opj_pi_comp
97 int x, y, dx, dy; member in struct:opj_pi_iterator
/haiku-fatelf/src/system/boot/platform/pxe_ia32/
H A Dpxe_bios.S68 andw $0xf, %dx
69 pushw %dx
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_tile.c41 uint32 dx = td->td_tilewidth; local
48 if (dx == (uint32) -1)
49 dx = td->td_imagewidth;
54 if (dx != 0 && dy != 0 && dz != 0) {
55 uint32 xpt = TIFFhowmany(td->td_imagewidth, dx);
63 x/dx;
65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx + s;
110 uint32 dx = td->td_tilewidth; local
115 if (dx == (uint32) -1)
116 dx
[all...]
/haiku-fatelf/src/libs/tiff/
H A Dtif_tile.c71 uint32 dx = td->td_tilewidth; local
78 if (dx == (uint32) -1)
79 dx = td->td_imagewidth;
84 if (dx != 0 && dy != 0 && dz != 0) {
85 uint32 xpt = TIFFhowmany(td->td_imagewidth, dx);
93 x/dx;
95 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx;
148 uint32 dx = td->td_tilewidth; local
153 if (dx == (uint32) -1)
154 dx
[all...]

Completed in 197 milliseconds

123456