Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't listen to PS_JOIN_MASK in createPen (mono#249)
Example bytes: ```cpp BYTE rectangleWithCustomBrush[] = { /* -- Placeable Header -- */ /* Key */ 0xD7, 0xCD, 0xC6, 0x9A, /* Hmf */ 0x00, 0x00, /* Bounding Box */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, /* Inch */ 0xA0, 0x05, /* Reserved */ 0x00, 0x00, 0x00, 0x00, /* Checksum */ 0xB1, 0x52, /* -- Metafile Header -- */ /* File Type */ 0x01, 0x00, /* Header Size */ 0x09, 0x00, /* Version */ 0x00, 0x03, /* Total Size */ 0x09 + 0x08 + 0x04 + 0x07 + 0x04 + 0x07 + 0x03, 0x00, 0x00, 0x00, /* Number Objects */ 0x02, 0x00, /* Max Record Size */ 0x08, 0x00, 0x00, 0x00, /* No Parameters */ 0x00, 0x00, /* -- META_CREATEPENINDIRECT -- */ /* Size */ 0x08, 0x00, 0x00, 0x00, /* Function */ 0xFA, 0x02, /* Pen Style */ 0x00, 0x00, /* Width */ 0x3F, 0x00, 0x00, 0x00, /* ColorRef */ 0x00, 0x00, 0xFF, 0x00, /* -- META_SELECTOBJECT -- */ /* Size */ 0x04, 0x00, 0x00, 0x00, /* Function */ 0x2D, 0x01, /* Object Index */ 0x00, 0x00, /* -- META_CREATEBRUSHINDIRECT -- */ /* Size */ 0x07, 0x00, 0x00, 0x00, /* Function */ 0xFC, 0x02, /* BrushStyle */ 0x02, 0x00, /* ColorRef */ 0x00, 0xFF, 0x00, 0xFF, /* HatchStyle */ 0x04, 0x00, /* -- META_SELECTOBJECT -- */ /* Size */ 0x04, 0x00, 0x00, 0x00, /* Function */ 0x2D, 0x01, /* Object Index */ 0x01, 0x00, /* -- META_RECTANGLE -- */ /* Size */ 0x07, 0x00, 0x00, 0x00, /* Function */ 0x1B, 0x04, /* BottomRect */ 0x00, 0x08, /* RightRect */ 0x00, 0x07, /* TopRect */ 0x00, 0x03, /* LeftRect */ 0x00, 0x02, /* -- META_EOF -- */ /* Size */ 0x03, 0x00, 0x00, 0x00, /* Function */ 0x00, 0x00 }; ``` Before: https://user-images.githubusercontent.com/1275900/38079210-40d61292-3336-11e8-8670-0935e22490b3.png After: https://user-images.githubusercontent.com/1275900/38079245-57d3057c-3336-11e8-8631-69fea11a0129.png
- Loading branch information