MCPcopy Create free account

hub / github.com/dfyz/osm-renderer / functions

Functions284 in github.com/dfyz/osm-renderer

↓ 2 callersFunctionpoint_to_polygon_dist
(point: &PointF, polygons: &[Vec<PointF>])
src/draw/labelable.rs:296
↓ 2 callersMethodposition
(&self)
src/mapcss/token.rs:123
↓ 2 callersFunctionpostprocess_node_refs
(refs: &mut RawRefs)
src/geodata/importer.rs:334
↓ 2 callersMethodpush_away_from
(&self, other: &Point, by: f64)
src/draw/point.rs:27
↓ 2 callersMethodrasterize
(&self, rasterizer: &mut Rasterizer, scale: f64, tr: F)
src/draw/font/text_placer.rs:223
↓ 2 callersMethodread_identifier
(&mut self, start_idx: usize)
src/mapcss/token.rs:204
↓ 2 callersMethodread_number
(&mut self, mut first_ch: char)
src/mapcss/token.rs:234
↓ 2 callersMethodread_optional_token
(&mut self)
src/mapcss/parser.rs:624
↓ 2 callersFunctionread_png
(file_name: &str)
tests/test_rendering.rs:15
↓ 2 callersMethodread_string
(&mut self, start_idx: usize)
src/mapcss/token.rs:217
↓ 2 callersFunctionread_stylesheet
(base_path: &Path, file_name: &str)
src/mapcss/parser.rs:656
↓ 2 callersMethodread_zoom_level
(&mut self)
src/mapcss/token.rs:340
↓ 2 callersMethodsave
(&self, writer: &mut dyn Write)
src/geodata/saver.rs:157
↓ 2 callersFunctionsave_multipolygons
(writer: &mut dyn Write, multipolygons: &[Multipolygon], data: &mut BufferedData)
src/geodata/saver.rs:83
↓ 2 callersFunctionsave_nodes
(writer: &mut dyn Write, nodes: &[RawNode], data: &mut BufferedData)
src/geodata/saver.rs:54
↓ 2 callersFunctionsave_polygons
(writer: &mut dyn Write, polygons: &[Polygon], data: &mut BufferedData)
src/geodata/saver.rs:75
↓ 2 callersFunctionsave_tile_references
( writer: &mut dyn Write, tile_references: &TileIdToReferences, data: &mut BufferedData, )
src/geodata/saver.rs:93
↓ 2 callersFunctionsave_ways
(writer: &mut dyn Write, ways: &[RawWay], data: &mut BufferedData)
src/geodata/saver.rs:65
↓ 2 callersFunctionserve_data
(stream: &mut TcpStream, data: &[u8], content_type: &str)
src/http_server.rs:183
↓ 2 callersMethodset_label_pixel
(&mut self, x: i32, y: i32, color: &RgbaColor)
src/draw/tile_pixels.rs:131
↓ 2 callersMethodset_pixel
(&mut self, x: i32, y: i32, color: &RgbaColor)
src/draw/tile_pixels.rs:107
↓ 2 callersFunctionstart_tile
(zoom: u8)
src/perf_stats/real_impl.rs:193
↓ 2 callersMethodstyle_areas
( &self, ways: impl Iterator<Item = &'wr Way<'a>>, multipolygons: impl Iterator<Item =
src/mapcss/styler.rs:168
↓ 2 callersMethodtile_count
(&self)
src/geodata/reader.rs:231
↓ 2 callersMethodtile_ref_by_xy
(&mut self, tile_x: u32, tile_y: u32)
src/geodata/saver.rs:49
↓ 2 callersMethodto_cache_key
(&self, entity: &E, zoom: u8)
src/mapcss/style_cache.rs:68
↓ 2 callersMethodto_html
(&self)
src/perf_stats/real_impl.rs:125
↓ 2 callersMethodto_segments
(&self, entity_storages: &EntityStorages)
src/geodata/importer.rs:517
↓ 2 callersMethodwidth
(&self)
src/draw/labelable.rs:242
↓ 1 callersMethodadd
(&mut self, element: &PerfStatsElementRef)
src/perf_stats/real_impl.rs:93
↓ 1 callersMethodadd_tile_stats
(&mut self, tile_stats: TilePerfStats)
src/perf_stats/real_impl.rs:119
↓ 1 callersMethodadd_traveled_distance
(&mut self, distance: f64)
src/draw/opacity_calculator.rs:45
↓ 1 callersFunctionarea_matches
(area: &A, selector: &Selector, zoom: u8)
src/mapcss/styler.rs:501
↓ 1 callersFunctionassert_styles_eq
(our_style: &Style, josm_style: &Style)
tests/test_mapcss_styler.rs:104
↓ 1 callersMethodbump_generation
(&mut self)
src/draw/tile_pixels.rs:150
↓ 1 callersMethodbump_label_generation
(&mut self, succeeded: bool)
src/draw/tile_pixels.rs:160
↓ 1 callersMethodcache_slot
(&self)
src/mapcss/styler.rs:560
↓ 1 callersMethodcalculate
(&self, center_distance: f64, start_distance: f64)
src/draw/opacity_calculator.rs:32
↓ 1 callersFunctioncompare_png_outputs
(zoom: u8, suffix: &str)
tests/test_rendering.rs:25
↓ 1 callersFunctioncompute_segments
( half_line_width: f64, dashes: &[f64], line_cap: &Option<LineCap>, segments: &mut Vec<DashSeg
src/draw/opacity_calculator.rs:98
↓ 1 callersFunctioncompute_way_position
(points: &[Point], advance_by: f64)
src/draw/font/text_placer.rs:270
↓ 1 callersMethoddefault_z_index
(&self)
src/mapcss/styler.rs:532
↓ 1 callersMethoddimension
(&self)
src/draw/tile_pixels.rs:183
↓ 1 callersMethoddraw_areas
( &self, pixels: &mut TilePixels, areas: &[(StyledArea<'_, '_>, Arc<Style>)],
src/draw/drawer.rs:133
↓ 1 callersMethoddraw_icon
(&self, icon: &Icon, center_x: f64, center_y: f64, pixels: &mut TilePixels)
src/draw/labeler.rs:91
↓ 1 callersMethoddraw_labels
( &self, pixels: &mut TilePixels, tile: &Tile, scale: f64, areas: &[(S
src/draw/drawer.rs:221
↓ 1 callersFunctiondraw_line
Stripped-down version of Bresenham which is extremely easy to implement. See http://members.chello.at/~easyfilter/bresenham.html
src/draw/fill.rs:51
↓ 1 callersMethoddraw_quad
(&mut self, x0: f64, y0: f64, x1: f64, y1: f64, x2: f64, y2: f64)
src/draw/font/rasterizer.rs:86
↓ 1 callersMethoddraw_tile
( &self, entities: &OsmEntities<'_>, tile: &Tile, pixels: &mut TilePixels,
src/draw/drawer.rs:40
↓ 1 callersFunctiondump_summed_perf_stats_element
( current_name: &str, current_element: &SummedPerfStatsElement, depth: usize, parent_duration:
src/perf_stats/real_impl.rs:145
↓ 1 callersMethodexpect_char
(&mut self, expected_ch: char)
src/mapcss/token.rs:411
↓ 1 callersFunctionextract_canvas_fill_color
(rules: &[Rule], style_type: &StyleType)
src/mapcss/styler.rs:431
↓ 1 callersFunctionextract_path_from_stream
(stream: &mut TcpStream)
src/http_server.rs:203
↓ 1 callersFunctionextract_tile_from_path
(path: &str)
src/http_server.rs:229
↓ 1 callersFunctionfilter_polygons
(polygons: &mut Polygons)
src/draw/labelable.rs:206
↓ 1 callersMethodfinalize
(&mut self)
src/perf_stats/real_impl.rs:81
↓ 1 callersFunctionfind_next_segment
( from_pos: NodePos, search_params: &SearchParams, connections: &'a SegmentConnections, ring:
src/geodata/find_polygons.rs:158
↓ 1 callersFunctionfind_ring_from
( mut start_pos: NodePos, search_params: &SearchParams, connections: &SegmentConnections, ring
src/geodata/find_polygons.rs:178
↓ 1 callersFunctionfind_rings
( relation_id: u64, relation_segments: &[NodeDescPair], connections: &SegmentConnections, avai
src/geodata/find_polygons.rs:112
↓ 1 callersFunctionfrom_josm_style
(way_is_closed: bool, style: &str)
tests/test_mapcss_styler.rs:115
↓ 1 callersFunctionget_bounding_box
(polygon: &[PointF])
src/draw/labelable.rs:251
↓ 1 callersFunctionget_centroid
(polygon: &[PointF])
src/draw/labelable.rs:313
↓ 1 callersFunctionget_connections
(relation_segments: &[NodeDescPair])
src/geodata/find_polygons.rs:73
↓ 1 callersFunctionget_distance_in_cap
(dist: f64, segment: &DashSegment)
src/draw/opacity_calculator.rs:159
↓ 1 callersFunctionget_layer_id
(selector: &Selector)
src/mapcss/styler.rs:522
↓ 1 callersMethodget_multipolygon
(&'a self, idx: usize)
src/geodata/reader.rs:207
↓ 1 callersFunctionget_one_char_simple_token
(ch: char)
src/mapcss/token.rs:482
↓ 1 callersFunctionget_opacity_by_center_distance
(center_distance: f64, half_line_width: f64)
src/draw/opacity_calculator.rs:171
↓ 1 callersFunctionget_opacity_by_segment
(dist: f64, segment: &DashSegment)
src/draw/opacity_calculator.rs:145
↓ 1 callersMethodget_opacity_by_start_distance
(&self, start_distance: f64)
src/draw/opacity_calculator.rs:49
↓ 1 callersMethodget_str
(&self, start_pos: usize, length: usize)
src/geodata/reader.rs:392
↓ 1 callersFunctionget_tile_references
(entity_storages: &EntityStorages)
src/geodata/saver.rs:167
↓ 1 callersFunctionget_two_char_simple_token
(fst: char, snd: char)
src/mapcss/token.rs:475
↓ 1 callersMethodget_v_metrics
(&self, scale: f64)
src/draw/font/text_placer.rs:199
↓ 1 callersMethodget_way
(&'a self, idx: usize)
src/geodata/reader.rs:191
↓ 1 callersMethodget_waypoints
(&self, _: &Tile, _: f64)
src/draw/labelable.rs:21
↓ 1 callersMethodhandle_connection
(&self, path: &str, mut stream: TcpStream, state: &mut HandlerState)
src/http_server.rs:127
↓ 1 callersFunctionid_to_object_type
(id: &str)
src/mapcss/parser.rs:666
↓ 1 callersFunctionimport
(input: &Path, tmp_output: &Path, output: &Path)
src/bin/importer.rs:6
↓ 1 callersMethodimport_file
(&mut self, file_name: &str)
src/mapcss/parser.rs:267
↓ 1 callersMethodinclude_segment
(&mut self, seg: &ConnectedSegment)
src/geodata/find_polygons.rs:105
↓ 1 callersMethodinto_point_pairs
(self, tile: &'p Tile, scale: f64)
src/draw/point_pairs.rs:31
↓ 1 callersMethodlabel_with_icon
( &self, entity: &impl Labelable, style: &Style, tile: &Tile, scale: f
src/draw/labeler.rs:39
↓ 1 callersMethodlabel_with_text
( &self, entity: &E, style: &Style, tile: &Tile, scale: f64, y
src/draw/labeler.rs:70
↓ 1 callersMethodlat
(&self)
src/coords.rs:7
↓ 1 callersMethodlat
(&self)
src/geodata/importer.rs:488
↓ 1 callersMethodlon
(&self)
src/coords.rs:11
↓ 1 callersMethodlon
(&self)
src/geodata/importer.rs:492
↓ 1 callersFunctionmatches_by_tags
(entity: &E, test: &Test)
src/mapcss/styler.rs:450
↓ 1 callersMethodmatches_object_type
(&self, object_type: &ObjectType)
src/mapcss/styler.rs:536
↓ 1 callersMethodmeasure
(&self, name: impl Into<String>)
src/perf_stats/real_impl.rs:56
↓ 1 callersMethodnext_good_tile
(&self, bounds: &mut tile::TileRange, start_index: usize)
src/geodata/reader.rs:135
↓ 1 callersMethodnext_significant_char
(&mut self)
src/mapcss/token.rs:363
↓ 1 callersFunctionparse_osm_xml
(mut parser: Reader<R>)
src/geodata/importer.rs:186
↓ 1 callersFunctionparse_pbf
(input: P)
src/geodata/importer.rs:90
↓ 1 callersMethodplace
( &self, on: &E, text_style: &TextStyle, tile: &Tile, global_scale: f6
src/draw/font/text_placer.rs:24
↓ 1 callersFunctionpolylabel
A more or less line-by-line translation of https://github.com/mapnik/mapnik/blob/master/src/geometry/interior.cpp This is, in turn, a slightly modifie
src/draw/labelable.rs:125
↓ 1 callersFunctionprocess_element
( parser: &mut Reader<R>, name: &[u8], attrs: &mut Attributes, entity_storages: &mut EntitySto
src/geodata/importer.rs:231
↓ 1 callersFunctionproperty_map_to_style
( current_layer_map: &'r PropertyMap<'r>, base_layer_map: Option<&'r PropertyMap<'r>>, default_z_i
src/mapcss/styler.rs:277
↓ 1 callersMethodread_at_directive
(&mut self)
src/mapcss/token.rs:162
← previousnext →101–200 of 284, ranked by callers