f4ah6o/jww_parser/core does not have a README file
pub struct Arc {
base : EntityBase
center_x : Double
center_y : Double
radius : Double
start_angle : Double
arc_angle : Double
tilt_angle : Double
flatness : Double
is_full_circle : Bool
}pub struct ArcSolid {
base : EntityBase
center_x : Double
center_y : Double
radius : Double
flatness : Double
tilt_angle : Double
start_angle : Double
arc_angle : Double
solid_param : Double
color : UInt
}pub struct Block {
base : EntityBase
ref_x : Double
ref_y : Double
scale_x : Double
scale_y : Double
rotation : Double
def_number : UInt
}pub struct BlockDef {
base : EntityBase
number : UInt
is_referenced : Bool
name : String
entities : Array[Entity]
}pub struct Document {
version : UInt
memo : String
paper_size : UInt
write_layer_group : UInt
layer_groups : Array[LayerGroup]
entities : Array[Entity]
block_defs : Array[BlockDef]
embedded_images : Array[EmbeddedImage]
print_settings : PrintSettings
sunpou_settings : SunpouSettings
metadata_settings : MetadataSettings
}impl Eq for EmbeddedImageimpl Show for EmbeddedImagepub struct EntityBase {
group : UInt
pen_style : Byte
pen_color : UInt16
pen_width : UInt16
layer : UInt16
layer_group : UInt16
flag : UInt16
}impl Eq for EntityBaseimpl Show for EntityBasepub struct Image {
base : EntityBase
image_path : String
x : Double
y : Double
width : Double
height : Double
rotation : Double
}pub enum ImageFormat {
Unknown
Jpeg
Png
Bmp
Gif
}impl Eq for ImageFormatimpl Show for ImageFormatpub struct Layer {
state : UInt
protect : UInt
name : String
}impl Eq for LayerGroupimpl Show for LayerGrouppub struct Line {
base : EntityBase
start_x : Double
start_y : Double
end_x : Double
end_y : Double
}pub struct MetadataSettings {
printer_paper_size : String
draw_bmp_touka : String
view_direct2d : String
printer_bmp_zentai : String
printer_orientation : String
printer_d2d_bmp : String
}impl Eq for MetadataSettingsimpl Show for MetadataSettingspub enum ParseError {
InvalidSignature
UnsupportedVersion(UInt)
UnknownClassPid(UInt)
UnknownEntityClass(String)
UnexpectedEof
IoError(String)
Other(String)
}pub struct Point {
base : EntityBase
x : Double
y : Double
is_temporary : Bool
code : UInt
angle : Double
scale : Double
}pub struct PrintSettings {
origin_x : Double
origin_y : Double
scale : Double
rotation_setting : UInt
}impl Eq for PrintSettingsimpl Show for PrintSettingspub struct Rgb {
r : Byte
g : Byte
b : Byte
}pub struct Solid {
base : EntityBase
point1_x : Double
point1_y : Double
point2_x : Double
point2_y : Double
point3_x : Double
point3_y : Double
point4_x : Double
point4_y : Double
color : UInt
}pub struct SunpouSettings {
sunpou1 : UInt
sunpou2 : UInt
sunpou3 : UInt
sunpou4 : UInt
sunpou5 : UInt
dummy : UInt
max_line_width : UInt
}impl Eq for SunpouSettingsimpl Show for SunpouSettingspub struct Text {
base : EntityBase
start_x : Double
start_y : Double
end_x : Double
end_y : Double
text_type : UInt
size_x : Double
size_y : Double
spacing : Double
angle : Double
font_name : String
content : String
}Dependencies