jean-pierre charras
01553a6bd1
FIX: add parameter to GAL::DrawCurve to control the curve to polyline conversion. Cairo supports curves, but not Opengl, that needs a conversion to polyline. This control allows optimization in conversion
2019-11-09 11:41:29 +01:00
jean-pierre charras
943858fd67
FIX: Bezier curves: replace previous algorithm to convert the curve to segments. In some cases it was not working well. Opengl was using an other algo (using the curve properties to create segments) Now only the OpenGL algo is used, with optimization to reduce the number of segments.
2019-11-09 11:41:29 +01:00
jean-pierre charras
72d1597201
DXF import: add import of DXF splines that are converted to Bezier curves.
...
Fix also a lot of bugs related to Bezier curves (S_CURVE shape in DRAW_SEGMENT class) in Pcbnew code.
Add missing code to handle these Bezier curves
2018-07-22 18:39:47 +02:00
Maciej Suminski
c960d671cd
Changed negative recursion level argument to positive
...
BEZIER_POLY::recursiveBezier() was called with negated 'level'
variable as an argument which is incorrect for an unsigned type.
2018-04-19 08:39:46 +02:00
Maciej Suminski
d4fddf1929
Fix eeschema crash when saving LIB_BEZIER objects
2017-08-22 13:29:53 +02:00
Maciej Suminski
e79f97860c
Bezier2Poly refactor
...
Before the refactor library browser display Bezier curves correctly only
once, at other times they were just straight lines or crashed the
application.
2017-05-16 17:58:09 +02:00
Wayne Stambaugh
e8362df15f
Add missing source file licenses and code policy fixes.
2014-10-19 16:20:16 -04:00
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
2012-01-22 22:33:36 -06:00
Wayne Stambaugh
7cb34aece7
Schematic component object encapsulation and Doxygen comment warning fixes.
2010-12-14 10:56:30 -05:00
charras
ed71f4b772
in bezier_curves: changed calculations like dx*dx to (double)dx * dx to avoid integer overflow in calculation
2009-06-27 07:41:16 +00:00
stambaughw
17bf24354e
Build fixes for VC8, compiler warnings fixed, and some minor wxDC zoom changes.
...
* Added modified version of FindwxWidgets.cmake to prevent manifest build and link errors
with VC8.
* Fixed ambiguous math function ( sqrt, atan, cos, etc. ) call errors when building
with MSVC.
* Moved bitmap copy bitmap source file destination to the build path to prevent source
tree pollution and library rebuilds when building on different platforms.
2009-06-26 17:24:32 +00:00
charras
cffe0cfcaa
support for bezier curves
2009-06-25 20:45:27 +00:00