David PHAM-VAN

Move implementation files to src

Showing 100 changed files with 41 additions and 39 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

@@ -14,30 +14,30 @@ @@ -14,30 +14,30 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17 -export 'src/annotation.dart';  
18 -export 'src/arabic.dart';  
19 -export 'src/border.dart';  
20 -export 'src/color.dart';  
21 -export 'src/colors.dart';  
22 -export 'src/document.dart';  
23 -export 'src/document_parser.dart';  
24 -export 'src/encryption.dart';  
25 -export 'src/exif.dart';  
26 -export 'src/font.dart';  
27 -export 'src/font_metrics.dart';  
28 -export 'src/function.dart';  
29 -export 'src/graphic_state.dart';  
30 -export 'src/graphics.dart';  
31 -export 'src/image.dart';  
32 -export 'src/info.dart';  
33 -export 'src/outline.dart';  
34 -export 'src/page.dart';  
35 -export 'src/page_format.dart';  
36 -export 'src/pattern.dart';  
37 -export 'src/point.dart';  
38 -export 'src/rect.dart';  
39 -export 'src/shading.dart';  
40 -export 'src/signature.dart';  
41 -export 'src/smask.dart';  
42 -export 'src/ttf_parser.dart';  
43 -export 'src/ttffont.dart'; 17 +export 'src/pdf/annotation.dart';
  18 +export 'src/pdf/arabic.dart';
  19 +export 'src/pdf/border.dart';
  20 +export 'src/pdf/color.dart';
  21 +export 'src/pdf/colors.dart';
  22 +export 'src/pdf/document.dart';
  23 +export 'src/pdf/document_parser.dart';
  24 +export 'src/pdf/encryption.dart';
  25 +export 'src/pdf/exif.dart';
  26 +export 'src/pdf/font.dart';
  27 +export 'src/pdf/font_metrics.dart';
  28 +export 'src/pdf/function.dart';
  29 +export 'src/pdf/graphic_state.dart';
  30 +export 'src/pdf/graphics.dart';
  31 +export 'src/pdf/image.dart';
  32 +export 'src/pdf/info.dart';
  33 +export 'src/pdf/outline.dart';
  34 +export 'src/pdf/page.dart';
  35 +export 'src/pdf/page_format.dart';
  36 +export 'src/pdf/pattern.dart';
  37 +export 'src/pdf/point.dart';
  38 +export 'src/pdf/rect.dart';
  39 +export 'src/pdf/shading.dart';
  40 +export 'src/pdf/signature.dart';
  41 +export 'src/pdf/smask.dart';
  42 +export 'src/pdf/ttf_parser.dart';
  43 +export 'src/pdf/ttffont.dart';
@@ -19,15 +19,15 @@ import 'dart:typed_data'; @@ -19,15 +19,15 @@ import 'dart:typed_data';
19 19
20 import 'package:crypto/crypto.dart'; 20 import 'package:crypto/crypto.dart';
21 21
22 -import '../io/interface.dart'  
23 - if (dart.library.io) '../io/vm.dart'  
24 - if (dart.library.js) '../io/js.dart';  
25 import 'catalog.dart'; 22 import 'catalog.dart';
26 import 'document_parser.dart'; 23 import 'document_parser.dart';
27 import 'encryption.dart'; 24 import 'encryption.dart';
28 import 'font.dart'; 25 import 'font.dart';
29 import 'graphic_state.dart'; 26 import 'graphic_state.dart';
30 import 'info.dart'; 27 import 'info.dart';
  28 +import 'io/interface.dart'
  29 + if (dart.library.io) '../io/vm.dart'
  30 + if (dart.library.js) '../io/js.dart';
31 import 'names.dart'; 31 import 'names.dart';
32 import 'object.dart'; 32 import 'object.dart';
33 import 'outline.dart'; 33 import 'outline.dart';
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 16
17 import 'dart:typed_data'; 17 import 'dart:typed_data';
18 18
19 -import 'package:pdf/src/document.dart'; 19 +import 'document.dart';
20 20
21 /// Base class for loading an existing PDF document. 21 /// Base class for loading an existing PDF document.
22 abstract class PdfDocumentParserBase { 22 abstract class PdfDocumentParserBase {
@@ -15,9 +15,9 @@ @@ -15,9 +15,9 @@
15 */ 15 */
16 16
17 import 'package:meta/meta.dart'; 17 import 'package:meta/meta.dart';
18 -import 'package:pdf/src/data_types.dart';  
19 import 'package:vector_math/vector_math_64.dart'; 18 import 'package:vector_math/vector_math_64.dart';
20 19
  20 +import 'data_types.dart';
21 import 'document.dart'; 21 import 'document.dart';
22 import 'graphic_state.dart'; 22 import 'graphic_state.dart';
23 import 'object.dart'; 23 import 'object.dart';
@@ -16,11 +16,11 @@ @@ -16,11 +16,11 @@
16 16
17 import 'package:meta/meta.dart'; 17 import 'package:meta/meta.dart';
18 import 'package:pdf/pdf.dart'; 18 import 'package:pdf/pdf.dart';
19 -import 'package:pdf/svg/painter.dart';  
20 import 'package:xml/xml.dart'; 19 import 'package:xml/xml.dart';
21 20
22 import 'color.dart'; 21 import 'color.dart';
23 import 'mask_path.dart'; 22 import 'mask_path.dart';
  23 +import 'painter.dart';
24 import 'parser.dart'; 24 import 'parser.dart';
25 25
26 enum SvgTextAnchor { start, middle, end } 26 enum SvgTextAnchor { start, middle, end }
@@ -15,11 +15,11 @@ @@ -15,11 +15,11 @@
15 */ 15 */
16 16
17 import 'package:pdf/pdf.dart'; 17 import 'package:pdf/pdf.dart';
18 -import 'package:pdf/svg/parser.dart';  
19 import 'package:pdf/widgets.dart'; 18 import 'package:pdf/widgets.dart';
20 19
21 import 'brush.dart'; 20 import 'brush.dart';
22 import 'group.dart'; 21 import 'group.dart';
  22 +import 'parser.dart';
23 23
24 class SvgPainter { 24 class SvgPainter {
25 SvgPainter( 25 SvgPainter(
@@ -14,10 +14,11 @@ @@ -14,10 +14,11 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17 -import 'package:pdf/svg/parser.dart';  
18 import 'package:vector_math/vector_math_64.dart'; 17 import 'package:vector_math/vector_math_64.dart';
19 import 'package:xml/xml.dart'; 18 import 'package:xml/xml.dart';
20 19
  20 +import 'parser.dart';
  21 +
21 class SvgTransform { 22 class SvgTransform {
22 const SvgTransform(this.matrix); 23 const SvgTransform(this.matrix);
23 24
@@ -14,7 +14,8 @@ @@ -14,7 +14,8 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17 -import '../pdf.dart'; 17 +import 'package:pdf/pdf.dart';
  18 +
18 import 'box_border.dart'; 19 import 'box_border.dart';
19 import 'geometry.dart'; 20 import 'geometry.dart';
20 21
@@ -17,11 +17,11 @@ @@ -17,11 +17,11 @@
17 import 'dart:math' as math; 17 import 'dart:math' as math;
18 18
19 import 'package:pdf/pdf.dart'; 19 import 'package:pdf/pdf.dart';
20 -import 'package:pdf/svg.dart';  
21 20
22 import 'basic.dart'; 21 import 'basic.dart';
23 import 'geometry.dart'; 22 import 'geometry.dart';
24 import 'image.dart'; 23 import 'image.dart';
  24 +import 'svg.dart';
25 import 'text.dart'; 25 import 'text.dart';
26 import 'text_style.dart'; 26 import 'text_style.dart';
27 import 'widget.dart'; 27 import 'widget.dart';
@@ -20,8 +20,8 @@ import 'package:pdf/widgets.dart'; @@ -20,8 +20,8 @@ import 'package:pdf/widgets.dart';
20 import 'package:vector_math/vector_math_64.dart'; 20 import 'package:vector_math/vector_math_64.dart';
21 import 'package:xml/xml.dart'; 21 import 'package:xml/xml.dart';
22 22
23 -import 'svg/painter.dart';  
24 -import 'svg/parser.dart'; 23 +import '../svg/painter.dart';
  24 +import '../svg/parser.dart';
25 25
26 class SvgImage extends Widget { 26 class SvgImage extends Widget {
27 factory SvgImage({ 27 factory SvgImage({