Commit Graph

34 Commits

Author SHA1 Message Date
wp_xxyyzz
7e03ffb4f8 LazMapViewer: cosmetics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9711 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:12:54 +00:00
wp_xxyyzz
3a4e228b66 LazMapViewer: Improved output of rotated text. DrawingEngine.TextExtent now can return both unrotated and rotated text extents.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9709 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:01:32 +00:00
wp_xxyyzz
c5dd3f0862 LazMapViewer: Fix compilation in non-Windows OS. Clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 11:11:33 +00:00
wp_xxyyzz
3c65849b4b LazMapViewer: DrawingEngines support FontOrientation (issue #39116). New TMapView property POIOpacity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9707 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 00:06:14 +00:00
wp_xxyyzz
b794930352 LazMapViewer: Fix crash in qt5 due to text output in plugins (reason: incorrect text size measurement) Issue #39105
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-15 18:55:06 +00:00
wp_xxyyzz
06dcec188d LazMapViewer: Fix positioning of word-wrapped text in IntfGraphics drawing engine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 16:59:06 +00:00
wp_xxyyzz
94863c07bd LazMapViewer: Fix LazIntfImage drawing engine crashing in TextOut under Linux (issue #39083)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9524 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 15:32:09 +00:00
wp_xxyyzz
d18d02db7e LazMpaViewer: Add some comments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-05 13:30:32 +00:00
wp_xxyyzz
244c9fa2b2 LazMapViewer: Undo r9494, not usable. Scale all tiles to the size specified by global TileSize variable. Alpha-channel of RGB32BBitmap and BGRABitmap drawing engines not correct, so far. (Issue #39078).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-04 17:20:17 +00:00
wp_xxyyzz
1f22d2634b LazMapViewer: Support tile sizes other than 256x256 (experimental feature). Add OpenRailwayMap provider for 512x512 tiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-02 14:58:29 +00:00
wp_xxyyzz
aa7a12a74a LazMapViewer: Simplify selection of drawing and download engines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 15:32:55 +00:00
alpine-a110
8b67489472 LazMapViewer: Added Opacity property to the TMvIntfGraphicsDrawingEngine, TMvBGRADrawingEngine, TMapTrack, TGPSTrack.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9375 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-02 12:09:27 +00:00
wp_xxyyzz
64723e46e1 LazMapViewer: Add missing PenStyle setters/getters to the LCL DrawingEngine. Some clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-05 15:12:11 +00:00
wp_xxyyzz
9be8f8eb5e LazMapViewer: Move public TCustomDrawingEngine.DrawBitmapOT to protected section of TIntfGraphicsDrawingEngine, not needed anywhere else.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 21:44:36 +00:00
wp_xxyyzz
9fcf346d74 LazMapViewer: Improved text rendering by IntfGraphicsDrawingEngine when text color is white
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9310 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 20:36:17 +00:00
wp_xxyyzz
fb42932f2e LazMapViewer: Improved text rendering by IntfGraphicsDrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9309 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 20:23:37 +00:00
wp_xxyyzz
2f00c05ab1 LazMapViewer: Rework text drawing code in IntfGraphicsDrawingEngine for simplification and to avoid occasionally opaque text background in Linux/gtk2 although it should be transparent.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9308 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 15:22:28 +00:00
wp_xxyyzz
2b3c16e686 LazMapViewer: Fix text size calculation in intfgraphics drawingengine for qt5
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9304 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-30 19:17:37 +00:00
wp_xxyyzz
a0a6aee91f LazMapViewer: Improved drawing (PaintToCanvas with origin), fix of hang due to arithmetic error, improved cyclic drawing. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-19 17:55:12 +00:00
wp_xxyyzz
c7b2a5efda LazMapViewer: Remove drawing residues outside the map tiles. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-15 11:51:35 +00:00
wp_xxyyzz
a28a2371ee LazMapviewer: New optimization by Yuliyan Ivanov (Fixed arithmetic overflow errors for 32 bit target; Fixed ExtractISODateTime() bad ISO date handling resulting in range errors when no milliseconds; Track drawing, fixed segment disappearing when both ends invisible; Tile drawing mode implementation in addons. Tile layer objects in mvMapViewer; Tile drawing mode introduced for additional tile layers; Added TGPSObj.Visible property; DragObj as a public property; added Polyline, Polygon, PolyBezier drawing methods; Minor drawing optimisation: skip invisible part of the track)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-13 16:41:07 +00:00
wp_xxyyzz
59ed6984f4 LazMapViewer: Massive re-work of the drawing engines by Yuliyan Ivanov, issue #39063
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-02 22:00:06 +00:00
wp_xxyyzz
875a3a826d LazMapViewer: Implement zoomed preview tiles. Patch by Ekkehard Domning. Adapt drawing engines and full demo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-13 15:39:47 +00:00
wp_xxyyzz
d9eb6e9065 LazMapViewer: Introduce fast FillPixels as new drawingengine method in order to avoid using the blank tile image.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-13 11:26:22 +00:00
wp_xxyyzz
d8a7fd7717 LazMapViewer: Fix typo in TMvIntfGraphicsDrawingEngine.PaintToCanvas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 21:34:10 +00:00
wp_xxyyzz
b10c38f5d7 MavViewer: Easier usage of GpsPoint and GpsTracks. Less hints and warnings. GpxReader LoadFromFile/Stream returns the ID of the items loaded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-20 10:23:04 +00:00
wp_xxyyzz
cac83daa65 LazMapViewer: Change license to modified LGPL as discussed in https://forum.lazarus.freepascal.org/index.php/topic,49075.0.html. All authors agreed on the license change. License header added to all component files. Set version to 0.2.2 for new OPM release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-09 11:06:15 +00:00
wp_xxyyzz
a820f8ee99 LazMapViewer: Add icon for TMvBGRADrawingengine. Less hints. Preparing for release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-22 15:53:21 +00:00
wp_xxyyzz
2ba2c46cf2 LazMapViewer: Fix compilation with Laz 1.8.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-20 14:51:20 +00:00
wp_xxyyzz
1a83d68689 lazmapviewer: Better fix for crash when painting outside the buffer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-24 13:09:56 +00:00
wp_xxyyzz
7e20dce069 lazmapviewer: Fix crash when painting outside the buffer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-24 10:02:19 +00:00
wp_xxyyzz
c67022ccfa LazMapViewer: Draw Point-of-interest image. Fix drawing of transparent bitmaps. Remove LCLDrawer from demo (not working).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-21 22:00:33 +00:00
wp_xxyyzz
0bce9628fc LazMapViewer: Clean up. Consistent naming of drawing engine classes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 22:31:49 +00:00
wp_xxyyzz
1049b25f44 LazMapViewer: Add drawing engine based on RGBGraphics package. Register in palette. Add units missing from previous commits.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6925 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 21:26:38 +00:00