mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 23:16:13 +00:00
Merge pull request #253 from EuAndreh/master
Replace RNSVGBrushConverter type with RNSVGPainter
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
// Note: This could use applyFillColor with a pattern. This could be more efficient but
|
// Note: This could use applyFillColor with a pattern. This could be more efficient but
|
||||||
// to do that, we need to calculate our own user space CTM.
|
// to do that, we need to calculate our own user space CTM.
|
||||||
|
|
||||||
- (void)paint:(CGContextRef)context opacity:(CGFloat)opacity brushConverter:(RNSVGBrushConverter *)brushConverter;
|
- (void)paint:(CGContextRef)context opacity:(CGFloat)opacity brushConverter:(RNSVGPainter *)brushConverter;
|
||||||
{
|
{
|
||||||
CGContextDrawTiledImage(context, _rect, _image);
|
CGContextDrawTiledImage(context, _rect, _image);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user