Dashed Path Rendering with Dynamic Segment Scaling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional drawing tools fail to produce visually appealing dashed paths as they do not dynamically adjust stroke and gap segments to accommodate critical path portions like corners and endpoints, and lack the ability to scale segments for a more attractive appearance.

Innovation Solution

A system and method that allow for the independent scaling of stroke and gap segments in a dashed path by dividing curves into sections, applying per-segment constraints, and using Segment Definition Lists and Segmentation Styles to determine optimal segment lengths and patterns, ensuring critical points are accurately highlighted.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If traditional drawing tools apply fixed stroke and gap segments from starting point to endpoint, then the implementation is simple and straightforward, but the visual appearance becomes unattractive and critical path portions are not properly highlighted

Engineering Contradiction:
Improveease of implementationVSAvoidvisual appeal
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent implements dynamic scaling of stroke and gap segments based on the geometric properties of curve sections. The system calculates optimal segment lengths by considering the arc length, curvature, and critical points of each curve section, allowing segments to adapt their size and position dynamically rather than applying fixed patterns throughout the entire path.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies different segment scaling factors to different curve sections based on their local characteristics. Critical path portions such as corners, intersections, and endpoints receive special treatment with adjusted segment parameters to ensure they are properly highlighted, while other sections use standard scaling. This allows each local region to have optimized visual properties.

Inventive Principle:
Principle #3Local quality

2Ease of manufacture

If stroke and gap segments are scaled uniformly across the entire path, then the implementation is simpler, but the ability to highlight critical portions and achieve variable visual appeal is lost

Engineering Contradiction:
Improvesimplicity of scalingVSAvoidability to highlight critical portions
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent divides the dashed path into multiple curve sections based on critical points such as corners, intersections, and endpoints. Each curve section is processed independently with its own scaling calculations, allowing the system to apply uniform scaling within sections while achieving variable scaling across the entire path. This segmentation enables both simplicity in implementation and adaptability to local requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent modifies the segment definition parameters (length, position, scaling factor) based on the characteristics of each curve section. By changing these parameters dynamically for different sections while maintaining the same underlying segment pattern, the system achieves versatility in highlighting critical portions without requiring completely different segment definitions for each section.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If traditional tools do not allow scaling of segments, then the segment definitions remain fixed and simple, but the dashed path cannot adapt to different curve characteristics and appears unattractive

Engineering Contradiction:
Improvecomplexity of segment definitionVSAvoidvisual appeal
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent introduces dynamic scaling factors that are calculated based on the geometric properties of each curve section. The segment definitions remain relatively simple, but their effective size and position are dynamically adjusted during rendering based on arc length, curvature, and the presence of critical points, achieving visual appeal without significantly increasing definition complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent modifies key parameters of the segment definitions (particularly length and position) based on the characteristics of the curve section being rendered. This allows the same segment definition to produce different visual results in different contexts, maintaining simplicity in the definition while achieving adaptability in the output.

Inventive Principle:
Principle #35Parameter changes

4Ease of operation

If traditional drawing tools strictly apply defined segments without adjustment, then the implementation is straightforward and consistent, but critical path portions like corners and endpoints are not properly straddled or highlighted

Engineering Contradiction:
Improveease of applicationVSAvoidprecision of critical point coverage
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent applies special processing to curve sections containing critical points such as corners, intersections, and endpoints. The system identifies these critical portions and adjusts segment placement and scaling specifically for these regions to ensure they are properly straddled or highlighted, while leaving other sections to use standard application rules.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent performs preliminary analysis of the path geometry to identify critical points and divide the path into appropriate curve sections before applying segment patterns. This preliminary action allows the system to pre-calculate optimal segment parameters for each section, ensuring critical portions are properly handled before the actual rendering process begins.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS7589730B1System and method for drawing a dashed path
Publication Date: 2009.09.15 ADOBE INC
  • US7589730B1 patent drawing
  • US7589730B1 patent drawing
  • US7589730B1 patent drawing

AI summary

A system and method for rendering or facilitating the rendering of an attractive dashed path. A dashed path comprises a pattern of alternating stroke and gap segments; different dash patterns employ different lengths of stroke and gap segments and/or repeat the segments with different frequency. A curve to be drawn with a dashed pattern is divided at critical features (e.g., endpoints, vertices, corners, cusps, intersections) into curve sections. For each curve section, the optimal number of times to repeat a dash pattern (a sequence of segments) is determined, and the optimal length of each segment is calculated, based on constraints specified in the segment's definition. The curve section is then broken into sub-curves corresponding to individual segments. After all curve sections are processed, a trailer may be added to the path, and all sub-curves of all curve sections are rendered.