Searched refs:coord (Results 1 - 16 of 16) sorted by relevance

/haiku/src/apps/haikudepot/model/
H A DPackageScreenshotRepository.h21 virtual void ScreenshotCached(const ScreenshotCoordinate& coord) = 0;
41 status_t LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap);
42 status_t CacheAndLoadScreenshot(const ScreenshotCoordinate& coord,
45 status_t HasCachedScreenshot(const ScreenshotCoordinate& coord, bool* value);
46 status_t CacheScreenshot(const ScreenshotCoordinate& coord);
53 status_t _DownloadToLocalFile(const ScreenshotCoordinate& coord,
55 BPath _DeriveCachePath(const ScreenshotCoordinate& coord) const;
56 status_t _CreateCachedData(const ScreenshotCoordinate& coord,
H A DPackageScreenshotRepository.cpp43 PackageScreenshotRepository::LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap) argument
48 if (!coord.IsValid())
52 status_t result = _DownloadToLocalFile(coord, temporaryFilePath);
79 PackageScreenshotRepository::CacheAndLoadScreenshot(const ScreenshotCoordinate& coord, argument
85 if (!coord.IsValid())
88 CacheScreenshot(coord);
91 status_t result = _CreateCachedData(coord, &data);
103 PackageScreenshotRepository::HasCachedScreenshot(const ScreenshotCoordinate& coord, bool* value) argument
110 if (!coord.IsValid())
113 BPath path = _DeriveCachePath(coord);
134 CacheScreenshot(const ScreenshotCoordinate& coord) argument
185 _DownloadToLocalFile(const ScreenshotCoordinate& coord, const BPath& path) argument
220 _CreateCachedData(const ScreenshotCoordinate& coord, BPositionIO** data) argument
[all...]
H A DModel.h171 virtual void ScreenshotCached(const ScreenshotCoordinate& coord);
H A DModel.cpp1048 Model::ScreenshotCached(const ScreenshotCoordinate& coord) argument
1054 listener->ScreenshotCached(coord);
/haiku/src/libs/icon/flat_icon/
H A DFlatIconFormat.cpp26 read_coord(LittleEndianBuffer& buffer, float& coord) argument
33 // high bit set, the next byte is part of the coord
39 coord = (float)coordValue / 102.0 - 128.0;
41 // simple coord
42 coord = (float)value - 32.0;
49 write_coord(LittleEndianBuffer& buffer, float coord) argument
51 // clamp coord
52 if (coord < -128.0)
53 coord = -128.0;
54 if (coord > 192.
[all...]
H A DFlatIconFormat.h72 bool read_coord(LittleEndianBuffer& buffer, float& coord);
73 bool write_coord(LittleEndianBuffer& buffer, float coord);
/haiku/src/libs/glut/
H A Dglut_stroke.c21 const CoordRec *coord; local
39 for (j = stroke->num_coords, coord = stroke->coord;
40 j > 0; j--, coord++) {
41 glVertex2f(coord->x, coord->y);
H A Dglutstroke.h26 const CoordRec *coord; member in struct:__anon1827
/haiku/headers/libs/agg/
H A Dagg_span_gouraud.h132 void arrange_vertices(coord_type* coord) const
134 coord[0] = m_coord[0];
135 coord[1] = m_coord[1];
136 coord[2] = m_coord[2];
140 coord[0] = m_coord[2];
141 coord[2] = m_coord[0];
145 if(coord[0].y > coord[1].y)
147 tmp = coord[1];
148 coord[
[all...]
H A Dagg_span_gouraud_gray.h106 coord_type coord[3]; local
107 base_type::arrange_vertices(coord);
109 m_y2 = int(coord[1].y);
111 m_swap = cross_product(coord[0].x, coord[0].y,
112 coord[2].x, coord[2].y,
113 coord[1].x, coord[1].y) < 0.0;
115 m_c1.init(coord[
[all...]
H A Dagg_span_gouraud_rgba.h118 coord_type coord[3]; local
119 base_type::arrange_vertices(coord);
121 m_y2 = int(coord[1].y);
123 m_swap = cross_product(coord[0].x, coord[0].y,
124 coord[2].x, coord[2].y,
125 coord[1].x, coord[1].y) < 0.0;
127 m_rgba1.init(coord[
[all...]
H A Dagg_rasterizer_outline.h52 move_to(m_ren->coord(x), m_ren->coord(y));
58 line_to(m_ren->coord(x), m_ren->coord(y));
H A Dagg_renderer_primitives.h48 static int coord(double c) function in class:agg::renderer_primitives
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h256 float _Align(float coord, bool round,
H A DPainter.cpp1520 Painter::_Align(float coord, bool round, bool centerOffset) const argument
1524 coord = (int32)coord;
1530 coord += 0.5;
1532 return coord;
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h1463 NSVGcoordinate coord = {0, NSVG_UNITS_USER}; local
1465 coord.units = nsvg__parseUnits(nsvg__parseNumber(str, buf, 64));
1466 coord.value = nsvg__atof(buf);
1467 return coord;
1472 NSVGcoordinate coord = {v, units}; local
1473 return coord;
1478 NSVGcoordinate coord = nsvg__parseCoordinateRaw(str); local
1479 return nsvg__convertToPixels(p, coord, orig, length);

Completed in 140 milliseconds