Commit 2d921334 authored by Ryan LeFevre's avatar Ryan LeFevre

Parse vector stroke content

parent f82e5525
...@@ -20,6 +20,7 @@ LAYER_INFO = { ...@@ -20,6 +20,7 @@ LAYER_INFO = {
vectorMask: require('../layer_info/vector_mask.coffee') vectorMask: require('../layer_info/vector_mask.coffee')
vectorOrigination: require('../layer_info/vector_origination.coffee') vectorOrigination: require('../layer_info/vector_origination.coffee')
vectorStroke: require('../layer_info/vector_stroke.coffee') vectorStroke: require('../layer_info/vector_stroke.coffee')
vectorStrokeContent: require('../layer_info/vector_stroke_content.coffee')
} }
module.exports = module.exports =
......
LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class VectorStrokeContent extends LayerInfo
@shouldParse: (key) -> key is 'vscg'
parse: ->
@file.seek 8, true
@data = new Descriptor(@file).parse()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment